The timeout setting for a 2.x stateful session Enterprise Java™ bean is specified in the ibm-ejb-jar-ext.xmi
file.
About this task
The session timeout setting is a WebSphere® Application Server extension
to the Enterprise JavaBeans 2.x
specification. For more information, see the WebSphere Application Server documentation.
Procedure
- Switch to the Java EE
perspective.
- In the Enterprise Explorer view, select the desired EJB
module.
- Right click the deployment descriptor, and select .
- On the Overview page of the editor,
go to the Enterprise JavaBeans section and click the bean that you
want to edit.
- On the Beans page of the editor,
go to the Programming Model Extensions section.
- In the Session Timeout section,
in the Timeout Integer field, specify the lifetime,
in minutes, for the session timeout value. This value indicates how
long session will run until it times out.
- In the Activity Session Type field,
select Bean or Container to
indicate the type of activity to which you want the session timeout
to apply.
Results
For additional information about Session Timeout settings,
see the WebSphere Application
Server documentation.