cancel
Showing results for 
Search instead for 
Did you mean: 

Problems while creating client (jsp) for message driven beans

Former Member
0 Kudos

Hai

I have a problem , while creating client(JSP)

for Message Driven Bean, How we can lookup a message driven bean, and settings needed in Visual Administrator

etc,

Any body please help me in this regard

Regards

Somaraju

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

MDBs are not meant for getting invoked directly from a client. So what you are trying to do itself is <b>WRONG</b>.

The best way to see if a MDB gets invoked or not is to put a Message on the queue or topic to which it is bound to, and see if the MDB does the intended stuff or not.

former_member182372
Active Contributor
0 Kudos

Hi Somaraju,

You can not reference MDB directly because it is invoked by EJB container by JMS message. You can declare the reference to the javax.jms.TopicConnectionFactory or to javax.jms.QueueConnectionFactory and post the message. Check http://help.sap.com/saphelp_nw04/helpdata/en/a3/63af1bbf09469fa1615c05f0daff6f/frameset.htm for more details.

Best regards, Maksim Rashchynski.

suresh_krishnamoorthy
Active Contributor
0 Kudos

Hi Somaraju,

See this link for sample exercises how to invoke Message driven bean: http://java.sun.com/j2ee/1.4/docs/tutorial/doc/index.html

http://trailblazer.demo.jboss.com/EJB3Trail/serviceobjects/mdb/

Regards

Suresh KB