Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Message driven bean

 
James J Xu
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
After payment, there is email confirmation send to customer. I wonder should we use message driven bean here?

James
 
Parag Doshi
Ranch Hand
Posts: 317
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yeah..thats one way of doing it. I think the Petstore uses a EmailSender MDB for similar purpose..

Parag
 
roy siju
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Another way can be implementing Service Activator pattern ( If u want to stick to ejb 1.1 spec and not want to use MDB )
http://java.sun.com/blueprints/corej2eepatterns/Patterns/ServiceActivator.html

Thanks
Roy
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic