users@glassfish.java.net

hybrid OSGI+Web+EJB+JPA application

From: <glassfish_at_javadesktop.org>
Date: Wed, 07 Oct 2009 02:35:32 PDT

First of all, I would like to appreciate Sahoo for his efforts in EJB, WEB and OSGI hybridization. I have a strong intention to use the benefits of the new approach, but some questions arose:

1. Currently (GF v3 b65), the WEB based administrative console has no information about deployed hybrid applications. Are you planning to extend the current abilities of the console to allow the user to see the installed hybrid applications?

2. Currently, the “asadmin” utility doesn’t allow to use a valid URL (only file system objects are allowed) to specify a module for deploy. Are you planning to extend the current abilities of the utility to allow this feature?

3. Once hybrid OSGI bundle deployed, an ApplicationInfo instance created for it. That means there is no possibility to add an additional module to the existing application. Are you planning to extend the functionality of WEB-OSGI and deployment utility to allow changing the set of modules the running application consists of?

4. The problem is that currently, the hybrid OSGI+WEB+EJB bundle must be packet into one single bundle, an analog of EAR. Are you planning to extend the functionality of the deployment module to allow the installation of OSGI modules from Maven repositories with resolving (and installing) of referenced\dependent modules? There is an external OSGI module called PAX URL(http://wiki.ops4j.org/display/paxurl/Pax+URL) that allows installing OSGI bundles from Maven repository with using of osgi console but it doesn’t process the referenced modules.

5. Are you planning to implement JPA support as a part of GF v3 for hybrid modules by the following way: the newly installed (redeployed) bundle would extend the existing Persistent Unit(s) with the new classes, or it would cause the new PU creation. “Dynamic JPA” project (http://www.dynamicjava.org/projects/dynamic-jpa) is a good sample of this approach implementation;

6. Are you planning to implement the possibility of EJB container and services launching in “pure” OSGI environment?

With best regards, Maxim Volkov.
[Message sent by forum member 'mvolkov' (reson_at_mail.ru)]

http://forums.java.net/jive/thread.jspa?messageID=367098