mx4j/src/examples/mx4j/examples/tools/remote/soap Client.java,1.3,1.4 Server.java,1.3,1.4
Simone Bordet <[email protected]> Wed, 16 Feb 2005 15:31:07 +0000
| Newsgroups | gmane.comp.java.mx4j.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/mx4j/mx4j/src/examples/mx4j/examples/tools/remote/soap
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21699/src/examples/mx4j/examples/tools/remote/soap
Modified Files:
Client.java Server.java
Log Message:
Small changes in comments
Index: Client.java
===================================================================
RCS file: /cvsroot/mx4j/mx4j/src/examples/mx4j/examples/tools/remote/soap/Client.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** Client.java 13 Nov 2004 16:38:35 -0000 1.3
--- Client.java 16 Feb 2005 15:31:05 -0000 1.4
***************
*** 21,25 ****
/**
! * This example shows how to connect to a SOAPConnectorServer.
* MX4J's implementation of the SOAP provider requires Axis 1.1, that in turn requires
* a servlet container to run. The default servlet container used is Jetty 4.2.x.
--- 21,25 ----
/**
! * This example shows how to connect to a JMXConnectorServer over the SOAP protocol.
* MX4J's implementation of the SOAP provider requires Axis 1.1, that in turn requires
* a servlet container to run. The default servlet container used is Jetty 4.2.x.
***************
*** 50,55 ****
public static void main(String[] args) throws Exception
{
! // This JMXServiceURL works only if the SOAPConnectorServer is in-VM with
! // the SOAPConnector. If this is not the case, set the correct host name.
JMXServiceURL address = new JMXServiceURL("soap", null, 8080, "/jmxconnector");
--- 50,55 ----
public static void main(String[] args) throws Exception
{
! // This JMXServiceURL works only if the connector server is in-VM with
! // the connector. If this is not the case, set the correct host name.
JMXServiceURL address = new JMXServiceURL("soap", null, 8080, "/jmxconnector");
Index: Server.java
===================================================================
RCS file: /cvsroot/mx4j/mx4j/src/examples/mx4j/examples/tools/remote/soap/Server.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** Server.java 13 Nov 2004 16:38:35 -0000 1.3
--- Server.java 16 Feb 2005 15:31:05 -0000 1.4
***************
*** 22,26 ****
* Incoming connections from a client will be accepted by Jetty, handed to the
* Axis servlet that interpretes the SOAP invocation, and passed to MX4J's
! * SOAPConnectorServer implementation, and finally routed the MBeanServer.
* Remote notifications are delivered transparently.
* To run this example, you need the following jars:
--- 22,26 ----
* Incoming connections from a client will be accepted by Jetty, handed to the
* Axis servlet that interpretes the SOAP invocation, and passed to MX4J's
! * connector server implementation, and finally routed the MBeanServer.
* Remote notifications are delivered transparently.
* To run this example, you need the following jars:
***************
*** 61,65 ****
JMXServiceURL url = new JMXServiceURL("soap", null, 8080, "/jmxconnector");
! // Create and start the SOAPConnectorServer
// Jetty will listen on port 8080
JMXConnectorServer connectorServer = JMXConnectorServerFactory.newJMXConnectorServer(url, null, server);
--- 61,65 ----
JMXServiceURL url = new JMXServiceURL("soap", null, 8080, "/jmxconnector");
! // Create and start the connector server
// Jetty will listen on port 8080
JMXConnectorServer connectorServer = JMXConnectorServerFactory.newJMXConnectorServer(url, null, server);
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click