Your SlideShare is downloading. ×
0
Workshop          Java         Project                           Workshop                             J2EE                ...
1   【J2EE Structure】                            1                Workshop J2EE2   【Maven Structure】3   【 Static Depend 】4 ...
Workshop J2EE                               1.1J2EE StructureWorkshop Web Projects Workshop Module Projects               ...
Workshop J2EE                                               1.2  Maven Structure                                          ...
Workshop J2EE                         1.3.1Static Depend - POM    Project Depend based on                Web App Project  ...
Workshop J2EE                           1.3.2Static Depend - JAR                       Import package path                ...
Workshop J2EE                     1.3.3Static Depend - Web                                       Module Jar 1…N           ...
Workshop J2EE     1.4Module Source                            Workshop IDE             Module Source is deployed in the Ja...
Workshop J2EE       1.5Module View                          Workshop IDE            Module Views is deployed in the WEB-IN...
1.6    Workshop J2EEWeb Deploy
1   【Module Structure】                           2          Workshop J2EE OSGI2   【Maven Structure】3   【Dynamic Depend 】4 ...
Workshop J2EE OSGI                                  2.1Module StructureWorkshop OSGI Web Apps Workshop OSGI Module Project...
Workshop J2EE OSGI                                                             2.2        Maven Structure                 ...
Workshop J2EE OSGI                       2.3.1Dynamic Depend - POM    Project Depend based on               Web App Projec...
Workshop J2EE OSGI                          2.3.2Dynamic Depend-Plugin           Bundle-                Third             ...
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                                         ...
Workshop J2EE               2.3.7Dynamic Depend – Slave Plugin                               Spring bean/OSGI             ...
Workshop J2EE OSGI                       2.3.8Dynamic Depend - OSGI                  Master Web App OSGI Bundle OSGI Bundl...
Workshop J2EE        2.4Module Source                              Workshop IDE             Module Source is deployed in t...
Workshop J2EE     2.5Module View                        Private View         Public Web     Resources         Resources   ...
Workshop J2EE                          2.6.1Web Deployjava -jar eclipse/org.eclipse.osgi.jareclipse.ignoreApp=trueosgi.noS...
2.6.2  Workshop J2EEWeb Deploy
2.6.3  Workshop J2EEOSIG Console
1           Workshop RCP OSGI    【RCP Application Structure】                                  32   【Plugin Structure】3   【...
Workshop RCP OSGI                                      3.1RCP Application Structure Workshop Web Projects  Workshop Module...
Workshop RCP OSGI                                             3.2       Plugin Structure                                  ...
Workshop RCP OSGI                 3.3UpgradeWorkshop J2EE    Workshop J2EE      Workshop RCP                 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 Integr...
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              My...
Workshop Integration             4.4Connection Pool Integration                     DBCP                     Bundle       ...
Workshop Integration       4.5How to develop a OSGI Bundle                                    Extension                   ...
Workshop Integration      4.6How to develop an RCP plug-in                                   Extension                    ...
Workshop Finish              5   Thanks                    !    http://www.suntodo.com
Upcoming SlideShare
Loading in...5
×

Workshop OSGI PPT

6,627

Published on

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

Published in: Technology, Education
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
6,627
On Slideshare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
17
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide

Transcript of "Workshop OSGI PPT"

  1. 1. 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
  2. 2. 1 【J2EE Structure】 1 Workshop J2EE2 【Maven Structure】3 【 Static Depend 】4 【Module Source】5 【Module View】6 【Web Deploy】
  3. 3. 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
  4. 4. 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
  5. 5. 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
  6. 6. 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
  7. 7. 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
  8. 8. 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
  9. 9. Workshop J2EE 1.5Module View Workshop IDE Module Views is deployed in the WEB-INF • Module Views • Form • Cond
  10. 10. 1.6 Workshop J2EEWeb Deploy
  11. 11. 1 【Module Structure】 2 Workshop J2EE OSGI2 【Maven Structure】3 【Dynamic Depend 】4 【Module Source】5 【Module View】6 【Web Demo】
  12. 12. 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
  13. 13. 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
  14. 14. 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
  15. 15. 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
  16. 16. Workshop J2EE OSGI 2.3.3Dynamic Depend - MANIFESTRequire- Import- Bundle Package
  17. 17. Workshop J2EE OSGI 2.3.4Dynamic Depend - Exported Export- Package
  18. 18. Workshop J2EE OSGI 2.3.5Dynamic Depend - Classpath Third Jars
  19. 19. 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
  20. 20. 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
  21. 21. 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
  22. 22. 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
  23. 23. Workshop J2EE 2.5Module View Private View Public Web Resources Resources Public View Resources
  24. 24. 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
  25. 25. 2.6.2 Workshop J2EEWeb Deploy
  26. 26. 2.6.3 Workshop J2EEOSIG Console
  27. 27. 1 Workshop RCP OSGI 【RCP Application Structure】 32 【Plugin Structure】3 【 Upgrade 】4 【Plugin Install】5 【Plugins】6 【RCP Demo】
  28. 28. 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
  29. 29. 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 …… ……
  30. 30. 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
  31. 31. Workshop RCP OSGI 3.4Install Product
  32. 32. Workshop RCP OSGI 3.5Plugin-ins
  33. 33. 3.6 Workshop RCPRCP Demo
  34. 34. 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? 】
  35. 35. 4.1 Workshop IntegrationHibernate Integration WorkshopHibernate Bundle ExtensionBundleAnnotationSessionFactoryBean
  36. 36. 4.2 Workshop IntegrationVelocity IntegrationWorkshop Velocity Bundle ExtensionBundleResourceLo ader
  37. 37. Workshop Integration 4.3Database Integration DB2 Bundle Other MySQL Bundle Bundle Persist Bundle SQL Oracle Server Bundle Bundle Sybase Bundle
  38. 38. Workshop Integration 4.4Connection Pool Integration DBCP Bundle Other Proxool Bundle Bundle Persist Bundle JNDI C3P0 Bundle Bundle
  39. 39. 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
  40. 40. 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
  41. 41. Workshop Finish 5 Thanks ! http://www.suntodo.com
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×