wood burning stoves 2.0*
The moose likes EJB and other Java EE Technologies and the fly likes Shared files in .ear Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Shared files in .ear" Watch "Shared files in .ear" New topic
Author

Shared files in .ear

Paul Medford
Ranch Hand

Joined: Aug 28, 2001
Posts: 33
1) If multiple .ear archives use common files, is it best to have a copy of each shared file in every .ear, or is it a better practice to use only one copy for all .ears and save these files on a common directory.
2) If the latter is the best choice, is there a common directory defined by the specs or is this directory vendor specific?
3) If we use a shared directory for common files, how can we make a note in a particular .ear so that those files are not forgotten during deployment.
Any thought?
Thanks,
Francois
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Shared files in .ear
 
Similar Threads
What is the best practice to add the application property files to the classpath?
Multiple war in an ear file
How to reference resources within EAR ?
How to setup Struts+Tomcat+Eclipse
how can i deploy web app on weblogic