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 JMS Real world scenario Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "JMS Real world scenario" Watch "JMS Real world scenario" New topic

JMS Real world scenario

Arjun Reddy
Ranch Hand

Joined: Nov 10, 2007
Posts: 629
Hi All,

Can we use JMS to actually send an email confirmation back to the user asynchronously? Say for example, when using a credit card application, can the credit approve, reject decisions be sent using JMS? Please correct me if I am wrong.


Be Humble... Be Nice.
Adrien Ruffie
Ranch Hand

Joined: Jan 14, 2009
Posts: 92
Hello Arjun,

several questions come to mind, when you say to use JMS for sent a reject decisions you think to use one queue/topic for all the rejected decisions ?
why do you not use JavaMail replyTo ? or you think to use JMS in case -> when a reject decision occured this send a JMS event, and when JMS
listener will receive the event it directly send a email linked to the reject decision ?

I agree. Here's the link:
subject: JMS Real world scenario
It's not a secret anymore!