Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

resources in multi war or ear application  RSS feed

 
Karthik Rajendiran
Ranch Hand
Posts: 218
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!