Originally posted by Valentin Tanase:
Hi Harry,
Clients cannot invoke methods on MDBs (this is why MDBs don�t have remote or home interfaces). They are strict server side components that act like asynchronous JMS listeners. Only the container calls the onMessage() if a message was added to the associate JMS destination. Clients interact with the MDB indirectly, sending JMS messages to the JMS destination.