The async beans APIs in WebSphere 5.x Enterprise and normal WebSphere 6.0 allow J2EE programmers to easily create threads (both short lived pooled and daemon threads) inside aJ2EE application. They also allow transient millisecond alarms to be created and allow application callbacks to be safely implemented.
This is a document that I wrote which I've been giving to customers over the past couple of years. It documents the WebSphere async beans APIs and shows some examples of how they can be used (integrating Tibco RV as an example). These APIs are now included in WebSphere 6.0 base or ND. A subset of the capabilities of async beans has been standardized and has found it's way in to WebLogic 9.0 and WebSphere 6.0 and is called commonj. There is also a JSR (236/237) but that looks like JEE 1.6 now.
are there any differences between WAS 5 and 6, for async beans? (putting it differently, would I have to read async beans info in Infocenter for WAS 6, even if I have read this doc)
No, it's the same besides bug fixes etc. This document far exceeds whats in the infocenter BTW. UserTransaction also works all the time now, even for BMT EJBs which it didn't before.
Posted by: | July 01, 2005 at 10:43 AM
Can I include the commonj client in my WebSphere 5.1 application to take advantage of the commonj.timers and commonj.work packages?
Thank you,
Anthony
Posted by: Anthony | September 05, 2006 at 02:21 PM
what is the alternatives for wait() and notify() (threads) in async beans(ibm)...
Posted by: ramakrishnareddy | October 31, 2006 at 06:44 AM
Please let me know where can i get the source code for this example, i couldnt see any link to it
Posted by: Rajiv Patil | August 18, 2008 at 11:45 AM
I wanted to invoke logic in async without blocking the call. I am using startWork which seems to block the call. I don't see scheduleWork method listed on WorkManger interface.
Please help..
Thanks
Posted by: Ajay Nalavade | January 09, 2009 at 04:30 PM
is this possible with websphere base trial version or do I need a enterprise version?
Posted by: Sujit | September 14, 2009 at 08:15 AM