how can i write the JNDI code for j2ee like this?

Discussions

EJB programming & troubleshooting: how can i write the JNDI code for j2ee like this?

  1. how can i write the JNDI code for j2ee like this? (1 messages)

    for weblogic, i can write JNDI code like this
    Properties p = new Properties();
    p.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
    p.put(Context.PROVIDER_URL, "t3://localhost:7001");
    but what for j2ee referrence implementation.
  2. I did'nt get what do you mean by j2ee reference implementations.If you are speaking of bean references you
    can't access from client applications using reference names they are only used by the container.