on 07-16-2010 10:22 AM
Hello
I have read that in Java EE 6 we can declare a webservice method as asynchronous using @Asynchronous annotation using EJB 3.1
How do we make asynchronous webservices in Java EE 5 using EJB 3.0
Thanks
Vidyadhar
Hi,
You can use a two step solution:
- Move your Business Logic to a Message Driven Bean
- Expose this logic using a Stateless Session Bean as Web Service method, and on this method delegate to your MDB, so this bean method will receive client request and call the MDB
Best regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.