【文章內(nèi)容簡(jiǎn)介】
lopment efficiency, this text put forward 1 kind EE according to the J2EE of the Struts frame and the Hibernate frame application development strategy. 2 Open Source Technology of J2EE Datas39。 holding out for long time layer and Hibernate is one piece according to hold out for long time layer frame, is a kind of realization object and relation of the tool which reflect to shoot(O/R Mapping), it carried on the object of the lightweight to pack to the JDBC and make procedure member can usage object plait distance thought to operation not only provided to shoot from Java to reflect of data form, but also provided a data a search and instauration in usage JDBC and SQL to operation database, use a Hibernate ability consumedly of exaltation realization of Hibernate frame use allocation document of the form e to the reflect of the definition Java object and data form to shoot relation, in the meantime at more deep of level of data form of relation explanation for the relations such as inherit of and containment etc. of Java the usage HQL language sentence plications of relation the calculate way use the way of object description, to a large extent simplification logarithms according to of search, speed development of in the Hibernate a simple but keep the API of view, used for to the database mean of object performance to establish or the modification be these objects, need in the procedure carry on with them to hand over with each other, then tell Hibernate to , a great deal of pack hold out for long time turn operation of business logic no longer demand write a trivial JDBC language sentence, make data last long thus the layer got biggest of simplification. Use the Struts realization MVC structure MVC(ModelViewController) is put forward by the Trygve Reenskaug, first drive application in the environment SmallTalk80, is many to hand over with each other with interface system of constitute to the need of variable of the interface design, MVC hand over with each other constitute of system to resolve into model and see diagra m, controller three part. Model(Model) is software processing problem logic at independence in outside manifestation under contents and form circumstance of