Topic
  • 1 reply
  • Latest Post - ‏2006-06-30T14:13:56Z by SystemAdmin
SystemAdmin
SystemAdmin
1240 Posts

Pinned topic How to handle timeout functionality in EJB

‏2006-06-30T09:31:40Z |
I want to know if there is any alternative for Timer Task thread in EJB with which i can control the response time. Something like i want to timeout if a certain process takes more time that the expected. When we do it in core java we can run the process in a new thread with a timer task thread associated with it, and interrupt the trhead when it hits the timeout. How the same can be achieved in EJB ? I cannot use another thread. what is the solution for it ?
Updated on 2006-06-30T14:13:56Z at 2006-06-30T14:13:56Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    1240 Posts

    Re: How to handle timeout functionality in EJB

    ‏2006-06-30T14:13:56Z  
    I'm pretty sure that most containers offer a way to set timeouts on EJB methods; I would post this question in the server-side Java forum.