开发者

Accessing function of remote pc

开发者 https://www.devze.com 2023-02-24 01:06 出处:网络
There are 2 computers connected via internet. The first pc has first.c开发者_运维知识库lass file and remote pc has second.class file.

There are 2 computers connected via internet. The first pc has first.c开发者_运维知识库lass file and remote pc has second.class file.

I want to access one of the function of the remote pc (that has second.class file). How can i do this?


You need RMI (remote method invocation). Read the tutorial and you'll see how you can achieve what you want.


You should read about RMI (Remote Method Invocation)


With a Remote Procedure Call (RPC) such as RMI or RPC-XML.


You need Java RMI for that kind of distributed systems, check that attached link.


Whilst RMI can help, you should take a look at Akka's Remote Actors for a higher level (easier-to-use) abstraction.

0

精彩评论

暂无评论...
验证码 换一张
取 消