Session EJB and Servlet Collocated in Same WAR, JNDI Lookup

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

Overview

This example describes the look up of an EJB and subsequent invocation, when the EJB and the calling component (a servlet, in this case) are part of the same WAR deployment artifact. The lookup is done via JNDI.

GitHub Example