This content has been marked as final.
Show 3 replies
-
1. Re: Using Hibernate layer packaged in an ear
jaikiran Apr 5, 2010 7:31 AM (in response to davestar)Why don't you package those classes and mapping in a .jar file and use that .jar in the .war/WEB-INF/lib?
-
2. Re: Using Hibernate layer packaged in an ear
davestar Apr 5, 2010 11:02 AM (in response to jaikiran)Unforunately, the App is badly designed and coded, the hibernate layer has some dependencies on the App classes so if I jar the hibernate classes and mapping I also have to include appplication specific code from the ear.
-
3. Re: Using Hibernate layer packaged in an ear
davestar Apr 5, 2010 3:48 PM (in response to davestar)I can even package the webservice war within the ear. in that case, how do I set classpath? so that the webservice war can reference hibernate classes from the application war.