Hi
Hari,
Those
are some big questions. Here's the short answers:
1. To
start the server, just write your own java program and have it call the
code you included below. Put the server.start() in the main() method, for
example. To stop the server, call server.shutdown().
2. I
integrate into Tomcat (and will eventually integrate into Oracle 10gAS) as a
servlet. You should refer to your server framework documentation to
see how to support servlets. Use the xmlrpc examples to write your own
servlet (basically, you register your handler with an xmlrpcserver, then have
the doPost() method calls xmlrpcserver.execute()) and integrate that into
websphere or weblogic.
3. I
use it for testing and haven't had any problems with it, but I sure wouldn't use
it for any application with the word "bank" in it. There many better Webservers
out there for all budgets.
My
answers are my opinions, others may view things
differently...
-D
-----Original Message-----
From: Hari Cahyadi [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 21, 2004 7:33 AM
To: [EMAIL PROTECTED]
Subject: Ask about how to integrate XML RPC server with existing application serverHi, I am newbie in XML-RPC, I built application with XML RPC, in the server side I use org.apache.xmlrpc.WebServer; like thisWebServer server = new WebServer(8082);
server.addHandler("bankDana", new JavaServerBackEnd());
server.start();my question is:1. how to stop and start this server like I use tomcat for example. In tomcat we can use catalina start and catalina stop?2. How to embed the XML-RPC library into an existing server framework like IBM websphere and BEA weblogic?3. How strong or how robust org.apache.xmlrpc.WebServer to handle request from client.Thanx for the answerBest Regard,Hari Cahyadi
Do you Yahoo!?
Y! Messenger - Communicate in real time. Download now.
