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 » IBM MQ Java / JMS » Is there a JavaScript MQ API?

Post new topic  Reply to topic
 Is there a JavaScript MQ API? « View previous topic :: View next topic » 
Author Message
PeterPotkay
PostPosted: Wed Mar 06, 2002 10:03 am    Post subject: Reply with quote

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
View user's profile Send private message
bduncan
PostPosted: Wed Mar 06, 2002 10:51 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address
kolban
PostPosted: Wed Mar 06, 2002 8:08 pm    Post subject: Reply with quote

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
View user's profile Send private message
ping master
PostPosted: Wed Feb 05, 2003 2:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
kolban
PostPosted: Thu Feb 06, 2003 11:49 am    Post subject: Reply with quote

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
View user's profile Send private message
ping master
PostPosted: Thu Feb 06, 2003 7:08 pm    Post subject: Reply with quote

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
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 » IBM MQ Java / JMS » Is there a JavaScript MQ API?
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.