• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Service Activator - MDB / stand-alone JMS listeners?

 
kri shan
Ranch Hand
Posts: 1473
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can i use Service Activator for MDB or Is it support only stand-alone JMS listeners?
I am planning to implement Service Activator for MDB. I have JMS Queue in the application server. JMS Queue receives jms request with xml payload. Once it receives the request, calls MDB in the application server for business processing. Again MDB calls Stateless Session Bean and Entity Bean (Session Facade). Is it right approach ?
 
Jan Cumps
Bartender
Posts: 2599
12
C++ Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moved to our ejb forum.
 
ramprasad madathil
Ranch Hand
Posts: 489
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
am planning to implement Service Activator for MDB. I have JMS Queue in the application server. JMS Queue receives jms request with xml payload. Once it receives the request, calls MDB in the application server for business processing. Again MDB calls Stateless Session Bean and Entity Bean (Session Facade). Is it right approach ?


Yes, you have the advantage of using CMT in this approach that ties jdbc calls (from the ejbs) to message delivery (to the mdbs).

ram.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic