U can use ejb3unit framework or other good one for testing.
No JNDI can be accessed uness u have a container. U can try set everything in persistence
properties instead of providing JNDI data source name for creating EMF.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138480#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...