[jboss-user] [EJB 3.0] - how to abort remote call

wang.565 do-not-reply at jboss.com
Thu Apr 12 17:00:11 EDT 2007


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. 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4036862#4036862

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4036862



More information about the jboss-user mailing list