on 06-26-2006 1:43 PM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.