工厂设计模式在Java RMI中的应用研究  被引量:4

Application Research of Factory Design Pattern in Java RMI

在线阅读下载全文

作  者:葛萌[1] 杨卫忠 欧阳宏基[1] 

机构地区:[1]咸阳师范学院信息工程学院,咸阳712000 [2]陕西省高速公路建设集团公司服务区管理分公司,西安710061

出  处:《计算机与数字工程》2013年第2期307-309,共3页Computer & Digital Engineering

基  金:咸阳师范学院专项科研基金项目(编号:09XSYK211)资助

摘  要:利用RMI开发分布式应用程序时,远程对象需要注册才能被访问。但注册过多的远程对象会带来命名繁琐以及浪费服务器端内存的问题。因此,提出了一种通过工厂设计模式封装远程对象进行二次查找的方式来访问远程对象,并结合教务管理系统具体阐述了实现过程。实践证明该方式简化了远程对象的注册并能够节约服务器的资源。When taking advantage of the RMI to develop the distributed applications,remote object needs to be registered in order to access.While excessive registration of the remote object brings the problems of named tedious and waste of server-side memory.Therefore,through the factory design pattern to encapsulate the remote object for a secondary find to access it,combined with the educational management system specifically addressed the implementation process come into being.Practice has proved that this pattern simplified the registration of a remote object and can also save server's resources.

关 键 词:RMI 工厂模式 远程对象 

分 类 号:TP391[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象