This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
My requirement is that i want to have all the properties specific to environment(Prod, Dev,QA) go into a seperate file outside my war,for Example the properties like DB Name, DB Password, LDAP URL, LDAP Pwd, Hibernate_Dialect..etc.
Is there a way to create just one war file for three environments and some how read these properties from outside of war file?
This way I don’t need to repackage the war file when moving it from one environment to another Or if the Prod guys doesn't want to share the details to the dev Team.
FYI : Application is based on Struts2(For MVC) + Spring(For Injection) + Hibernate (ORM) + Acegi(Authentication)