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 » Access Java variables across Execution group

Post new topic  Reply to topic
 Access Java variables across Execution group « View previous topic :: View next topic » 
Author Message
sudeepm
PostPosted: Fri Jul 09, 2010 1:42 am    Post subject: Access Java variables across Execution group Reply with quote

Acolyte

Joined: 31 Jan 2008
Posts: 57

Is there any variable exist that can be accessed across execution group.

I know that each Execution group has its own JVM.Is there any way to access variables across JVM
Back to top
View user's profile Send private message
smdavies99
PostPosted: Fri Jul 09, 2010 1:47 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

Is this by any chance related to
http://www.mqseries.net/phpBB2/viewtopic.php?t=54339

If so, please do not double post.

Your questions have been asked before in this forum. A simple search on "Broker Java Share" would have given you

http://www.mqseries.net/phpBB/viewtopic.php?t=38354

Did you do this? It really does help to know what efforts you have made to solve the problem for yourself.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
sudeepm
PostPosted: Fri Jul 09, 2010 2:11 am    Post subject: Reply with quote

Acolyte

Joined: 31 Jan 2008
Posts: 57

Acutally I have two req

1) Accessing variable from different flows but within same execution group

2)I also have another requirement to access database cache across JVM(Execution group).I have gone thru various post from this forum and found that there is Cache node.I cannot use Cache node because It dosnot have IBM support.

So i really want to know if there any way in java to access a variable across JVM
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Jul 09, 2010 2:29 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

So it's not okay for you to use category 2 support pacs that are well and thoroughly tested by the community, because they aren't officially supported by IBM...

But it's just fine for you to use your own code that only you support...

interesting.

As to how to do this: what happens when you try it?
Back to top
View user's profile Send private message
sudeepm
PostPosted: Fri Jul 09, 2010 2:41 am    Post subject: Reply with quote

Acolyte

Joined: 31 Jan 2008
Posts: 57

We had proposed Cache node to client but they are relectuant to use.

Thats why I am looking for some other solution.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Jul 09, 2010 2:43 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

sudeepm wrote:
We had proposed Cache node to client but they are relectuant to use.

Thats why I am looking for some other solution.


Yes, I understand that.

What have you tried? What happens?
Back to top
View user's profile Send private message
sudeepm
PostPosted: Fri Jul 09, 2010 2:46 am    Post subject: Reply with quote

Acolyte

Joined: 31 Jan 2008
Posts: 57

right now I have tried only static variable and I am able to use them across flows with in same execution group.

Now I will try to access them across JVM, which I doubt will work..
Back to top
View user's profile Send private message
mqmatt
PostPosted: Fri Jul 09, 2010 2:54 am    Post subject: Reply with quote

Grand Master

Joined: 04 Aug 2004
Posts: 1213
Location: Hursley, UK

Conceptually, I'm not sure this is a good idea. The whole point of execution groups is that they provide isolation from each other.
Back to top
View user's profile Send private message
Gaya3
PostPosted: Fri Jul 09, 2010 5:14 am    Post subject: Reply with quote

Jedi

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

mqmatt wrote:
Conceptually, I'm not sure this is a good idea. The whole point of execution groups is that they provide isolation from each other.


i agreee...the whole concept is to make loosly coupled system....

why cant he deploy the required flows in to the same execution group itself.
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Jul 09, 2010 11:50 am    Post subject: Reply with quote

Grand High Poobah

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

sudeepm wrote:

So i really want to know if there any way in java to access a variable across JVM

This is really Java 101 and has nothing to do with the broker.
Look up the concepts of RMI in a good java tutorial...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Access Java variables across Execution group
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.