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 » Calling JAR file from ESQL Vs JCN

Post new topic  Reply to topic
 Calling JAR file from ESQL Vs JCN « View previous topic :: View next topic » 
Author Message
dilse
PostPosted: Tue Oct 16, 2007 1:17 pm    Post subject: Calling JAR file from ESQL Vs JCN Reply with quote

Master

Joined: 24 Jun 2004
Posts: 270

All,
I am working on WMQ & WMB V6. I need to design a flow which uses a Java class as part of the processing. I now have the option of either calling JAR file from Compute node ESQL or use JCN to uses this class directly. This is probably going to be a very busy interface. Which is the best option to go with keeping the performance in mind and why? Please share your thoughts.

Thanks much,
DilSe..
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Oct 16, 2007 1:23 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

How much of the message tree do you expect to be impacted by calling your jar file?

How often is the jar file going to change? How many flows are going to need to call the jar file?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
dilse
PostPosted: Tue Oct 16, 2007 1:50 pm    Post subject: Reply with quote

Master

Joined: 24 Jun 2004
Posts: 270

Only one flow is going to call the Jar file. Using the methods in Jar file most of the Message tree is going to change. Jar file calling is going to be a very frequent one(probably once every sec or 10 secs). I am also curious as to how the JVM invocation is going to differ in both scenarios.

Thanks
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Oct 17, 2007 3:26 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

I don't think anyone could tell you a lot about the JVM invocations except the people who wrote the code to do that. I doubt they'll volunteer. It should be mostly the same - there will be an initial crossover from the C/C++ runtime to invoke the Java code (either from ESQL into the Java procedure, or from the MbInputNode implementation to invoke the node), and then as few recrossings as possible.

It's going to be significantly easier to code, and significantly more OBVIOUS what's being done to do this in a JCN.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
dilse
PostPosted: Thu Oct 18, 2007 12:28 pm    Post subject: Reply with quote

Master

Joined: 24 Jun 2004
Posts: 270

Thanks for the information. I tried posing the same question to IBM but didnt get much info from them
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 » Calling JAR file from ESQL Vs JCN
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.