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 » Transformation options

Post new topic  Reply to topic
 Transformation options « View previous topic :: View next topic » 
Author Message
RocknRambo
PostPosted: Mon Sep 14, 2009 1:17 pm    Post subject: Transformation options Reply with quote

Partisan

Joined: 24 Sep 2003
Posts: 355

What should be the preferred way for transformations in MB (Compute/ESQL, JCN/Java, MappingNode, XSLT, PHP)? I understand there were performance advantages on choosing ESQL to be the preferred. Is that still true?

IBM claims the mapping node in MB v7.0 has been refined/modified to match the performance with introduction of parser 'XMLNSC'. But, I always had a perception that using mapping nodes we have to create message sets which increases the LOE.

Can anyone share their experience in establishing a standard in an organization on using transformation nodes.

Thanks
-RR
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Sep 14, 2009 1:30 pm    Post subject: Re: Transformation options Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

RocknRambo wrote:
What should be the preferred way for transformations in MB (Compute/ESQL, JCN/Java, MappingNode, XSLT, PHP)? I understand there were performance advantages on choosing ESQL to be the preferred. Is that still true?

IBM claims the mapping node in MB v7.0 has been refined/modified to match the performance with introduction of parser 'XMLNSC'. But, I always had a perception that using mapping nodes we have to create message sets which increases the LOE.

Can anyone share their experience in establishing a standard in an organization on using transformation nodes.

Thanks
-RR

The main performance gain in ESQL was that it allowed you to work with REFERENCES and as such you were not forced to "walk the tree" for each assignment....
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
RocknRambo
PostPosted: Mon Sep 14, 2009 1:41 pm    Post subject: Reply with quote

Partisan

Joined: 24 Sep 2003
Posts: 355

REFERENCES , you mean ESQL field references?. We are trying to establish standards in using MB especially development (code standards) as dev. team has consultants working for a particular period of time or project, we don't want everyone using their own transformation options based on their comfortness.

I might be too ambitious, will there be a doc from IBM or any article outlines the criteria to choose transformation nodes.

Thanks
-RR
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Sep 14, 2009 1:46 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

RocknRambo wrote:
REFERENCES , you mean ESQL field references?.

Exactly what I am talking about...

You can also write snippets of code, say transforming a particular msg header, package it into a procedure and put this into a broker schema.

You can then call this from which ever flow when needed and have to code it only once...

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
kimbert
PostPosted: Tue Sep 15, 2009 12:42 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Quote:
IBM claims the mapping node in MB v7.0 has been refined/modified to match the performance with introduction of parser 'XMLNSC'. But, I always had a perception that using mapping nodes we have to create message sets which increases the LOE.
Is that really a direct quote from an IBM document? The facts are:
- XMLNSC was introduced in v6.0
- XMLNSC was rewritten with significant performance gains and major new functionality in v6.1
- XMLNSC has zero effect on mapping performance. XMLNSC is a parser. Mapping node is a transformation option. XMLNSC creates a message tree from an XML document. The Mapping node ( or ESQL, or Java, or PHP ) makes changes to a message tree.
Quote:
The main performance gain in ESQL was that it allowed you to work with REFERENCES and as such you were not forced to "walk the tree" for each assignment
If you are using a JavaCompute node, an instance of MbElement is exactly equivalent to an ESQL reference.
Quote:
You can also write snippets of code, say transforming a particular msg header, package it into a procedure and put this into a broker schema.
You can then call this from which ever flow when needed and have to code it only once
In the Mapping node, you can create 'sub-maps' to do a similar trick. In Java, you can organise your classes/methods however you like to achieve good code structure.

Quote:
But, I always had a perception that using mapping nodes we have to create message sets which increases the LOE.
It is good practice to create message sets to describe your messages whether or not you deploy them. It makes your message flow easier to write ( you get content assist in ESQL ). It makes your message flow easier to maintain. It allows you to validate your input/output messages if you need to. What I'm trying to say is, 'don't avoid creating message sets'.

There are certain features which are only available in ESQL ( mostly relating to ASBITSTREAM and CREATE...PARSE ). Don't make the decision on performance alone - Java and ESQL are roughly equivalent.
If you choose Java, make sure you know why you are choosing it. It's quite easy to write poor transformation logic using a JavaCompute node.
( mind you, same's true of ESQL or any other language ).
Back to top
View user's profile Send private message
Gaya3
PostPosted: Tue Sep 15, 2009 1:12 am    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

kimbert, thanks for sharing this info,
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
rbicheno
PostPosted: Tue Sep 15, 2009 11:21 am    Post subject: Reply with quote

Apprentice

Joined: 07 Jul 2009
Posts: 43

People generally choose the transformation option that best fits them based on skills or reuse i.e. Java programmers use Java, those from a SQL background will use ESQL. If you need to do simple transformations with no programming then look at mapper.

In terms of perfomance you can see the relative perfomance of some of the WMB transformation options by looking at the WMB v6.1 performance reports here: http://www-01.ibm.com/support/docview.wss?uid=swg27007150

If you decide to use the mapping tool then have a look at IA9Y:
http://www-01.ibm.com/support/docview.wss?rs=171&uid=swg24017156&loc=en_US&cs=utf-8&lang=en

If you choose Java or ESQL I would also suggest you look at the coding tips in IP04: http://www-01.ibm.com/support/docview.wss?rs=171&uid=swg24006518&loc=en_US&cs=utf-8&lang=en
Back to top
View user's profile Send private message
RocknRambo
PostPosted: Thu Oct 29, 2009 12:46 pm    Post subject: Reply with quote

Partisan

Joined: 24 Sep 2003
Posts: 355

We are down to using either ESQL or Mapping Node.

we are trying not to narrow down the developer options but at the same time come up with standards based on some criteria. Can any share what could be the criteria for choosing mapping node over ESQL or vice versa.

The need for using 'ASBITSTREAM and CREATE...PARSE' is the criteria to choose ESQL.
Back to top
View user's profile Send private message
kimbert
PostPosted: Thu Oct 29, 2009 3:07 pm    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Why does it have to be Mapping node *or* ESQL? Why not using Mapping node for the simple stuff, and ESQL when you need the power?
Back to top
View user's profile Send private message
RocknRambo
PostPosted: Thu Oct 29, 2009 4:17 pm    Post subject: Reply with quote

Partisan

Joined: 24 Sep 2003
Posts: 355

I like the approach of hybrid option. In order for us to put up standards for the same, we need to come criteria or requirement scenario.

Can you pls. elaborate "when you need the power?" like what kind?

Thanks for your response.

-RR
Back to top
View user's profile Send private message
sirsi
PostPosted: Fri Oct 30, 2009 1:50 am    Post subject: Reply with quote

Disciple

Joined: 11 Mar 2005
Posts: 177

you will need compute node for complex transformations(applying complex business logic for transformations)...

use mapping node for simple mappings between input-output tree, like if the requirement is to map using simple transformations like substring, cast etc etc


it comes down to you to decide what to use... if u still cant figure out... try a POC with both mapping and compute node
Back to top
View user's profile Send private message
kimbert
PostPosted: Fri Oct 30, 2009 4:19 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Quote:
In order for us to put up standards for the same, we need to come criteria or requirement scenario.
I advise you to lower your expectations. You cannot make simple rules about software development. You can issue guidelines, and ask developers to justify their decisions.

My advice - let the developers decide what the criteria are, and then docment them. Make sure that they are flexible, though.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Transformation options
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.