English 中文(简体)
ServletWebServer或WebServer?
原标题:ServletWebServer or WebServer?
  • 时间:2009-09-18 11:19:38
  •  标签:

What is the advantage of using org.apache.xmlrpc.webserver.ServletWebServer instead of or.apache.xmlrpc.webserver.WebServer when working with XMLRPC in JAVA?

我能否利用“SerletWebServer”的原始类型或无效的回归阵列的功能?

问题回答

我回顾,利用WebServer在一项互换申请中推出一个独立的PC服务器。 我的猜测是,在使用SerletWebServer时,需要servlet-api<>jars.(见@Daff response)。

  • If you re using the library in a non Web application, go for WebServer class, it will probably suit your needs.
  • If you re using Apache XMLRPC in a Web application, why not use their servlet and register your handlers?

阅读阿帕奇XMLRPC的文件,看看你能够返回哪一类,如何增加延期(如果需要的话)。





相关问题