外文文献-基于mvc的struts框架内容摘要:
a p p i n gP e r s i s t e n t O b j e c t sD a t a b a s eA p p l i c a t i o nH i b e r n a t e Figure 2. Hibernate systematic structure As shown in figure 2, Hibernate lies in the middle layer that is between application and database .In the provided persistent service, Hibernate maps class to rows of datasheet by properties and mapping files of class () itself. Application interacts with database by Persitstent Object (PO) to handle data directly. 3 The Integration of Struts and Hibernate In the open source frameworks, for the presentation part, Tapestry has the powerful and natural bination of pages, its document is too conceptional to benefit programming. And its learning curve was too steep and so on. For the logic part, Spring has a good integration function, but there is a lack of public controller. And EJB depends on the EJB containers, at the same time, it is realized plicatedly. While Struts has been applied extensively because of its advantages. At present, most of systems apply the relational databases mainly, while Java is an objectoriented language essentially. In Model part of Struts framework application, using SQL and JDBC to operate databases when storing and fetching objects reduces programming efficiency and the systematic maintainability. Traditional J2EEbased application applies heavyweight framework based on EJB that adapts to the large enterprise development, while development and debugging by EJB container need to consume a plenty of time and high price. EJB3 improves the disadvantages of original EJB, but its application is not mature yet. Hibernate can substitute ContainerManaged Persistence (CMP) to acplish heavy responsibility of permanence in J2EE framework of applying a word, Hibernate can resolve the difficulties ing from using traditional CMP, JDBC and Data Access Object(DAO) in a technological development. For reducing the coupling of code and raising systematic development efficiency, this paper suggests J2EE application development tactics based on Struts and Hibernate. The Struts design shows the MVC framework sufficiently, which all control flows need a configuration file () to manage, and which is convenient to maintain. The integration of Struts and Hibernate is that Hibernate solves the model layer of Struts, which makes developers operate Java objects instead of database. The integration shows the objectoriented thought sufficiently and solves some problems of the database operation in traditional J2EE well. Flow of Framework The flow of integration framework based on Struts and Hibernate is shown in Figure 3. At first, users send Http requests by Browser, then Http requests are accepted by ActionServlet of the control ponent in business layer, then gave to RequestProcessor which gets corresponding Action from ActionMapping by request URL[3]. Besides, ActionForm packs JSP pages, which can make a checking to data of datasheet if it is needed, send back ActionErrors to visual pages if there are mistakes and transfer the data of pages to Action if it passes validation. Request Processor transfers the “execute” method of Action and the method transfers the busin。外文文献-基于mvc的struts框架
相关推荐
veform, change the coordinate of the zero mark at the same time. So the zero mark will move with the waveform. In addition, set the mark button control invisible outside the top and bottom edges,
description of the place where the robot locates. In our system EVID70 camera has a view field of 177。 170176。 . Considering the overlap effect, we sample environment every 45176。 to get 8 images.
cm照片 1 张,被授权单位邀请函,签证申请表。 如办理签证时需要健康证明,则需提前预约 接受检查 ) 一般 3 个工作日,加急办理 1 天。 Z 签证有效期 3 个月。 Z 签证 ,就业证 ,居留证办理手续 (上海 ) 主要流程 : 就业许可证 Z 签证 (办理) 1. 填写《外国人签证,居留证许可申请表》, 2 寸照 1 张 2. 《境外人员临时住宿登记》 3. 本人护照及签证 4.
0204和《砌体工程施工质量验收规范》 GB50203的要求。 保温工程的施工应在基层粉刷水泥砂浆找平层,且施工质 量验收合格后进行。 保温工程施工前,外门窗洞口应通过验收,洞口尺寸、位置应符合设计要求并验收合格,门窗框或辅框应安装完毕,并需做防水处理。 伸出墙面的消防梯、水落管、各种进户管线和空调器等的预埋件、连接件应安装完毕,并预留出外保温层的厚度。 保温工程应制定专项施工方案。