Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Day 11. Creating Stateless Session Beans > Stateless Session Bean Concepts

Stateless Session Bean Concepts

A stateless session bean is a lightweight version of a stateful session bean without the session-aware functionality. Because no state is maintained between a client application and a stateless session bean, the EJB-compliant container maintains an instance pool of stateless session beans. Any stateless session bean from the instance pool is used by the EJB container to service client application requests.

A stateless session bean can be used primarily for developing pure functionality or the business logic of the application. Stateless session beans are purely transactional in nature and can be used for embedding business logic that is reusable by different stateful session beans or client applications (see Figure 11.2).


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial