Author |
Message
|
kenward |
Posted: Fri Jul 16, 2010 12:12 pm Post subject: MQ V7 server exits and java |
|
|
 Apprentice
Joined: 01 Jun 2010 Posts: 41 Location: Detroit, MI
|
Do V7 serverside channel security exits still need to be written in C? Can we use Java now?
-Jeff |
|
Back to top |
|
 |
Vitor |
Posted: Fri Jul 16, 2010 1:00 pm Post subject: Re: MQ V7 server exits and java |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
kenward wrote: |
Do V7 serverside channel security exits still need to be written in C? Can we use Java now? |
What does the v7 documentation say?
AFAIK the queue manager doesn't come with a JVM even in v7, but what do I know about Java???  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
mqjeff |
Posted: Sun Jul 18, 2010 10:53 am Post subject: Re: MQ V7 server exits and java |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Vitor wrote: |
AFAIK the queue manager doesn't come with a JVM even in v7, but what do I know about Java???  |
It really depends on what you mean by "come with a JVM".
Certainly MQ Explorer installs one.
Regardless, though, it is my understanding that certain people believe that it can not get cold enough in certain places in order for the queue manager processes to be based on a JVM in any sense, nor to call out to one.
This doesn't stop someone feeling rather explicitly twitchy from writing JNI code that calls out to Java from within a C queue manager exit.
So, kenward, to be clear... You still need to write C. Do not expect this to change. |
|
Back to top |
|
 |
Vitor |
Posted: Sun Jul 18, 2010 2:02 pm Post subject: Re: MQ V7 server exits and java |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
mqjeff wrote: |
Vitor wrote: |
AFAIK the queue manager doesn't come with a JVM even in v7, but what do I know about Java???  |
It really depends on what you mean by "come with a JVM".
Certainly MQ Explorer installs one. |
But if MQ Explorer is running a queue manager it's news to me!  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
RogerLacroix |
Posted: Mon Jul 19, 2010 8:13 am Post subject: Re: MQ V7 server exits and java |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
|
kenward wrote: |
Do V7 serverside channel security exits still need to be written in C? |
Yes. (or Assembler on z/OS)
kenward wrote: |
Can we use Java now? |
Only for client-side security exits.
If you are about to write a security exit please note it is an advanced topic and you SHOULD be an very experienced programmer / developer who has had lots of experience with creating / building DLLs / shared libraries and understands the concept of parallel programming.
Also, why are you re-inventing the wheel when there are lots of available security exits?
A list of free samples can be found here:
http://www.capitalware.biz/mq_code_c.html#exitcode
A list of commercial MQ Security Solutions can be found here:
http://www.capitalware.biz/mq_tools_comm.html#mqsecurity
Regards,
Roger Lacroix
Capitalware Inc. _________________ Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter |
|
Back to top |
|
 |
kenward |
Posted: Tue Jul 20, 2010 7:36 am Post subject: |
|
|
 Apprentice
Joined: 01 Jun 2010 Posts: 41 Location: Detroit, MI
|
Wheels have been invented?!?!?!?! Why haven't I heard about this?!?!?! |
|
Back to top |
|
 |
Vitor |
Posted: Tue Jul 20, 2010 8:04 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
kenward wrote: |
Wheels have been invented?!?!?!?! Why haven't I heard about this?!?!?! |
This is what you get for not using the search facility - no wheels.
And if you try and write an exit without knowing exactly what you're doing the wheels are certainly going to come off.  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|