摘要
文章提出了一个基于J2EE多层结构网络教学平台的设计方案,以解决现行网络教学平台存在的层次结构模糊、逻辑分工不明确、系统可扩展性差等问题。方案引入MVC模式进行J2EE组件开发,将数据存储与逻辑处理有效地分开。在系统实现中,引入会话外观模式,用会话bean封装实体bean,改善了数据存取的性能;将业务代理模式和服务定位器模式结合起来,把业务代理插在会话外观和Command类之间,实现W eb层与业务层的进一步分离。
This paper proposes the web instruction platform based on J2EE multi-tier structure, aiming to solve some problems in other present web instruction platforms, such as indefinite tier structure, obscure logic assignment, weak expandability etc. Meanwhile, the system applies MVC pattern to develop J2EE component, which divides data storage and logical transaction. When the system is implemented, some J2EE design patterns are used to improve its stability and security. Firstly, the platform introduces Session Facade pattern, which uses a session bean as a facade to encapsulate entity bean, to improve the capability of data storage. Secondly, Business Delegate is combined with Service Locator, which is located between session facade and command object, to separate web request from logic disposal.
出处
《常州工学院学报》
2007年第1期82-84,87,共4页
Journal of Changzhou Institute of Technology