[jboss-user] [Beginners Corner] - Re: Properties file with the same name in separate JAR

jaikiran do-not-reply at jboss.com
Fri Jul 28 03:28:25 EDT 2006


Are these 2 jars part of the same application? If yes, then why are the properties files having the same name. Is there any problem in giving two different names to the properties file and using the appropriate one through your code?

The reason i ask these questions is that the properties file is picked by the classloader and if you want to maintain 2 property files with the same name in 2 jars of the *SAME* application, then i dont think thats possible. I believe classloader isolation is possible at application level and not jar level.



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961494#3961494

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961494



More information about the jboss-user mailing list