1 Reply Latest reply on May 16, 2009 10:18 PM by Sam Ra

    Using JNDI to do resource lookup (web-app URLs)

    Sam Rao Newbie

      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.