users@glassfish.java.net

Re: Defining transaction timeout on EJB

From: <forums_at_java.net>
Date: Thu, 19 Jan 2012 08:17:19 -0600 (CST)

If you are using EJB 3.1 (GlassFish 3.1 or later), you can make EJB B's
business methods @Asynchronous.  When retrieving the result from the Future,
you can specify a timeout.

http://docs.oracle.com/javase/6/docs/api/java/util/concurrent/Future.html

-Cheng


--
[Message sent by forum member 'cf126330']
View Post: http://forums.java.net/node/882829