[jboss-dev-forums] [Design of EJB 3.0] - Re: [EJBTHREE-1659] Support for asynchronous calls on EJB3 i

ALRubinger do-not-reply at jboss.com
Wed Dec 24 13:31:49 EST 2008


"jaikiran" wrote : Any specific reason why we no longer add this as a default interface for the proxies?

Yes, because "async" should be an optional add-on capability, not something that's baked into the implementation.

There's now a facility within ejb3-common to async-ize *any* object:

http://anonsvn.jboss.org/repos/jbossas/projects/ejb3/trunk/common/src/main/java/org/jboss/ejb3/common/proxy/plugins/async/AsyncUtils.java

Examples of this in use are in the Integration TestSuite, where I refactored the tests to work:

http://anonsvn.jboss.org/repos/jbossas/projects/ejb3/trunk/testsuite/src/test/java/org/jboss/ejb3/test/asynchronous/unit/AsynchronousTestCase.java

S,
ALR

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

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



More information about the jboss-dev-forums mailing list