Start writing your own pyburlap

xiaoxiao2021-03-05  32

Old Mai's Amowa finally had a realization: buffalo [http://www.amowa.net/buffalo], and the client package is really good, the whole is a whole, the more I feel interesting, especially the core Buffalo [http://www.caucho.com/resin-3.0/protocols/burlap.xtp] protocol, it is indeed a conciseness than XMLRPC, looking for it, there is no Python's implementation, OK, then write A pyburlap, I believe that it is definitely simpler than Java, which is equipped with the JS end of the old wheat package, will definitely make the use more convenient :) OK, start the first step, build the environment to open the dust-free Eclipse, establish Burlap Server-side environment, first write a simple interface ihello

Public interface Ihello {public abstract string hello ();} then is his implementation

Public class helloservice extends burpservlet imports ihello {public string hello () {system.out.println ("hello"); return "Hello World!";}} Take HelloService as a normal servlet configuration, then run Tomcat Client call

转载请注明原文地址:https://www.9cbs.com/read-33286.html

New Post(0)