Author |
Message
|
dilse |
Posted: Tue Oct 16, 2007 1:17 pm Post subject: Calling JAR file from ESQL Vs JCN |
|
|
 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 |
|
 |
jefflowrey |
Posted: Tue Oct 16, 2007 1:23 pm Post subject: |
|
|
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 |
|
 |
dilse |
Posted: Tue Oct 16, 2007 1:50 pm Post subject: |
|
|
 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 |
|
 |
jefflowrey |
Posted: Wed Oct 17, 2007 3:26 am Post subject: |
|
|
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 |
|
 |
dilse |
Posted: Thu Oct 18, 2007 12:28 pm Post subject: |
|
|
 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 |
|
 |
|