摘要
提出了在多层体系结构中,通过大量细粒度网络调用从服务器获取数据的性能问题;讲述了在J2EE中怎样使用EJB(Enterprise Java Bean)设计模式中的层间数据传输对象解决此问题,并能获得较好的系统性能;讨论了使用此模式的优势是能很快组织项目团队并使应用具有较高的数据传输性能,同时也指出了使用此模式数据一旦到达客户端,就可能成为过时的数据,需要配合版本号设计模式来解决这个问题。
Firstly, the performance question of retrieving data from server is put forward by multiple fine-grained network call in multi-tier software system. And the how to use inter-tier data transfer object in EJB design patterns is discussed to solve the question in J2EE. At last, the benefits of choosing this design pattern can quickly organize the project team and make the application to have better performance of data transfer, as soon as data arrives client in this pattern, the data could be stale, so designer should use version number pattern to cooperate to solve it.
出处
《计算机工程与设计》
CSCD
2004年第6期884-885,888,共3页
Computer Engineering and Design
基金
中国工程物理研究院预研基金项目(2003-421050504-12-02)。
关键词
设计模式
数据传输对象
EJB
J2EE
design patterns
data transfer object
(enterprise Java bean) EJB
J2EE