The moose likes EJB and other Java EE Technologies and the fly likes J2EE application and MQSeries 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 "J2EE application and MQSeries" Watch "J2EE application and MQSeries" New topic

J2EE application and MQSeries


Joined: May 24, 2005
Posts: 10
Hi folks,
What would be the best way for a J2EE application to communicate with DB2 using MQSERIES?Is it using the Java/MQSeries API or using JMS?

Thanks in advance.

Barend Garvelink
Ranch Hand

Joined: Dec 07, 2004
Posts: 64
I don't really understand what you mean by "to communicate with DB2 using MQSERIES".

If you have to receive messages from a queue and store their contents in the database, put a Message-Driven Bean on the queue (this implies JMS) and update your database using whatever database technique you've standardised on for your project.

SCJP 1.4, SCJD 1.4, SCWCD 1.3, ICSD:Websphere 5.1
I agree. Here's the link:
subject: J2EE application and MQSeries
It's not a secret anymore!