I would like to know if there is some way to I set up a EJB Stateless to timeout. The transaction timeout wait until the finish of method execution. I need a timeout that return a answer to the client although the method invocation don't finish yet.
the scenario Client A call remote method X from EJB B. After 5 seconds although the X haven't already returned The Application Server return answer to the A.