On Nov 11, 2008, at 12:34 PM, Oliver Günther wrote:
Hi,
hopefully I'm witting to the right place.
Background: Trying to embed OpenEJB in a RCP Application(equinox/
osgi).
Problems (short): class loading, classpath-jar detection
I solved some of them quick and dirty, and some are still to open.
Before I dig deeper in the code, I would like to know the position
regarding OSGi integration in OpenEjb.
1. Is there an interest to supply openejb working bundles ? Not only
an
MANIFEST with some OSGi relevant information, but deployable bundles ?
2. Is the interest high enough to supply split up bundles, meaning
each
jar-library being usable as full OSGi bundle with all consequences ?
3. Would the interest be as high as allowing openejb have dependencies
to OSGi libraries ?
I think this is all achievable without bloating openejb to much and
still suppling the classic solution as of now.
If the interest is high enough I would shift some time in my project
towards OSGi-enabling and sending some patches.
I've also inspected EasyBeans (www.easybeans.org). They have already
an
OSGi distribution, but the source looks slightly chaotic (personal
opinion).
At last a simple question. In which class are the EntityManagers
instantiated and injected in EJB's.
Hi Olli,
We're definitely interested in a better OSGi integration. I guess the
quick answers would be 1) yes, 2) what are the consequences and how
does that vary from what we have?, 3) sure we could potentially add a
container/openejb-osgi module to put OSGi specific stuff if we need it.
What we have there is thanks to Guillaume, which is all in reference
to ServiceMix. Not sure what needs to be done to fix up the bundles.
All of them are generated in the build. Another user (Cc'ed) has
poked at this a bit.
https://www.nabble.com/OpenEJB-in-an-OSGi-container-td19905326.html#a19905326
https://issues.apache.org/jira/browse/OPENEJB-921
-David