aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Is it possible to Make Servlet act as JMS Message listener? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Is it possible to Make Servlet act as JMS Message listener?" Watch "Is it possible to Make Servlet act as JMS Message listener?" New topic
Author

Is it possible to Make Servlet act as JMS Message listener?

Azrael Noor
Ranch Hand

Joined: Jul 29, 2010
Posts: 382
Is it possible to Make Servlet act as JMS Message listener?
If yes then how?
If no then why?

Please reply.
Thankyou


Regards
Azrael Noor
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10200
    
166

Azrael Noor wrote:Is it possible to Make Servlet act as JMS Message listener?


Why do you want a servlet to listen to some JMS message instead of services requests? I mean why do you want it to be a servlet as well as a message listener?


[My Blog] [JavaRanch Journal]
Azrael Noor
Ranch Hand

Joined: Jul 29, 2010
Posts: 382
1) I do not want Multiple MDB's.
2) Using @Resource i could mapped multiple connections and Destinations inside servlet and use it for ma work.
3) i have to show output in form of web application.

Question again is it possible or not? if yes then how

thank you

Azrael Noor
Ranch Hand

Joined: Jul 29, 2010
Posts: 382
Servlet can listen it. but it will not behave same as MDB and behavior randomly changes,
have to deploy more then one and so on so not good approach

Thank you
topic Closed
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Is it possible to Make Servlet act as JMS Message listener?