08448380779 Call Girls In Greater Kailash - I Women Seeking Men
Developing modular applications with Java EE 6 and Enterprise OSGi + WebSphere V8.5 Liberty Profile
1. Developing modular
applications with Java EE 6 and
Enterprise OSGi
...and WebSphere V8.5 Liberty Profile
Jacek Laskowski
jacek@japila.pl
@JacekLaskowski
wersja 1.0, Riga, Latvia, 29.11.2012
2. About me
• Java EE, OSGi and functional programming (Clojure, F# and Scala)
enthusiast
• Founder and leader of Warszawa Java User Group
• Javarsovia, Confitura, warsjawa conference team member
• Blogger of http://JacekLaskowski.pl
• Blogger of http://blog.japila.pl
• @JacekLaskowski
• Member of Apache Software Foundation
• Apache OpenEJB and TomEE committer
• Member of IBM Academy of Technology
• IBMer in World-wide WebSphere Competitive Migration Team
4. OSGi Blueprint defines a dependency
injection framework, specifically for OSGi bundles,
that understands the unique dynamic nature of services.
Bundles in this programming model contain a number of
XML definition resources which are used by the Blueprint
Container to wire the application together and start it when
the bundle is active.
OSGi Service Platform Release 4,Version 4.2 page 193
@JacekLaskowski
7. OSGi Blueprint
• Dependency injection framework for OSGi bundles
• Programming model
@JacekLaskowski
8. OSGi Blueprint
• Dependency injection framework for OSGi bundles
• Programming model
• XML to define constituents
@JacekLaskowski
9. OSGi Blueprint
• Dependency injection framework for OSGi bundles
• Programming model
• XML to define constituents
• Enterprise OSGi == OSGi Blueprint
@JacekLaskowski
10. OSGi Blueprint
• Dependency injection framework for OSGi bundles
• Programming model
• XML to define constituents
• Enterprise OSGi == OSGi Blueprint
• For this presentation only
@JacekLaskowski
11. Blueprint bundle
A bundle is a Blueprint bundle if
it contains one or more blueprint XML definition
resources
in the OSGI-INF/blueprint directory or
it contains the Bundle-Blueprint manifest header
referring to existing resources.
@JacekLaskowski
13. Problems (to be?) solved
How can
you know
the type
exists?
(visibility)
@JacekLaskowski
14. Problems (to be?) solved
How can
you know
the type
exists?
(visibility)
What
about the
available
methods?
(versioning)
@JacekLaskowski
15. Problems (to be?) solved
How can
you know
the type
exists?
(visibility) How are
the parts
integrated?
What
about the
available
methods?
(versioning)
@JacekLaskowski
19. Open questions
• Difference between Maven and OSGi Blueprint
@JacekLaskowski
20. Open questions
• Difference between Maven and OSGi Blueprint
• build-time vs runtime
@JacekLaskowski
21. Open questions
• Difference between Maven and OSGi Blueprint
• build-time vs runtime
• Maven brings the libs to the app and bundles them
@JacekLaskowski
22. Open questions
• Difference between Maven and OSGi Blueprint
• build-time vs runtime
• Maven brings the libs to the app and bundles them
• Do you need to include the libs inside the app if they’re available at
runtime?
@JacekLaskowski