16.4. Configuring Session Beans

16.4.1. Session Bean Access Timeout

Stateful and Singleton Session Beans have an access timeout value specified for managing concurrent access. This value is the period of time that a request to a session bean method can be blocked before it will timeout.
The timeout value and the time unit used can be specified using the @javax.ejb.AccessTimeout annotation on the method. It can be specified on the session bean (which applies to all the bean’s methods) and on specific methods to override the configuration for the bean.
If they are not specified JBoss Enterprise Application Platform 6 supplies a default timeout value of 5000 milliseconds.
Refer to the Javadocs for AccessTimeout at http://docs.oracle.com/javaee/6/api/javax/ejb/AccessTimeout.html