Session EJB and Servlet Collocated in Same WAR, JNDI Lookup: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 9: Line 9:
=GitHub Example=
=GitHub Example=


{{External|}}
{{External|https://github.com/NovaOrdis/playground/tree/master/jee/ejb/stateless-and-servlet-same-war-jndi}}

Revision as of 16:09, 24 March 2017

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

https://github.com/NovaOrdis/playground/tree/master/jee/ejb/stateless-and-servlet-same-war-jndi