Question: how jndi works in websphere?
Answer: JNDI resource lookups in WebSphere Application Server. The Java Naming and Directory Interface (JNDI) is mainly used for accessing resources that are managed by a container. JEE application servers expose JDBC data sources, JMS connection factories, JTA user transactions among others to applications via JNDI.