With JBoss / Wildfly, you can use the proprietary @TransactionTimeout annotation and determine the transaction timeout for a specific Bean session.
What is the equivalent way to do this with IBM WebSphere ?
We use the EJB Timer and one of the Beans will end in an hour.
Sample code for Wildfly:
import org.jboss.ejb3.annotation.TransactionTimeout; @Stateless @TransactionTimeout(value=7200) public class TimerBean { }
Note. Using WebSphere 8.5. Changing the global transaction time is not an option; we need to do this for a specific Bean session, or maybe an application (EAR).
source share