File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes MDB question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "MDB question" Watch "MDB question" New topic

MDB question

Jane Somerfield
Ranch Hand

Joined: Jul 20, 2002
Posts: 193
Can MDB send message to JMS, just like other
JMS client?
Chris Mathews
Ranch Hand

Joined: Jul 18, 2001
Posts: 2712
Sure... there is nothing stopping an MDB from sending JMS Messages.
Naidu Jitta

Joined: May 12, 2003
Posts: 14
hello Jane,
Actaully MDB is a listner, so u can send a message when ever u recieve a message. Until and unless u won't recieve any messages it si not possible to do the same
J. P. Naidu
John King
Ranch Hand

Joined: Aug 27, 2002
Posts: 165
The purpose of MDB is to consume message.
But like any other typies of EJBs, it can
send message to JMS server too.
Consider Paul's rocket mass heater.
subject: MDB question
It's not a secret anymore!