i would say testing in-container components outside the container is more
trouble than it's worth.
instead of trying to set up a simulated container with JBoss Embedded or
something else, try using JUnitEE or Cactus, etc and do the testing in your
production environment, i.e. in the JBoss AS.
you can use JBoss Embedded or the other alternative is to use spring framework.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133244#4133244
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133244
___