Stateless Session EJB

From NovaOrdis Knowledge Base
Revision as of 13:35, 1 May 2017 by Ovidiu (talk | contribs) (→‎Example)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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