users@glassfish.java.net

Defining transaction timeout on EJB

From: <forums_at_java.net>
Date: Thu, 19 Jan 2012 07:59:30 -0600 (CST)

Hi,

I have EJB A that invokes EJB B. UI should not wait for more than 30
seconds for response. If some data is missing, it should get a partial
response.

How can I define a timeout (time limit of 30 seconds) on EJB B? I guess I
am looking for way to configure transaction timeout, or a way to set timer
and continue flow in B after 30 seconds, ignoring the B response.

thank you

 

 


--
[Message sent by forum member 'okna2000']
View Post: http://forums.java.net/node/882829