摘要
在基于Web客户的程序设计模式中,常采用模式 视图 控制器(M V C)的设计方法,其中控制器(Controller)常用Servlet程序来实现,它负责分发各种请求和调用其它模块。因此,它对整个系统的性能起着至关重要的作用。本文详细分析了基于Servlet的线程级安全,并提出了具体的实现方法,确保Servlet程序高效而安全地运行。
Based on the programming mode of Web client,the method of mode-view-controller(M-V-C) is usually used.Servlet program often acts as controller,which is in charge of dispatching each request and calling other modules.So it plays a very important role to the whole system.This paper analyses the threads security of Servlet program in detail,and presents the implementation methods,which ensure the whole system more efficient and more secure.
出处
《计算机与现代化》
2004年第10期85-87,共3页
Computer and Modernization
基金
国家自然科学基金资助项目(60074032)