I have JPA jar with persistence.xml and want to deploy in Jboss7.
Problem is that, i can't put inside WAR file(i know we can load from war file).
I have created module in jboss and placed jar file with including persistence.xml file inside META-INF\ of the jar with ref: http://javahowto.blogspot.sg/2007/06/where-to-put-persistencexml-in-web-app.html Maven/Eclipse: Could not find any META-INF/persistence.xml file in the classpath
After that jar file loaded, but persistence.xml not loaded.
Is it possible to load persistence.xml from jar file ?
if possible, can someone please let me know, where to place inside jar
Thanks