This content has been marked as final.
Show 4 replies
-
1. Re: [EJBTHREE-1659] Support for asynchronous calls on EJB3 i
alrubinger Dec 24, 2008 1:31 PM (in response to jaikiran)"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 -
2. Re: [EJBTHREE-1659] Support for asynchronous calls on EJB3 i
alrubinger Dec 24, 2008 4:56 PM (in response to jaikiran)Oh also, you might want to differentiate between this JBoss-specific feature and the async mechanism defined by EJB3.1 - this here allows a client to easily spawn off the invocation; 3.1 lets the bean provider denote which methods are eligible for async on the server side.
S,
ALR -
3. Re: [EJBTHREE-1659] Support for asynchronous calls on EJB3 i
alrubinger Dec 24, 2008 6:17 PM (in response to jaikiran)"ALRubinger" wrote:
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
And cleaner cases in the Unit Tests for Async Processor:
http://anonsvn.jboss.org/repos/jbossas/projects/ejb3/trunk/common/src/test/java/org/jboss/ejb3/test/common/proxy/unit/AsyncTestCase.java
S,
ALR -
4. Re: [EJBTHREE-1659] Support for asynchronous calls on EJB3 i
jaikiran Dec 26, 2008 2:25 AM (in response to jaikiran)Thanks, works as documented :)
"ALRubinger" wrote:
Oh also, you might want to differentiate between this JBoss-specific feature and the async mechanism defined by EJB3.1 - this here allows a client to easily spawn off the invocation; 3.1 lets the bean provider denote which methods are eligible for async on the server side.
S,
ALR
Yes, i am going to make a mention of that in the tutorial guide.