[jboss-user] [JNDI/Naming/Network] - Using JNDI to do resource lookup (web-app URLs)

svr.wi.usa@gmail.com do-not-reply at jboss.com
Thu Apr 2 22:34:21 EDT 2009


Hi, this could be relatively easy solution but I wanted to check if there's a known approach for this.

Currently doing a temp assignment at an organization which has a lot of web-apps and have multiple test-environments. These apps have a lot of url links to each other and right now its hard-wired in each applications.

The URL are not hardcoded in each application but instead are stored in properties files. Each app has one properties file for each tier.

Question i have is that is it possible to have somekind of JNDI lookup that will take in a unique "webapp + resource within that app" and return the URL (along with GET parameters required to be passed or POST structure )? etc.



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

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



More information about the jboss-user mailing list