本文在分析传统Struts框架和Web Service集成模式存在的不足的基础上,提出了一种新的Struts和Web Service集成模式.在新的集成模式中,通过服务总线避免了原来的序列化问题,降低了客户端程序的复杂性,提高了系统的灵活性和可扩展性.最后用该模式设计和实现了基于Web的自适应考试系统.系统开发表明:该集成模式简化和规范了Web应用系统的开发和部署,可以快速高效地开发出企业级Web应用程序,并且程序的修改、重构、重新部署的工作量大大降低.%The shortcomings of the traditional pattern of integration is analyzed at first in the paper, then a new integrated pattern of struts and web services is proposed. In the new integrated pattern it can avoid serialization, reduce the complexity of the client program,increase the flexibility and extensibility of the system. Finally a computerized adaptive testing system is designed and realized by using the new pattern. Practice shows that the new pattern can simplify and standardize the development of the web application system,and develop the enterprise web application system quickly. The workload of changing program .reconstruction,redeploy is greatly reduced by using the new model.
展开▼