This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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>
 
Consider Paul's rocket mass heater.
 
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