JBoss Community

Re: Use JBMC to remove annotations and seam dependency

created by Ales Justin in JBoss Microcontainer - View the full discussion
Hi, is it possible to use MB to remove seam dependency from a set of class files ?

 

I mean, I have a lot of classes with seam imports and @Name, @In, @Out, and need to use these same set of classes in a specific case where I cannot have seam library loaded.

 

So, I want you guideline if is it possible to use MC to achieve this task.

Should be doable, specially if you're using just annotations,

which can be ignored at runtime if not on the classpath.

 

You can then either use XML to wire up beans.

* http://java.dzone.com/articles/a-look-inside-jboss-microconta-0

 

Or still use annotations and write matching annotations plugins:

* http://exitcondition.alrubinger.com/2008/12/20/doing-two-models-at-the-same-time/

Reply to this message by going to Community

Start a new discussion in JBoss Microcontainer at Community