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 » Will Java Compute instances act independent of each other?

Post new topic  Reply to topic
 Will Java Compute instances act independent of each other? « View previous topic :: View next topic » 
Author Message
Paul D
PostPosted: Wed Jan 11, 2006 6:57 am    Post subject: Will Java Compute instances act independent of each other? Reply with quote

Master

Joined: 16 May 2001
Posts: 200
Location: Green Bay Packer Country

My company is very interested in pursuing this option for our custom nodes. We have about a 1/2 dozen of these. We hate the 'big bang' of changing their code on the broker side and having all applications pick it up at the same time. The broker toolkit plugin project at the toolkit level (vs workspace or some other lower level) is also a pain. We'd love to move our code for these over into Java computes. Will these new java computes run within their own space in the exe group's JVM so there won't be any conflicts with other instances of that same class running in the same exe? Would that be true for the same java compute class being referenced from a different node in the same flow? I want to make sure these will be acting truly independent of each other or are there some coding considerations for this?
_________________
Thanks!!!

Paul D
Back to top
View user's profile Send private message Visit poster's website
Paul D
PostPosted: Tue Feb 28, 2006 8:44 am    Post subject: Reply with quote

Master

Joined: 16 May 2001
Posts: 200
Location: Green Bay Packer Country

Answering my own post. The JVM is a shared resource at the exe group level. This means that all flows in the exe group will share the code java code deployed in the exe group. If that level of separation is OK for you, then this approach works. If you truly need to have different instances of an instantiated class for each flow, then this does not work for you. Here's an important consideration if you are using java for message body transformations; you need to make sure that the class you call is unique and would not be used by another flow/transformation unless this is intended. All java resources for the java computes are deployed in JAR files that are visible in the exe group. These can be added, deleted, redeployed as needed. Consider them 'services' to the flows. This works for us so we will be using Java Computes going forward.
_________________
Thanks!!!

Paul D
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 » Will Java Compute instances act independent of each other?
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.