Getting the best of both worlds: OSGi & Java EE together
Über Conf
Denver · June 14 - 17, 2010
About this Presentation
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

Director of Developer Advocacy at Red Hat
Arun Gupta is Director of Developer Advocacy at Red Hat and focuses on JBoss Middleware. As a founding member of the Java EE team at Sun Microsystems, he spread the love for technology all around the world. At Oracle, he led a cross-functional team to drive the global launch of the Java EE 7 platform through strategy, planning, and execution of content, marketing campaigns, and program. He is a prolific blogger since 2005 and have authored 1500+ blogs on technology. Arun has extensive speaking experience in ~40 countries on myriad topics and is a JavaOne Rockstar. He also founded the Devoxx4Kids chapter in the USA and continues to promoting technology education amongst kids. An author of a best-selling book, an avid runner, a globe trotter, a Java Champion, JUG leader, he is easily accessible at @arungupta.