|Re: EMF and Virgo [message #1053568 is a reply to message #1052723]
||Mon, 06 May 2013 14:45
| GianMaria Romanato
Registered: July 2009
We are using EMF in virgo.
If I remember correctly, I had the feeling that EMF supports two deployment scenarios:
- as OSGi bundles in Eclipse
- as regular JARs in a JavaSE application
Deployment in an OSGi environment other than Eclipse does not work because activators assume that the container is Eclipse.
To use EMF in Virgo we included the EMF JARs as Bundle-Classpath in a bundle of ours which exports the relevant packages for other bundles.
- Emf uses a global Package Registry: EPackageRegistryImpl.createGlobalRegistry()
- EPackageRegistry.getEPackage() seems to rely on the ThreadContext Classloader for certain lookup operations. You may have to change the thread context class loader before invoking that method.
Developing for Virgo using PDE: http://bit.ly/1w0tTit
Global JNDI in Virgo: http://bit.ly/1to42mn
Hyperic to monitor Virgo: http://bit.ly/W1Fst9
Profile Virgo with JProfiler http://bit.ly/1FBLGCw
Powered by FUDForum
. Page generated in 0.03298 seconds