Skip to main content

Blog Archive for ss141213 during April 2010

Here is an example of yet another hybrid (OSGi + Java EE) application. This is a complete JMS consumer/producer example using OSGi and GlassFish. You can download the complete sample from here. How to use the sample: 1. Download <a href="http://weblogs.java.net/sites/default/files/osgi-jms-mdb-1.zip">osgi-jms-mdb-1.zip</a> and unzip it.2. cd osgi-jms-mdb-1/3. mvn clean...
Recently a user in GlassFish forum asked about developing JAX-WS web service in an OSGi bundle. Here is a complete sample demonstrating a JAX-WS web service invoking an OSGi service via OSGi service registry. You can download it from here. The diagram below hopefully explains the organisation of the sample:   As the above diagram shows, we have three components, viz: 1) osgi-service.jar:...