Developing session beans
次主題
![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
Configuring EJB 3.1 session bean methods to be asynchronous
Use this task to configure Enterprise JavaBeans (EJB) 3.1 session bean methods to run asynchronously. You can make some or all of your bean methods asynchronous.![[IBM i]](../images/iseries.gif)
Developing stateful session beans
You can create a bean implementation class for a stateful session bean as introduced in the Enterprise JavaBeans™ (EJB) 1.0 specification and significantly simplified by the EJB 3.0 specification. A stateful bean is a type of session bean that is intended for use by a single client during its lifetime and maintains a conversational state with the client that is calling it.![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
Developing a session bean to have a No-Interface Local view
You can specify that a session bean have a No-Interface view.![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
Developing singleton session beans
Create a bean implementation class for a singleton session bean, introduced by the Enterprise JavaBeans (EJB) 3.1 specification. The EJB container initializes only one instance of a singleton session bean, and that instance is shared by all clients. Because a single instance is shared by all clients, singleton session beans have special life cycle and concurrency semantics.![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
Configuring EJB 3.1 session bean methods to be asynchronous
Use this task to configure Enterprise JavaBeans (EJB) 3.1 session bean methods to run asynchronously. You can make some or all of your bean methods asynchronous.![[IBM i]](../images/iseries.gif)
Developing stateful session beans
You can create a bean implementation class for a stateful session bean as introduced in the Enterprise JavaBeans™ (EJB) 1.0 specification and significantly simplified by the EJB 3.0 specification. A stateful bean is a type of session bean that is intended for use by a single client during its lifetime and maintains a conversational state with the client that is calling it.![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
Developing a session bean to have a No-Interface Local view
You can specify that a session bean have a No-Interface view.![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
Developing singleton session beans
Create a bean implementation class for a singleton session bean, introduced by the Enterprise JavaBeans (EJB) 3.1 specification. The EJB container initializes only one instance of a singleton session bean, and that instance is shared by all clients. Because a single instance is shared by all clients, singleton session beans have special life cycle and concurrency semantics.
作業主題
前次更新: July 9, 2016 8:08http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-base-dist&topic=container_ejb_developingsbeans
檔名:container_ejb_developingsbeans.html