With JBoss/Wildfly one is able to use the @TransactionTimeout
proprietary annotation and define a transaction timeout for a specific Session Bean.
What is the equivalent way of doing it using IBM WebSphere?
We are using EJB Timer and one of the Beans will over an hour to complete.
Sample code for Wildfly:
import org.jboss.ejb3.annotation.TransactionTimeout;
@Stateless
@TransactionTimeout(value=7200)
public class TimerBean {
}
Note: Using WebSphere 8.5. Modifying the global transaction time is not an option, we need to do it for a specific Session Bean, or maybe an Application (EAR).