I have a message listener and a factory class which creates as many message listeners as is required. Now, I am replacing this listener with a Message Driven Bean which acts as the listener. How do we create mulitple listeners now. Who takes care of that? It might be a silly question.
The EJB server is responsible for creating your MDB listeners. You can control the number through the server's configuration (the MDB pool size).