Skip to Main Content
Some technical problems in developing Java Web application software are discussed. With introduction of SH (Struts + Hibernate) middleware, the advantages of SH in J2EE software development are analyzed, and a feasible B/S software architecture is proposed in this paper. The interface coupling between different layers of software architecture reduces the influence on the whole software system caused by the change of certain layer. At presentation layer, utilizing Struts2 frame can separate the display and control at the data layer. Therefore, the mapping between the object and the relation is realized with the use of Hibernate3 framework. In order to manage Hibernate systematically and to provide services for DAO, it is necessary to design Hibernate management tool class. In such framework, POJO is always used as a transfer parameter between different layers from the front stage JSP to the back stage Hibernate. It encapsulates the client data at presentation layer and maps the database table at the data layer.
Date of Conference: 27-28 Nov. 2010