It's not a secret anymore!
The moose likes EJB and other Java EE Technologies and the fly likes Service Activator - MDB / stand-alone JMS listeners? 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 "Service Activator - MDB / stand-alone JMS listeners?" Watch "Service Activator - MDB / stand-alone JMS listeners?" New topic
Author

Service Activator - MDB / stand-alone JMS listeners?

kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1396
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

Joined: Dec 20, 2006
Posts: 2543
    
  10

Moved to our ejb forum.


OCUP UML fundamental and ITIL foundation
ramprasad madathil
Ranch Hand

Joined: Jan 24, 2005
Posts: 489

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.
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Service Activator - MDB / stand-alone JMS listeners?
 
It's not a secret anymore!