• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to continue process after return to client.

 
Wora Supha
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My problem is:

1. Client call request to stateless session bean.
2. Bean generate request ID, return to client.
3. Bean continue process request back-end.

How can I implement no.3?

Thanks,
 
Dogra
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One Way is to use MDB here.
Once you are done with the work. Send the id back and put the request for MDB to do further processing.
This way you need to to run ur login in separte Transaction
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!