Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Can <jar-file> inside persistence.xml be used in .war apps?

 
Bhuvnesh Phadnis
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using JPA 2 & hibernate 3.6 on jboss 6 for a web application. i have tried to use <jar-file> to deploy model from a jar file. i know this works in .ear apps. but doesn't seem to work in .war apps.


i have tried and failed with the following entries:


externalModel.jar is in WEB_INF/lib

Can someone help me with this? I am begining to believe that <jar-file> cannot be used in .war apps. Am I right?

Please help

Regards,
B Phadnis
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!