RMI

远程方法调用


package com.ccl.rmi.bean;

import java.rmi.Remote;

class RemoteMethodInvocationImpl implements Remote {

	private String name;

	public RemoteMethodInvocationImpl() {

	}

	public Object getRMIObject() {

		return new RemoteMethodInvocationImpl();
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

}


展开阅读全文

没有更多推荐了,返回首页