JBoss Community

Re: Running AS7 embedded in Arquillian

created by Jason Greene in JBoss AS7 Development - View the full discussion

Thomas Diesler wrote:

 

Ok, lets talk about this in more detail when you have something that runs and are generally happy with.

 

I generally think that this

@Dependency("org.jboss.logging"), @Dependency("org.jboss.logmanager")

 

is evil because results in jboss proprietary manifest headers that also has an equivalent standard, which is Require-Bundle


But they are jboss modules, not osgi bundles. We should only use osgi manifest entries if the thing we are producing is an actual osgi bundle, that actually uses osgi. Also, I don't think we should mandate usage of OSGi across the board with AS.

 

On the topic on why Require-Bundle is also bad see JBoss AS7 OSGi Integration half way down the page section

3.12.3 Issues With Requiring Bundles

As you know, I never really bought into the reasons behind this. I think OSGi is the only modularity spec that advocates them, and even they are moving away from them with their capabilities and requirements notion.

Reply to this message by going to Community

Start a new discussion in JBoss AS7 Development at Community