JavaEE is the most rapidly evolved technology architecture, which has being preferred to develop enterprise-applications.This techniqual system has some open-source web frames of different kinds.In order to solve the weekness of the tranditional teaching and improve the effect,we develop an system of teaching assistant using JavaEE,which include such functions as management of user,management of homework,management of courseware and online question and answer.This paper introduce MVC pattern and popular frames such as struts,hibernate,JBPM in detail.At the same time,based on the requirement and function of the teaching assistant system,we ameliorate the exeisting frames by using design pattern and related technique during the phases of designing and developing. The production of the research includes of the following: Hibernate is used to implement Date Persistence; DAO design pattern is used to implement the Business delegate; DTO design pattern should be used to reduce communication load between Web layer and Business layer; the plugin of struts should be used to solve the problem of view layer.in addition,work flow is also used to config and improvement the process of teaching.According to the practice, above production can evidently reduce coupling between layers and improve reliability, reusability and maintainability of J2EE applications. |