Stateless Session EJB: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 25: Line 25:
=Stateless EJB and JNDI=
=Stateless EJB and JNDI=


{{InternalEJB_Concepts#EJB_and_JNDI|EJB and JNDI}}
{{Internal|EJB_Concepts#EJB_and_JNDI|EJB and JNDI}}

Revision as of 22:56, 23 March 2017

Internal

Overview

A stateless session bean as per its name does not have any associated client state, but it may preserve its instance state.

Example

Maven

<dependency>
    <groupId>javax</groupId>
    <artifactId>javaee-api</artifactId>
    <version>6.0</version>
    <scope>provided</scope>
</dependency>

Stateless EJB and JNDI

EJB and JNDI