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 osgi-jms-mdb-1.zip and unzip it.
2. cd osgi-jms-mdb-1/
3. mvn clean install
4. Start GlassFish (something like "asadmin start-domain" or "java -jar...
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:...



