JNDI generally returns an object of some kind that you can use for some specific purpose, e.g. a database connection, an reference to an
EJB, or a local stub for an object accessible through RMI. But servlets are accessed remotely, and have no concept of a local stub. What exactly are you trying to do?
[ January 14, 2006: Message edited by: Ulf Dittmer ]