File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes resources in multi war or ear application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "resources in multi war or ear application" Watch "resources in multi war or ear application" New topic
Author

resources in multi war or ear application

Karthik Rajendiran
Ranch Hand

Joined: Aug 13, 2004
Posts: 210
I am developing one application, where we need to maintain some application configuration in a properties file. and some messages in another properties file

file1: config.properties
file2: appMesages.properties

This application consists of 2 war[1 webservices, 1 normal web UI] and 1 ear [mdb] going to be deployed in oc4j.


q1) Since i have 2 war, 1 ear, where can i keep this resources files and make it use across the application in the domain.

Normally what is the best practise followed for this


SCJP 1.4 SCWCD 1.4 SCDJWS 1.4
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: resources in multi war or ear application
 
Similar Threads
SystemGlobals.properties, some properties deleted after JBoss restart
log4j.properties file outside application
how to create a EAR file using Netbeans.
Properties file in EJB Ear
Properties or Resource Bundle