GG. If possible try to write it up as a JBoss service / MBean. That way you can just
deploy the session factory and have it available. It will also allow you to control the
session factory through JMX.
You can do this using @Service, but that API hasn't been solidified yet.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4051632#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...