Workshop OSGI PPT
Upcoming SlideShare
Loading in...5
×
 

Workshop OSGI PPT

on

  • 6,656 views

j2ee,osgi,rcp,eclipse,spring osgi,spring dm

j2ee,osgi,rcp,eclipse,spring osgi,spring dm

Statistics

Views

Total Views
6,656
Views on SlideShare
2,046
Embed Views
4,610

Actions

Likes
3
Downloads
9
Comments
0

14 Embeds 4,610

http://marketplace.eclipse.org 2869
http://www.suntodo.com 1586
http://archpriesthood.rssing.com 94
http://www.chnsoa.com 32
http://feeds.feedburner.com 9
http://chnsoa.com 4
http://www.slashdocs.com 4
http://127.0.0.1 3
http://www.docshut.com 3
http://translate.googleusercontent.com 2
http://cache.baidu.com 1
http://d7marketplace.localhost 1
http://marketplaced7.eclipse.org 1
http://marketplace1.eclipse.org 1
More...

Accessibility

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Workshop OSGI PPT Workshop OSGI PPT Presentation Transcript

  • Workshop Java Project Workshop J2EE • Code reuse • Cross-database • Loosely coupled • Cross-platform RCPPlugin Workshop Base Osgi Bundle Workshop Workshop RCP J2EE OSGI Developer: LuYang Email: gmluyang@gmail.com
  • 1 【J2EE Structure】 1 Workshop J2EE2 【Maven Structure】3 【 Static Depend 】4 【Module Source】5 【Module View】6 【Web Deploy】
  • Workshop J2EE 1.1J2EE StructureWorkshop Web Projects Workshop Module Projects RBAC Layout Help Log ……Workshop System Projects Install Security Index Login ……Workshop Core MVC Persist Query Cache Log …...Spring Spring Framework
  • Workshop J2EE 1.2 Maven Structure Core Module RootCore System Module Web App MVC Install RBAC Workshop Persist Admin Layout Query Index Metadata System Cache Security Help Log …… Schema …… …… Web App
  • Workshop J2EE 1.3.1Static Depend - POM Project Depend based on Web App Project Maven POM Maven POM Master Web App Maven Web Project Slave SlaveModule 1 Module N Maven Project Maven Project
  • Workshop J2EE 1.3.2Static Depend - JAR Import package path Core JAR 1 Import package path Import package path System Core JAR Jar 1 N Import package path Import package path Module Module Jar 1 Jar N
  • Workshop J2EE 1.3.3Static Depend - Web Module Jar 1…N lib Third Jar 1…N WEB-INF JSP Module View 1…N Web App View Velocity Public View Resources Freemarker Public JavaScript JavaScript Resources Resources CSS Public CSS Resources Public Image Images Resources
  • Workshop J2EE 1.4Module Source Workshop IDE Module Source is deployed in the Java Project • Module Sources • Domain • Controller • Dao API • Dao IMPL • Service API • Service IMPL • Spring XML
  • Workshop J2EE 1.5Module View Workshop IDE Module Views is deployed in the WEB-INF • Module Views • Form • Cond
  • 1.6 Workshop J2EEWeb Deploy
  • 1 【Module Structure】 2 Workshop J2EE OSGI2 【Maven Structure】3 【Dynamic Depend 】4 【Module Source】5 【Module View】6 【Web Demo】
  • Workshop J2EE OSGI 2.1Module StructureWorkshop OSGI Web Apps Workshop OSGI Module Projects RBAC Layout Help Log ……Workshop OSGISystem Projects Install Security Index Login ……Workshop OSGICore Projects MVC Persist Query Cache Log …...Spring Spring Framework Spring DM
  • Workshop J2EE OSGI 2.2 Maven Structure Core Module RootCore System Module OSGI Web App MVC Install RBAC Catalina Workshop Persist Admin Layout Console Query Index Metadata Velocity Cache Security Help …… System Log …… Schema …… …… OSGI Web App
  • Workshop J2EE OSGI 2.3.1Dynamic Depend - POM Project Depend based on Web App Project Maven POM Maven POM Master Web App Maven Web Project Slave SlaveModule 1 Module N Maven Project Maven Project
  • Workshop J2EE OSGI 2.3.2Dynamic Depend-Plugin Bundle- Third Bundle- Class Path Jars Class PathExport- Plugin Require- Import- Plugin Require-Package 1 Bundle Package Bundle N Import- Export- Package Package
  • Workshop J2EE OSGI 2.3.3Dynamic Depend - MANIFESTRequire- Import- Bundle Package
  • Workshop J2EE OSGI 2.3.4Dynamic Depend - Exported Export- Package
  • Workshop J2EE OSGI 2.3.5Dynamic Depend - Classpath Third Jars
  • Workshop J2EE 2.3.6Dynamic Depend – Web Master Module Jar 1…N lib Third Jar 1…N WEB-INF Web Master Plugin JSP Module View 1…N View resources Velocity Public View Resources Freemarker Public JavaScript JavaScript Resources Resources CSS Public CSS Resources Public Image Images Resources
  • Workshop J2EE 2.3.7Dynamic Depend – Slave Plugin Spring bean/OSGI xml Private View META-INF Slave Plugin Resources MANIFEST.MF src/main/java src src/test/java src/main/Resource
  • Workshop J2EE OSGI 2.3.8Dynamic Depend - OSGI Master Web App OSGI Bundle OSGI Bundle 1 OSGI Bundle… OSGI Bundle N osgi:service osgi:service osgi:service osgi:reference osgi:reference osgi:reference
  • Workshop J2EE 2.4Module Source Workshop IDE Module Source is deployed in the Java Project • Module Sources • Domain • Controller • Dao API • Dao IMPL • Service API • Service IMPL • Spring XML • META-INF • spring bean xml • spring osgi:service or osgi:reference xml
  • Workshop J2EE 2.5Module View Private View Public Web Resources Resources Public View Resources
  • Workshop J2EE 2.6.1Web Deployjava -jar eclipse/org.eclipse.osgi.jareclipse.ignoreApp=trueosgi.noShutdown=trueosgi.console=osgi.clean=true../workshop/com.sixsun.workshop.core.cache-1.0.0.jar@start,../workshop/com.sixsun.workshop.core.config-1.0.0.jar@start,../workshop/com.sixsun.workshop.core.log-1.0.0.jar@start,../workshop/com.sixsun.workshop.core.persist-1.0.0.jar@start,../workshop/com.sixsun.workshop.core.query-1.0.0.jar@start,../workshop/com.sixsun.workshop.module.category-1.0.0.jar@start,……../workshop/com.sixsun.workshop.system.login-1.0.0.jar@start,……../workshop/com.sixsun.workshop.dm.console-1.0.0.jar@start,../workshop/com.sixsun.workshop.web.app-1.0.0.war@start
  • 2.6.2 Workshop J2EEWeb Deploy
  • 2.6.3 Workshop J2EEOSIG Console
  • 1 Workshop RCP OSGI 【RCP Application Structure】 32 【Plugin Structure】3 【 Upgrade 】4 【Plugin Install】5 【Plugins】6 【RCP Demo】
  • Workshop RCP OSGI 3.1RCP Application Structure Workshop Web Projects Workshop Module UI Plugin RBAC Code Log …… Workshop System Plugin Install security Login …… Workshop Core Plugin Persist Query Cache …… Workshop RCP Framework My JFace/SWT RCP Controller ... Spring Spring Framework Spring DM Eclipse Workbench JFace SWT Equinox/OSGI
  • Workshop RCP OSGI 3.2 Plugin Structure RCP App Module RootCore System Module RCP App GEF Core Persist Install RBAC Workshop Query Admin Layout Help Cache Index Metadata Log Security …… System …… ……
  • Workshop RCP OSGI 3.3UpgradeWorkshop J2EE Workshop J2EE Workshop RCP OSGI OSGI • JAVA Jars • OSGI Bundle • RCP Plugin Wrap Wrap JAVA Jars OSGI Bundle Cross-database Oracle, MySQL,DB2,Syb Code reuse ase,SQLServer… Cross-platforms J2EE,J2EE J2EE,J2EE OSGI,RCP OSGI,RCP OSGI OSGI
  • Workshop RCP OSGI 3.4Install Product
  • Workshop RCP OSGI 3.5Plugin-ins
  • 3.6 Workshop RCPRCP Demo
  • 1 Workshop Integration 【Hibernate Integration】 42 【Velocity Integration】3 【 Database Integration】4 【Connection Pool Integration】4 【How to develop a J2EE OSGI Bundle?】4 【How to develop an RCP Plugin? 】
  • 4.1 Workshop IntegrationHibernate Integration WorkshopHibernate Bundle ExtensionBundleAnnotationSessionFactoryBean
  • 4.2 Workshop IntegrationVelocity IntegrationWorkshop Velocity Bundle ExtensionBundleResourceLo ader
  • Workshop Integration 4.3Database Integration DB2 Bundle Other MySQL Bundle Bundle Persist Bundle SQL Oracle Server Bundle Bundle Sybase Bundle
  • Workshop Integration 4.4Connection Pool Integration DBCP Bundle Other Proxool Bundle Bundle Persist Bundle JNDI C3P0 Bundle Bundle
  • Workshop Integration 4.5How to develop a OSGI Bundle Extension Plugin Install • DatabaseWorkshop J2EE DM install/uninstall Plugin Bundle so easy • Plugin Logo Extension • Plugin Menu • Plugin details
  • Workshop Integration 4.6How to develop an RCP plug-in Extension Plugin Install • DatabaseWorkshop RCP DM install/uninstall Plugin Bundle so easy • Plugin Logo Extension • Plugin Menu • Plugin details
  • Workshop Finish 5 Thanks ! http://www.suntodo.com