cancel
Showing results for 
Search instead for 
Did you mean: 

Asynchronous webservice

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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