0 Replies Latest reply on Apr 12, 2007 5:00 PM by wang.565

    how to abort remote call

    wang.565

      Hello,

      I wrap a business method in a stateless session bean. The client calls this bean with different input. This method will fail on some cases (not returning or taking very long time to process). I want to be able to abort my client call if this takes too long. Also I want to be able to restart this bean after client aborts. Something like:

      while (true) {

      call bean;
      if too long, abort & restart the bean;
      }

      What will be the most efficient way to do this in EJB3?

      Thanks.