This content has been marked as final.
Show 1 reply
-
1. Re: JBoss 4.0.3-SP1 - Where should i place common files for
jaikiran Nov 23, 2005 12:18 AM (in response to vijpan)My suggestion would be, Dont place the HibernatUtil classes in the war. Create a jar for the HibernateUtil classes(if you already have a jar created, then you can place these classes in that jar). Place this jar in the ear. So your ear struture would look like:
MyApp.ear
|___________ MyApp.war
|
|___________ MyApp.jar(contains the HibernateUtil classes and may be some other classes used in the application)
Then in the application.xml file (present in the META-INF directory) make an entry as follows:<module> <java>MyApp.jar</java> </module>