freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

計算機外文翻譯---spring的web_mvc_構(gòu)架模式-資料下載頁

2025-05-11 17:28本頁面

【導讀】專注于web的支持,與struts和webwork有著明顯的區(qū)別。架,抽象事務(wù)支持,等等。它有一個非常顯著的特點:在某個層面上如果你不需。從它的設(shè)計理念,你可以看到String幫助你實現(xiàn)了真正的邏輯層和web. 目標是更好的重用和易測:過分依靠不必要的容器和框架將不能實現(xiàn)這一點。和已經(jīng)存在的解決方案進行競爭.我們鼓勵結(jié)合標準的技術(shù),如,Servlet,JSP,JTA,JNDI,JDBC,andJDO,和非常匹配的工具,如,Hibernate,Velocity,Log4J,完美的單個數(shù)據(jù)庫交換。handleRequest方法.這將用于一個應用的控制,但是,如果。是非常的靈活的.舉例來說,它描述了具有在應用范圍內(nèi)的校驗錯誤的輸入機制,的格式化數(shù)據(jù)的轉(zhuǎn)換,像JSP請求屬性或者Velocity模版模式.通過Struts或者WebWork的action利用ServletContext屬性(或者Spring. Struts,WebWork這些應用進行競爭,它將作為一個純web框架應用于很多領(lǐng)域,和數(shù)據(jù)存儲層來豐富你的應用,甚至,你想用JDBC或者Hibernate進行事務(wù)抽象.

  

【正文】 ller three part. Model(Model) is software processing problem logic at independence in outside manifestation under contents and form circumstance of inside abstract, packed the core data, logic of problem and function of calculation relation, independence in concrete of interface expression and I/O operation. See diagram(View) mean information and particular form demonstration of model data and logic relation and appearance to the customer. It acquire a manifestation 14 information from the model, there can be many for homology of information dissimilarity of manifestation form or see diagram. The controller(Controller) is a processing the customer hand over with software with each other operation of, its job is control provide model in any variety of dissemination, insure a customer interface among the model of rightness should contact。 It accept a customer of importation, give176。 the importation feedback model, then realization pute model control, is make model and see diagram to moderate work of parts. Usually 1 see a diagram rightness should a controller. Model, see separate of diagram and controller, make a model be able to have many manifestation to see diagram. If the customer pass a certain see the controller of diagram change the data of model, all other dependence in these see of data diagram all should reflection arrive these variety. When therefore and regardless occurrence what data variety, controller all would variety notice ally see diagram, cause manifestation of renewal. This is actually a kind of variety of modeldissemination mechanism. The Struts frame is to be the item of Apache Jakarta to constitute part to publish luck to do at the earliest stage, it inherited MVC of each item characteristic, and did according to the characteristics of J2 EE correspond of variety with expand. The Struts frame was good to bine Jsp , Java Servlet , Java Bean, Talia etc. technique. In the Struts, what to undertake the controller role in the MVC be an ActionServlet. The ActionServlet is an in general use control module. This control module provided a processing all HTTP claim which send out Struts of entrance point. Its interception with distribute these claim to arrive correspond of action type.(these action all of type is Action son type)Moreover the control module is also responsible for using to correspond of claim the parameter fill Action Form(FromBean), and pass action type(ActionBean).Action type the business logic of the interview core, then interview Java Bean or adjust to use EJB. End action type control the power pass followup of JSP document, from JSP document born see diagram. All these control logic make use of the document e to allocation. See diagram in the Struts frame main from JSP born page pletion, the Struts provide abundant of JSP label 15 database, this is advantageous to separating performance logic and procedure model is with 1 or the form existence of several Java Bean. In the Struts, main existence three kinds of Bean, respectively BE: Action, ActionForm, EJB perhaps Java Bean. The Struts frame have no concrete definition model layer of realization, in actually the development, model layer usually is close with business logic connect with each other, and want to carry on operation to the first floor data. The underneath39。s introduction is a kind of development strategy, lead the Hibernate into the model layer of Struts frame, usage it to carry on a data to pack with reflect to shoot, provide hold out for long time turn of support. 4 usage Hibernate and the Struts development J2 EE application system structure diagram 3 manifestation according to Hibernate and Struts development strategy of system structure diagram. Development practice underneath bine a development practice, with in the J2 the EE the application very widespread customer register process for example, elucidation abovementioned system structure is how concrete usage. The process of register is very clear: Customer from register page importation register information, system to register the information carry on verification, if exactitude success register, otherwise hint correspond mistake information. In the development process, the usage Eclipse be used as development environment and added to carry to provide to the Struts and the Hibernate in the meantime better control and support of three square plugin MyEclipse, Web server usage Tomcat, the database chose to use Mysql. Carry on an allocation to the Hibernate first, need to the system auto the born . xml carry on modification, allocation good database conjunction of various parameter and definition the data reflect to shoot a document. Because the Hibernate take of conjunction pond main used for test, the function isn39。t very good, can pass JNDI will it modification is usage Tomcat of conjunction pond.
點擊復制文檔內(nèi)容
畢業(yè)設(shè)計相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1