to get EntityManager you have to use EntityManager
em=(EntityManager)Component.getInstance("entitymanagername")
but to access EM you have to configure components.xml first.
Until you got JEE5 app server anotations may not work.
I dont have config files. I will post my configuration files couple hours
later.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4105486#4105486
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4105486
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user