Getting the best of both worlds: OSGi & Java EE together
OSGi defines a module system and service platform for the Java language. GlassFish is the Java EE 6 Reference Implementation and uses an OSGi kernel to create a light-weight and modular Application Server. There is a lot of activity in the Enterprise Expert Group of OSGi about use of OSGi in enterprise Java environment. GlassFish is a container for standard Java EE applications and also supports what is called a "hybrid application". A hybrid application is a Java EE application as well as an OSGi bundle. It allows application components such as Servlets, EJBs to take full advantage of:
- Features such as modularity/dependency management, service dynamism, etc. provided by OSGi service platform.
- Services such as transaction management, security, persistence, etc. offered by the Java EE platform.
This presentation will provide:
- A short introduction to OSGi
- Explain how OSGi is used in GlassFish to provide a modular and light-weight App server
- Different ways to manage the OSGi runtime in GlassFish
- Change the default Felix runtime in GlassFish to Equinox or Knopflerfish
- Create a simple OSGi application using CLI and IDEs and deploy in GlassFish
- Create a OSGi + Java EE hybrid application and show/discuss the benefits of such an application
About Arun Gupta
Arun Gupta is a Java EE & GlassFish Evangelist working at Oracle. Arun has over 14 years of experience in the software industry working in various technologies, Java(TM) platform, and several web-related technologies. In his current role, he works very closely to create and foster the community around Java EE & GlassFish. He has participated in several standard bodies and worked amicably with members from other companies. He has been with the Java EE team since it’s inception. And since then he has contibuted to all Java EE releases.
He is a prolific blogger at http://blogs.sun.com/arungupta with over 1000 blog entries and frequent visitors from all over the world reaching up to 25,000 hits/day.
More About Arun »