Win a copy of Succeeding with AI this week in the Artificial Intelligence and Machine Learning forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
  • Junilu Lacar
  • Tim Cooke
  • Jeanne Boyarsky
  • Knute Snortum
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • salvin francis
  • fred rosenberger
  • Frits Walraven

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

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

B Phadnis
Get off me! Here, read this tiny ad:
Two software engineers solve most of the world's problems in one K&R sized book
    Bookmark Topic Watch Topic
  • New Topic