-
1. Re: Best practices
thomas.diesler Jul 31, 2013 10:06 AM (in response to speleomaniaque)You can go ahead with WildFly if it is ok for your project that OSGi functionality is provided by a community project (like WildFly itself). The product version of WildFly (i.e. EAP) does currently not include OSGi.
Depending on your application you might not need an AppServer at all, in which case Fuse Fabric would be the right choice for an OSGi based application.
You can't mix the two in the same VM.
In case you go with WildFly/OSGi you would stick OSGi metadata in your WAR's manifest, effectively making it an OSGi bundle. All the classloading details is been taken care of and you can use Import-Package for your service API's. Alternatively, there are other WF propriatary ways to create the correct module dependencies on your service API bundles, these however have no advantage over what I mentioned first.