Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

IBM Websphere Asynchronous Beans Urgent help!

 
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to use Asynchronous Beans in one of my project to leaverage asynchronous processing (basically defer the processing and insulate the client from having to wait until all the processing is done). We are using IBM Websphere 6.1 and Java 1.5.

1) I would like to find out if any you have use this feature successfully in your APP server environment?

2) My idea is to start the async bean from a stateless EJB bean (Container Managed). Will this work? Is there any gotchat/catches here I need to be aware of?

When I run this asynchronous beans (with TX REQUIRED) I see that the EJB starts a transaction (I can verify that by looking at the extendedjtatransaction object of Websphere's getLocalId and getGlobalId() methods). For Asynchronous beans, I see the local id is 0, and global id is null (There is some documentation in IBM site, but that is inadequate, I would like to hear from someone who has used this successfully)

Any quick and timely input on this will be of great use.

Thanks a lot.
[ November 11, 2008: Message edited by: Ram Kumar ]
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I am trying to use Asynchronous Beans



Ram,

Do you mean Message Driven Beans? Or is "Asynchronous Beans" something specific to WebSphere?
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Did you use asynchronous beans in your application?

I am planning to use async beans and the documentation available is very minimal. Please let me know if you have implemented async beans?

Regards
KJ
 
Evil is afoot. But this tiny ad is just an ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic