在哪些情况下需要远程加载类? [英] In which scenarios the remote class loading are needed?

查看:73
本文介绍了在哪些情况下需要远程加载类?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

远程类加载是指加载在执行位置未显示的类.

Remote class loading means load classes which are not presented in the place where they are executed.

例如,Java Applet需要将类从服务器加载到本地并在本地执行.

For example, Java Applet needs to load classes from server to local and execute them locally.

某些包含URLClassLoader的程序需要从网络加载类,并在本地执行.

Some programs containing URLClassLoader need load classes from network, and execute locally.

RMI怎么样?我找到了一个名为RMIClassLoader的类?是远程类加载吗?

How about RMI? I found a class called RMIClassLoader? Is it remote class loading?

推荐答案

如果要编写应用程序服务器或类似服务器.IE. JPPF使用远程类加载来执行分布式计算.

If you are writing an application server or similar. I.e. JPPF uses remote class loading to perform your distributed computations.

这篇关于在哪些情况下需要远程加载类?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆