I was thinking of implementing something like this :
a controller servlet listens to different jms queues. Depending on the message, an action is performed by a certain class. This class reports back to the controller which sends a response back on a queue. In fact, what I am doing here is sort of implementing a message-driven bean with a servlet.
Is this a good idea ? Are there simpler ways ? I don't want to use mdb's, that's clear. Does Spring have some nice classes that could help me here ?