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 » Best practice to place jar files referenced in messageflows

Post new topic  Reply to topic
 Best practice to place jar files referenced in messageflows « View previous topic :: View next topic » 
Author Message
Pats21
PostPosted: Wed Dec 10, 2014 10:19 am    Post subject: Best practice to place jar files referenced in messageflows Reply with quote

Disciple

Joined: 08 Sep 2006
Posts: 154

Hi,

I would like to know what is the best practice to maintain external jar files that are being used as part of the messageflow, say in a JavaCompute node.

Is it good to keep it inside the bar file or in the 'shared-classes' folder?


Thanks in advance.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Dec 10, 2014 10:28 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

It's best to keep them in a location pointed to by a JavaClassloader configurable service.
Back to top
View user's profile Send private message
Pats21
PostPosted: Wed Dec 10, 2014 8:37 pm    Post subject: Reply with quote

Disciple

Joined: 08 Sep 2006
Posts: 154

Thanks for your guideline.
Back to top
View user's profile Send private message
zpat
PostPosted: Thu Dec 11, 2014 1:56 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

BUT - any use of JAR files suggests you are not using the built-in capabilities of the message broker.

Please explain why you think you need to use JAR files?

Running non-IBM code inside WMB/IIB can cause problems - especially if you access external resources.
_________________
Well, I don't think there is any question about it. It can only be attributable to human error. This sort of thing has cropped up before, and it has always been due to human error.
Back to top
View user's profile Send private message
prabhu_s1177
PostPosted: Fri Dec 12, 2014 12:27 am    Post subject: Reply with quote

Apprentice

Joined: 26 Nov 2007
Posts: 34

If in case of external jars, usually it will be placed in the Shared-classes.

If those jars are specific to some flows running on a particular execution group. It is advisable to keep in the execution group level shared classes.

If those jars are used by flows used by one or more execution group. Keep them in broker level shared-classes.
Back to top
View user's profile Send private message
zpat
PostPosted: Fri Dec 12, 2014 12:40 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

Don't use external JAR files other than in truly exceptional cases where the product cannot do what you need. Always ask a broker expert first, before deciding that you have to use any JAR files.

What is this exceptional case?
_________________
Well, I don't think there is any question about it. It can only be attributable to human error. This sort of thing has cropped up before, and it has always been due to human error.
Back to top
View user's profile Send private message
prabhu_s1177
PostPosted: Fri Dec 12, 2014 12:52 am    Post subject: Reply with quote

Apprentice

Joined: 26 Nov 2007
Posts: 34

Again external jars are based on the requirement and where product itself cannot do what we need, as you mentioned
Back to top
View user's profile Send private message
zpat
PostPosted: Fri Dec 12, 2014 12:57 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

How about you tell us what this requirement is and we can see if you are right or not?
_________________
Well, I don't think there is any question about it. It can only be attributable to human error. This sort of thing has cropped up before, and it has always been due to human error.
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 » Best practice to place jar files referenced in messageflows
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.