Stateless Session EJB: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
m (Ovidiu moved page Stateless EJB to Stateless Session EJB without leaving a redirect)
Line 5: Line 5:
=Overview=
=Overview=


A stateless session bean as per its name does not have any associated client state, but it may preserve its instance state.
A stateless session bean as per its name does not have any associated client state, but it may preserve its instance state. For more EJB concepts see {{Internal|EJB Concepts|EJB Concepts}}


=Example=
=Example=

Revision as of 00:29, 6 April 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. For more EJB concepts see

EJB Concepts

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