?
_
I need to accept a request and then query two systems. I need to send
off the first query to a queue then execute the second query. After
getting the result from the second query I need to wait for a response
from the first query via an MDB before combining the data from both
queries and returning a response.
Of course the first thing about EJBs is that you can't muck around
waiting and notifying threads so how can I do this.
Options
Some JBoss specific classes that are safe to use. But I'll want to
move to WebSphere next year.
Implement this as a separate stand-alone non-J2EE server.
Use some J2EE API designed for this purpose. Am I missing this?
off the first query to a queue then execute the second query. After
getting the result from the second query I need to wait for a response
from the first query via an MDB before combining the data from both
queries and returning a response.
Of course the first thing about EJBs is that you can't muck around
waiting and notifying threads so how can I do this.
Options
Some JBoss specific classes that are safe to use. But I'll want to
move to WebSphere next year.
Implement this as a separate stand-alone non-J2EE server.
Use some J2EE API designed for this purpose. Am I missing this?