wood burning stoves 2.0*
The moose likes EJB and other Java EE Technologies and the fly likes EJB Call Timeout from Client Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EJB Call Timeout from Client" Watch "EJB Call Timeout from Client" New topic
Author

EJB Call Timeout from Client

Karthik Prabu
Ranch Hand

Joined: Dec 27, 2002
Posts: 48
Is there any way to time out EJB call from the Client Side, something similar to java.sql.Statement.setQueryTimeout()

Thanks
Prabu
alec stewart stewart
Ranch Hand

Joined: Dec 23, 2003
Posts: 71
in your datasourec file
make the following entry
<blocking-timeout-millis>5000</blocking-timeout-millis>
<idle-timeout-minutes>15</idle-timeout-minutes>
 
GeeCON Prague 2014
 
subject: EJB Call Timeout from Client