Runtime tools : Channels components : Single action EJB
  
Single action EJB
Single Action EJBs are stateful or stateless enterprise Java beans that perform business processes in the application logic layer. Functionally equivalent to the Business Process Component, the Single Action EJBs differ from the Business Process Component by:
Encapsulating all the business logic in one main execute method of the EJB.
Enabling the toolkit to run on any edition of WebSphere Application Server.
The toolkit provides two super classes that you can extend to create your Single Action EJBs to process transaction requests: com.ibm.btt.server.bean.StatefulSingleAction for stateful Single Action EJBs, and com.ibm.btt.server.bean.StatelessSingleAction for stateless Single Action EJBs. Stateful Single Action EJBs handle business processes running within sessions, while stateless Single Action EJBs handle business processes running out of sessions. When using stateful Single Action EJBs, you must pass session information from the application presentation layer as parameters when the work area service is not available.The two super classes provide many predefined methods to work with other toolkit entities, enabling you to focus on the development of business logic.
The toolkit provides invokers as the generic way to access Single Action EJBs. See Bean Invoker Factory for more about accessing the Single Action EJBs.
See
Concepts
Tasks
Go up to
Channels components