The project web page (http://xlloop.sourceforge.net/) has sample code of how to start a simple binary function server. It says HTTP protocol is also supported but I don't see any example of how to start up a simple HTTP server. In the .ini file section it explains how to configure the Excel client to work in HTTP mode. But I don't see anything that explains how to start up an HTTP server.
Can you provide an example?
You start it as a Servlet in a server like Tomcat. It's beyond the scope here to explain Servlets, but that's the key.
Following is the code I used to create an XLLoop servlet:
public class MyFunctionServlet extends FunctionServlet
public void init(final ServletConfig config) throws ServletException
FunctionInformationHandler infoHandler = new FunctionInformationHandler();
MyFunctionHandler myHandler = new MyFunctionHandler();
CompositeFunctionHandler compositeHandler = new CompositeFunctionHandler();
Here's an example of adding the new Servlet to the web.xml of tomcat:
Here is the xlloop.ini file I used with the Excel add-in:
Thanks. That's exactly what I was looking for.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.