tell me more icon EJB Name and Options

To follow along with the example, in this step and throughout the cards, enter values as shown in the instructions. Then you will be able to follow the steps in the cue cards exactly as written.

A session bean is a short-lived object containing business methods that can be executed by a client. When a client wants to execute a method in a session bean, the EJB container creates an instance of that session bean. The lifetime of the session bean is equivalent to the client session.

In the example, the EJB name you specify will become the name of the session bean. You will create a stateless session bean that implements a HelloWorld business method, hosted in an EJB container.

EJB Name and Options

A stateless session bean does not maintain state across business method calls. This means any instance of stateless beans can be used by any client at any time. A stateful session bean is associated with a specific client, and maintains state across multiple method invocations made by the same client.

Copyright © 1997, 2009, Oracle. All rights reserved.

false ,,,,,,,,,,,,,,,