摘要
随着计算机网络的迅速发展,远程考试已成为Internet应用的一个热点。然而大多数现有的远程考试系统存在可扩展性差、难以维护的缺陷。MVC设计模式是目前Web应用开发中的一种非常先进的设计思想,使用这种模式不仅可以提供清晰的设计框架,而且使设计过程更加灵活。文中在分析三种常用的MVC角色分配的基础上,结合远程考试的具体应用场合,在系统设计中采用了Servlet,JSP,JavaBean的技术方案。实践证明,采用MVC设计模式的远程考试系统具有良好的可扩展性、灵活性,并且易于维护。
With the development of computer network,distance test system has become a hot point in Internet applications.But most distance test systems have the weaknesses of poor scalability and maintainability.MVC design pattern is an advanced technology to develop Web applications.It provides a clear design frame and makes the design process more flexiable.Based on the analysis of three kinds of MVC role assignment,the role assignment of Servlet,JSP and JavaBean is adopted in the design of distance test system.It is proved by practice that the system designed with MVC has good scalability, flexibility and maintainability.
出处
《微机发展》
2004年第10期73-75,140,共4页
Microcomputer Development