集中式Excel处理框架 XLLoop

码农软件 · 软件分类 · Excel开发包 · 2019-09-17 09:57:46

软件介绍

XLLoop 是一个开源的框架用来实现集中式(通过一个中央服务器)的Excel处理服务。支持包括 Java、Python、Ruby、JavaScript、ErLang 等语言。

服务器端 Java 示例代码:

package org.boris.xlloop.util;

import org.boris.xlloop.FunctionServer;
import org.boris.xlloop.handler.*;
import org.boris.xlloop.reflect.*;

public class ServerExample
{
private static final boolean LOAD_BALANCE = false;

public static void main(String[] args) throws Exception {
// Create function server on the default port
FunctionServer fs = new FunctionServer();

// Create a reflection function handler and add the Math methods
ReflectFunctionHandler rfh = new ReflectFunctionHandler();
rfh.addMethods("Math.", Math.class);
rfh.addMethods("Math.", Maths.class);
rfh.addMethods("CSV.", CSV.class);
rfh.addMethods("Reflect.", Reflect.class);

// Create a function information handler to register our functions
FunctionInformationFunctionHandler firh = new FunctionInformationFunctionHandler();
firh.add(rfh.getFunctions());

// Create a function handler to demonstrate the "load balancing"
// capability
GetLoadServerFunctionHandler glsfh = new GetLoadServerFunctionHandler();

// Set the handlers
CompositeFunctionHandler cfh = new CompositeFunctionHandler();
cfh.add(rfh);
cfh.add(firh);
if (LOAD_BALANCE)
cfh.add(glsfh);
fs.setFunctionHandler(new DebugFunctionHandler(cfh));

// Run the engine
System.out.println("Listening on port " + fs.getPort() + "...");
fs.run();
}
}

本文地址:https://codercto.com/soft/d/14780.html

大话存储Ⅱ

大话存储Ⅱ

张冬 / 清华大学出版社 / 2011-5 / 99.00元

《大话存储2:存储系统架构与底层原理极限剖析》内容简介:网络存储是一个涉及计算机硬件以及网络协议/技术、操作系统以及专业软件等各方面综合知识的领域。目前国内阐述网络存储的书籍少之又少,大部分是国外作品,对存储系统底层细节的描述不够深入,加之术语太多,初学者很难真正理解网络存储的精髓。《大话存储2:存储系统架构与底层原理极限剖析》以特立独行的行文风格向读者阐述了整个网络存储系统。从硬盘到应用程序,对......一起来看看 《大话存储Ⅱ》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换