Ulises,
Yes, MA88 supplies all you would need to use either the JMS api or the 
MQI api from a servlet. The biggest thread safety issue that I have 
found is the use of static MQEnvironment variables for setting up 
connection info prior to instanciating a "queue manager" object in the 
MQI api.
There are really two solutions to this issue.
1) put this instantiation in a synchronized method. 
 (and take the performance penalty of single threading on this operation)
2) use the constructor that takes a Hashtable of the connection info as a parm.

John Zerbe - Mellon Financial Corp.
Information Technology Solutions - Middleware Team
Phone:  412-234-1048   E-Mail:[EMAIL PROTECTED]
AIM: 153-1315



-----Original Message-----
From: Ulises [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 12, 2003 4:24 PM
To: [EMAIL PROTECTED]
Subject: Re: Jps(or Servlet) with MQ-SERIES in windows NT.


Hi all:
The download page of MA88 supportpak say:MQSeries classes for Java
The MQSeries classes for Java allow a program written in the Java programming language 
to connect to MQSeries as an MQSeries client using TCP/IP, or directly to an MQSeries 
server using the Java Native Interface (JNI). They allow Java applets, applications, 
and servlets access to the messaging and queuing services of MQSeries. If the 
client-style connection is used, no additional MQSeries code is required on the client 
machine. The MQSeries classes for Java enable a message-based approach to application 
integration using Java.

This mean that the resources of mq.jar are  sufficients in order to use this classes 
from servlet or jsp? I want to say, to development a thread safe component.

Thanks in advance, Ulises.




DISCLAIMER:
The information contained in this e-mail may be confidential and is intended solely 
for the use of the named addressee. Access, copying or re-use of the e-mail or any 
information contained therein by any other person is not authorized. If you are not 
the intended recipient please notify us immediately by returning the e-mail to the 
originator.

==========================================================================To 
unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".

Some relevant archives, FAQs and Forums on JSPs can be found at:

 http://java.sun.com/products/jsp
 http://archives.java.sun.com/jsp-interest.html
 http://forums.java.sun.com
 http://www.jspinsider.com

Reply via email to