Just deploy to JBoss and it`ll work ;-)
You need an EJB3 container for EntityManager to work.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4024915#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...