Richard S. Hall wrote:
meinc wrote:
That does not sound like a typical desktop application. I think about an
application like the
http://felix.apache.org/site/apache-felix-application-demonstration.html
which may be started multiple times.
The example application does not deal with this issue.
This is how many "typical desktop applications" work. Think about how
Firefox or OpenOffice work. They do not spawn an exact copy of the
program each time you try to run them, they contact the already
running application and have it open a new window. That is the best
way, especially for OSGi, since you have the bundle cache issue.
Another approach is to use the install by reference approach that Karl
mentioned and create a new unique profile for each launched application
and then delete the profile on application exit. This would be the
easiest by far and as long as you don't use embedded JAR files (you can
explode them if you do) or native libraries, then there will be nothing
to extract and startup time should not be significantly impacted by
creating a new profile each time.
-> richard
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]