0 Replies Latest reply on Dec 12, 2002 12:19 PM by Vinay Salehithal

    JNDI Datasource lookup comparison between weblogic 6.1 and J

    Vinay Salehithal Newbie

      In wls when u define a Datasource, u can look it up using context.lookup("datasourcejndiname"). But in JBoss the lookup has to be conetxt.lookup("java:/datasourcejndiname") as it gets defined in the java namespace.
      This makes the lookup code, app server dependant. Any suggestions has to how to avoid this so that the lookup code works on both app servers.

      cheers
      Vinay S