Thursday Apr 01, 2010

GlassFish and OSGi (and Sahoo) at EclipseCon

Sahoo on GlassFish & OSGi at EclipseCon 2010

As most of our frequent readers will know, GlassFish 3 is both modular and extensible. It ships as 200+ OSGi bundles running on Felix but also runs unmodified on Equinox. But how does this all benefit the GlassFish user (as opposed to the team developing the product)? This is what Sahoo presented at EclipseCon last week in the "OSGi & Java EE in GlassFish" session.

Since the product runs on an OSGi implementation, any bundle can be deployed alongside with the GlassFish bundles and Jerome has described how to use standard Java EE injection for OSGi declarative services. In his presentation, Sahoo explores further the OSGi capabilities of GlassFish - implementations of Java EE-related OSGi services & standards, ability to expose HTTP, JPA, JDBC, or EJB's as OSGi bundles, as well as support for Web Application Bundles (WAB).

Since talking is easy and code rules, Sahoo had several demos during his presentation at EclipseCon to illustrate the availability of such code today in GlassFish. In particuler, Sahoo has published details for his "EJB as OSGi Service" demo. Java EE 6, OSGi, whichever combination you chose, GlassFish is probably something you should look at. Make sure you read and follow Sahoo's blog for more on this topic.