EclipseCon 2011-Gemini JPA

2,512 views

Published on

Slides for Gemini JPA section of EclipseCon 2011 Gemini tutorial.

note: SlideShare seems to have had trouble with the Open Office graphics

Published in: Technology
  • Be the first to comment

  • Be the first to like this

EclipseCon 2011-Gemini JPA

  1. 1. <ul>Gemini JPA </ul>
  2. 2. Gemini JPA <ul><li>Code to provide support for the OSGi JPA Service
  3. 3. Library can be used by other providers to more quickly be able to implement the spec
  4. 4. Provides support for EclipseLink provider
  5. 5. EclipseLink has supported OSGi for 2 years but Gemini provides spec compliant usage
  6. 6. Innovation in areas that spec does not cover </li></ul>
  7. 7. <ul>'Comics' Entity Manager Factory Service? </ul><ul>Client Bundle </ul><ul>Persistence Bundle </ul>
  8. 8. <ul>'Comics' Entity Manager Factory Service? </ul><ul>Client Bundle </ul><ul>Persistence Bundle </ul>
  9. 9. <ul>JPA Provider Bundle Started </ul><ul>'Comics' Entity Manager Factory Service? </ul><ul>Client Bundle </ul><ul>Persistence Bundle </ul><ul>JPA Provider Bundle </ul>
  10. 10. <ul>Detect & Process Persistence Descriptor </ul><ul>'Comics' Entity Manager Factory Service? </ul><ul>Client Bundle </ul><ul>Persistence Bundle </ul><ul>JPA Provider Bundle </ul>
  11. 11. <ul>'Comics' Entity Manager Factory Service? </ul><ul>'Comics' PU with required data source declared </ul><ul>Client Bundle </ul><ul>Persistence Bundle </ul><ul>JPA Provider Bundle </ul>
  12. 12. <ul>'Comics' Entity Manager Factory Service? </ul><ul>JDBC Data Source for 'Comics' PU? </ul><ul>Client Bundle </ul><ul>Persistence Bundle </ul><ul>JPA Provider Bundle </ul>
  13. 13. <ul>'Comics' Entity Manager Factory Service? </ul><ul>JDBC Data Source for 'Comics' PU? </ul><ul>Client Bundle </ul><ul>Persistence Bundle </ul><ul>JPA Provider Bundle </ul>
  14. 14. <ul>'Comics' Entity Manager Factory Service? </ul><ul>JDBC Data Source for 'Comics' PU? </ul><ul>JDBC Driver Bundle Started </ul><ul>JDBC Provider Bundle </ul><ul>Client Bundle </ul><ul>Persistence Bundle </ul><ul>JPA Provider Bundle </ul>
  15. 15. <ul>JDBC Data Source Service </ul><ul>'Comics' Entity Manager Factory Service? </ul><ul>JDBC Data Source for 'Comics' PU? </ul><ul>Data Source Service Published </ul><ul>JDBC Provider Bundle </ul><ul>Client Bundle </ul><ul>Persistence Bundle </ul><ul>JPA Provider Bundle </ul>
  16. 16. <ul>JDBC Data Source Service </ul><ul>'Comics' Entity Manager Factory Service? </ul><ul>JDBC Data Source for 'Comics' PU? </ul><ul>JDBC Provider Bundle </ul><ul>Client Bundle </ul><ul>Persistence Bundle </ul><ul>JPA Provider Bundle </ul>
  17. 17. <ul>'Comics' Entity Manager Factory Service? </ul><ul>JDBC Data Source Service </ul><ul>'Comics' Entity Manager Factory Service </ul><ul>Entity Manager Factory Service Published </ul><ul>Client Bundle </ul><ul>Persistence Bundle </ul><ul>JPA Provider Bundle </ul><ul>JDBC Provider Bundle </ul>
  18. 18. <ul>'Comics' Entity Manager Factory Service? </ul><ul>JDBC Data Source Service </ul><ul>'Comics' Entity Manager Factory Service </ul><ul>Client Bundle </ul><ul>Persistence Bundle </ul><ul>JPA Provider Bundle </ul><ul>JDBC Provider Bundle </ul>
  19. 19. <ul>JDBC Data Source Service </ul><ul>'Comics' Entity Manager Factory Service </ul><ul>Obtain Entity Manager from service </ul><ul>Client Bundle </ul><ul>Persistence Bundle </ul><ul>JPA Provider Bundle </ul><ul>JDBC Provider Bundle </ul>

×