In fact, I have the following thread:
- The user clicks the "huge operation" button;
- It calls the RESTful service;
- The rest of the service calls HugeOpServiceBean, which is an EJB;
- This EJB will report JMS queues to do HugeOperation;
- This HugeOperation can have two or more implementations, so every MDBean that listens for it will work (which means it can be in another .earear)
I would love to hear how you guys are doing or suggesting that I get me to get the “status” of these MDBeans.
Basically, every MDBean will run some method in the list of some type of object, therefore, calculating the percentage done should be easy, I just don’t know how and what better architectural solution I could do to make this available in some RESTful services .
Thanks in advance.
caarlos0
source share