This week's book giveaways are in the Refactoring and Agile forums. We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line! See this thread and this one for details.
I want to archive simultaneous execution of several tasks, I have a Queue, and my MDB is picking messages from that Queue.
There can be several different type of messages, and each message type got its own handler( a java class ).
Then depending on the message type, MDB invokes, the corresponding handler.
Each Handler contains a run() method, and my MDB invokes this method.
What I initially wanted, MDB should just submit the Handler to Work Manager, and return, and Handler should be executed in a separate thread.
Similarly, each execution of the handler class should be done in a separate thread.
But IN OC4J, We dont have any way to submit a Work to Work Manager, or in other its not exposed.