Author |
Message
|
PeterPotkay |
Posted: Wed Mar 06, 2002 10:03 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
Is it possible to MQ enable an application written in JavaScript?
_________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
bduncan |
Posted: Wed Mar 06, 2002 10:51 am Post subject: |
|
|
Padawan
Joined: 11 Apr 2001 Posts: 1554 Location: Silicon Valley
|
No, but using Netscape's LiveConnect (works with IE too I believe) you can call Java code from javascript. This way you can instantiate whatever MQ-related classes you need and call the appropriate methods in Java, all from your javascript. Here are links to a few resources:
http://www.netscape.com/eng/mozilla/3.0/handbook/plugins/
If you click the last link on the page and goto the LiveConnect section, it'll explain everything...
_________________ Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator |
|
Back to top |
|
 |
kolban |
Posted: Wed Mar 06, 2002 8:08 pm Post subject: |
|
|
 Grand Master
Joined: 22 May 2001 Posts: 1072 Location: Fort Worth, TX, USA
|
Actually you can use MQ from JavaScript as well as VBA but only in a windows environment on IE. You would use the MQ COM/ActiveX interface. Samples are supplied with this package. |
|
Back to top |
|
 |
ping master |
Posted: Wed Feb 05, 2003 2:09 pm Post subject: |
|
|
 Centurion
Joined: 20 Sep 2002 Posts: 116 Location: USA
|
would you need to include COM.IBM.MQ.PCF.jar to run pcf commands with javscript through the web page? the functionallity isn't included in the MQAX200.dll
thanks |
|
Back to top |
|
 |
kolban |
Posted: Thu Feb 06, 2003 11:49 am Post subject: |
|
|
 Grand Master
Joined: 22 May 2001 Posts: 1072 Location: Fort Worth, TX, USA
|
We musn't confuse Java and JavaScript. You can't call any Java functions or classes from JavaScript. They are not compatible. You certainly can't use code/classes contained in a JAR from JavaScript. It won't work.
You must build the PCF messages yourself. |
|
Back to top |
|
 |
ping master |
Posted: Thu Feb 06, 2003 7:08 pm Post subject: |
|
|
 Centurion
Joined: 20 Sep 2002 Posts: 116 Location: USA
|
thanks neil , where would I find documentation to give me the steps for building a PCF message myself with Javascript. I dont see any mention in the pcf mqai manual.
thanks I appreciate you answers |
|
Back to top |
|
 |
|