RMI via JMS

码农软件 · 软件分类 · 网络工具包 · 2019-03-01 19:28:23

软件介绍

RMI via JMS这个Java类库可以让你通过JMS(如:ActiveMQ)来实现Java远程方法调用(RMI)。

当你使用RMI via JMS时,所有远程RMI对象将绑定到JMS消息总线上的目的地(Destination)中。这样就可以利用消息总线来达到更好的可用性和可扩展性。

示例代码:

public class HelloWorldCallback
    extends UnicastRemoteObject
    implements IHelloWorldCallback {
       
    HelloWorldCallback() throws RemoteException {
    }
    public void execute(String value) {
        System.out.println("Hello World: "+value);
    }
}

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

The Little Typer

The Little Typer

Daniel P. Friedman、David Thrane Christiansen、Duane Bibby、Robert Harper、Conor Mcbride / MIT Press / 2018-10-16 / GBP 30.00

An introduction to dependent types, demonstrating the most beautiful aspects, one step at a time. A program's type describes its behavior. Dependent types are a first-class part of a language, and are......一起来看看 《The Little Typer》 这本书的介绍吧!

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具