Font Size: a A A

Research And Implementation Of MVC Module Based On J2EE

Posted on:2007-10-07Degree:MasterType:Thesis
Country:ChinaCandidate:H LiuFull Text:PDF
GTID:2178360182482179Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
With the widespread use of the Web technology, many enterprises hopeurgently to construct their own Web business systems. Java 2 Platform EnterpriseEdition ( J2EE ) is a standard platform provided by Sun Corporation, which supplies us with rich technical choices to develop Web-based enterprise application. A high-quality application, however, depends on the support of well-designed J2EE infrastructure. Therefore, how to use J2EE's core technologies to design and construct a robust, scalable and reusable infrastructure of Web application remains to be a challenge we must be faced with.Struts can optimize developing Web application further as a framework of controller in common use. It offeres a flexible Model-View-Controller method to develop Java Web.It makes display and business logic separate totally, fully realize MVC model thought.It is a current mainstream to OO development approach, but most enterprise applications have to use with the relational Database frequent and mutually. So, in the environment of development of enterprise application, the mapping of object and relation is a kind of job of consuming time. Hibernate is the ORM that many programmer at present praised highly very much generally. It is the ORM of a opening source code. It carries on the object encapsulations of lightweight to JDBC. This makes Java programmers handle freely the Database by utilizing OO programming thinking.This paper mainly researched persistence technology ,that is how to mapping java objects to relational database and manage persistent objects, then designed a Struts structure consists of business logic layer and persistent layer. In this paper, the author first introduced Struts framework and its related technology. Then, ORM is represented and several kinds of java ORM techniques are compared. Next,the new ORM tool Hibernate is described in detail. Finnally, the author designed a new Struts structure with Hibernate,and realized the design in netbookstore system.
Keywords/Search Tags:J2EE, MVC, Struts, Hibernate
PDF Full Text Request
Related items