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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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>
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: EJB Call Timeout from Client
 
Similar Threads
RMI application on Jboss
runtime.exec()
EJB and Thread
cronss job
can call EJB from Java App But not from Servlet