|
With the rapid development of Internet , Java technology , the software industry has become a mainstream technology . Coding standardization and standardization , and a variety of framework technologies continue to emerge , the most famous of which is the Struts2, Spring and Hibernate . Compared with the traditional SSH (Strutsl Spring Hibernate) architecture new architecture , of Struts2 Spring2 Hibernate3 advantage of the a Struts2 new changes . Struts2.0 version is a new framework launched in 2007 , it improved some of the main shortcomings of Struts1 . Relative to Struts1, Struts2 interceptor or interceptor stack separated from the same Servlet API user business logic (Action) , dynamic interception in the front and rear of the Action execution to simplify the Action code and provide richer functionality , such as data type conversion , international , and file upload . At the same time , Struts2 than Struts1 more simple, more flexible , for example, it canceled the the ActionForm components , support OGNL language supports multiple view technologies , such as Jsp , Velocity , FreeMarker, JasperReports , etc. . This paper first discusses the the Struts2, Spring2 and Hibernate foundation and its related technologies , including key supporting technologies for various architectures . Then Struts2 and Spring integration , Spring and Hibernate integration method , and the best solution Struts2, Spring and Hibernate integration of three technologies . Finally, the actual project enterprise personnel management system application Struts2, Spring and Hibernate integration technology .
|