One idea related with OSGi based EAR (all JARs are OSGi Bundles) deployment? If
you are interested I can start working on that idea?
For example the content in one OSGi based EAR file will be:
1. Core Java EE Application:
1.1. One or more EJB bundles. It is good all interfaces to be separated from
the implementation in different bundles.
1.2. One Web Application Bundle (JAR file)
1.3. One Java Web Start (JWS) Application Bundle (JAR file)
2.1. Zero or many libraries represented as bundles. For example Hibernate,
Apache, JDBC Drivers, etc.
It is good the Swing application (JWS) to be started in some OSGi Framework
which to retrive from the Server or another place signed Bundles (JARs). This
will require some changes in Java Network Launch Protocol (JNLP) because the 1st
action MUST be downloading of OSGi Framework (if this is a part of JDK7 then
this part will be skipped) and then to download and install all bundles from
which the main application bundles depends. As repository for bundles can be used:
1. The Server from where the application is started
2. Maven Repositories
3. OSGi Bundle Repository (OBR)