Web????????????Node???Java
???????????? ???????[ 2015/4/15 10:45:18 ] ??????????????? WEB???? Node Java
???????
????????????Щ???????????Web Service??????????????Java(REST+SOAP)??Node.js(REST)???Щ????????????????????????????Node??????????????Java???????????????1?????????
????NodeJS???????????????????????????沢????????????й?????????濪?????????ò???????????????????????????????????????д???/?????????????????????????NodeJS???и???????????????????????????????????????nodejs???????????????????????????????CPU???????????
??????μ?:?????????Ngix_Lua??Node.JS Python????????????????php????????PayPal?????Java????Node.js
???????????
?????1???????????????????????????????????????/???
?????2????????????????????
?????????????????????????REST??cache???????HTTP verbs??????Insert=PUT??Fetch=GET??Remove=DELETE)???????????????timeouts(Node)??scheduled threads(Java)????ɡ???????????????????????REST???????????????PUT/DELETE)
????????Java SOAP???????cache????????????HTTP POST SOAP????????
??????ò??
?????3??????Cache??Java REST????????Apache Tomcat+Jersey(servlet)???????
?????4??????Cache??Java SOAP????????Apache Tomcat+Axis2(servlet)???????
?????5???Node??á?????????????worker??
????????
?????6:??????????????
????Java+Node REST??????????
????ab-A username:password-u restput.txt-n 1000-c 1 https://server/ctispan/rest/key/111>results.txt
????restput.txt
????value=test111
????Java SOAP??????????
????ab-A client:password-T"application/soap+xml;charset=UTF-8"-p soapget.xml-n 1000-c 1
????https://server/ctispan/services/CacheProxyWS.CacheProxyWSHttpSoap11Endpoint/>
????results.txt
????soapget.xml
????<?xml version='1.0'encoding='UTF-8'?>
????<soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"><soapenv:Body>
????<ns1:getValue xmlns:ns1="http://server.ctispan.jwisoft.com"><ns1:key>111</ns1:key>
????</ns1:getValue></soapenv:Body></soapenv:Envelope>
????Java SOAP??????????
????ab-A client:password-T"application/soap+xml;charset=UTF-8"-p soapput.xml-n 1000-c 1
????https://server/ctispan/services/CacheProxyWS.CacheProxyWSHttpSoap11Endpoint/>results.txt
????soapput.xml
????<?xml version='1.0'encoding='UTF-8'?>
????<soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">
????<soapenv:Body><ns1:putValue xmlns:ns1="http://server.ctispan.jwisoft.com">
????<ns1:key>111</ns1:key><ns1:value>text111</ns1:value></ns1:putValue>
????</soapenv:Body></soapenv:Envelope>
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11