ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » MQSI/WMQI direct access to databases?

Post new topic  Reply to topic
 MQSI/WMQI direct access to databases? « View previous topic :: View next topic » 
Author Message
zpat
PostPosted: Thu Nov 20, 2003 2:58 am    Post subject: MQSI/WMQI direct access to databases? Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

How many sites are directly accessing or updating production business databases via ODBC from MQSI/WMQI message flows?

As opposed to sending a MQ message off to another component on another platform to access the database?

What are the pros and cons of each approach?
Back to top
View user's profile Send private message
wmqiguy
PostPosted: Thu Nov 20, 2003 10:03 am    Post subject: Reply with quote

Centurion

Joined: 09 Oct 2002
Posts: 145
Location: Florida

I've seen both and here is my quick $.02:

1. The purist in my soul thinks that applications are ultimately responsible for their own data. The traditional application architecture has Presentation, Business Logic, and Data Access. Middleware is just a method that two applications use to pass data back and forth. Therefore, WMQI should just provide messages to the receiving application. That application is then responsible for all the inserts/updates, etc. Additionally, it moves all those costly DB I/O functions off of my EAI Server.

2. On the other hand.....(and there is always another hand), having WMQI do the insert does have its advantages. For instance, it simplifies coordinating the transaction since I can do it within the broker.

Like most things in IT, it depends more on what your environment (technical and political) is like and what you are trying to accomplish. I usually push for #1 and then default to #2, depending on what the environment is like.

Good luck.
Back to top
View user's profile Send private message
Missam
PostPosted: Thu Nov 20, 2003 2:46 pm    Post subject: Reply with quote

Chevalier

Joined: 16 Oct 2003
Posts: 424

Hi wmqiguy,
Even though WMQI suggests to avoid calls to DB from flows.There will be situations you have to hit the database.what you do if both sending and receiving applications are not willing to change the code to hit the database.
Thanx
sam
Back to top
View user's profile Send private message
RatherBeGolfing
PostPosted: Fri Nov 21, 2003 6:14 am    Post subject: Reply with quote

Centurion

Joined: 12 Nov 2002
Posts: 118
Location: Syracuse, NY, USA

We do both in our shop. If there is an existing component that is already responsible for interfacing with the database, then we try to communicate with that first. Many of our legacy apps are on the mainframe, so we make a good bit of use of the Aggregate Node to launch both CICS and IMS/DC transactions.

However, we have also coded flows that directly insert/update data into both mainframe and SQL Server databases via ODBC. Less of the former than the latter.

Larry
Back to top
View user's profile Send private message
zpat
PostPosted: Fri Nov 21, 2003 7:28 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

All the above makes sense to me. It probably depends how close the database is to the WMQI broker both physically and platform wise.

I don't like the idea of UNIX ODBC to the mainframe DB/2 - no way to XA coordinate it for one thing.
Back to top
View user's profile Send private message
kirani
PostPosted: Sat Nov 22, 2003 10:46 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

zpat wrote:
I don't like the idea of UNIX ODBC to the mainframe DB/2 - no way to XA coordinate it for one thing.

Yes, I agree with you. It will be too much of an overhead.

In our shop we access database from our message flows. We read from DB2 (on Windows and M/F) and sQL server databases and update DB2 (on windows only). I guess it depends how you want to design your application. Sometimes you cannot separate your DB logic/access from transformation.
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » MQSI/WMQI direct access to databases?
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.