This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Could someone tell me if it is possible to use plan.xml to override <env-entry> values in web.xml and ejb-jar.xml.
I have an entry like,. in web.xml and ejb-jar.xml(one entry for each of my EJBs). In my application, I lookup the value using JNDI like, ic.lookup("java:comp/env/my_env"). If I have hardcoded values in web.xml and ejb-jar.xml, everything works fine. Now I need to use deployment plan to override the value to staging and production. My plan.xml looks like this