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