[jboss-user] [EJB 3.0] - Re: Why is injection not working in AS 4.0 and 4.2 (servlets
yilmaz_
do-not-reply at jboss.com
Fri Nov 16 09:21:27 EST 2007
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
More information about the jboss-user
mailing list