【正文】
名varchar323password密碼varchar324ssex性別varchar325banji班級varchar326xibie系別varchar32教師信息表:用來存儲教師的基本信息和登錄信息。表44 pjzb(權(quán)重指標(biāo)信息表)序號英文名中文名類型長度(字節(jié))1Id指標(biāo)編號varchar322Zbnr指標(biāo)內(nèi)容varchar323Zbjb指標(biāo)級別varchar324Sjzb上級指標(biāo)varchar5Bianhao編號varchar326Quanzhong權(quán)重varchar32評價結(jié)果信息表:用來存儲評價結(jié)果的信息。表46 yxxx(院系信息表)序號英文名中文名類型長度(字節(jié))1Id院系編號varchar322Yname院系名稱varchar32 本章小結(jié)總體設(shè)計(jì)階段的基本目標(biāo)就是概要地回答系統(tǒng)應(yīng)該如何實(shí)現(xiàn)。第5章 詳細(xì)設(shè)計(jì) 系統(tǒng)運(yùn)行平臺設(shè)置1. 硬件環(huán)境:三星(筆記本電腦)一臺。2. 頁面中層,系統(tǒng)的功能模塊。圖52 登錄界面用戶登錄程序流程圖如圖53所示。表53 登錄主要用到Java類類名功能驗(yàn)證輸入的用戶名和密碼調(diào)用Dao層方法調(diào)用CommonDao中方法與數(shù)據(jù)庫信息核對驗(yàn)證輸入的用戶名和密碼 教師信息管理的設(shè)計(jì)與實(shí)現(xiàn)管理員進(jìn)入教師信息管理模塊后,可以對教師的信息進(jìn)行添加、修改、刪除等操作。表55 教師管理主要用到方法名方法名功能addTeacher()添加教師信息deleteTeacher()刪除教師信息updateTeacher()修改教師信息 學(xué)生信息管理的設(shè)計(jì)與實(shí)現(xiàn)管理員進(jìn)入學(xué)生信息管理模塊后,可以對學(xué)生的信息進(jìn)行添加、修改、刪除等操作。表56 學(xué)生管理主要用到Java類類名功能增刪改的方法調(diào)用StudentDao中的方法調(diào)用CommonDao中的方法里面是增刪改的方法(2) 主要方法學(xué)生管理主要用到的方法如表57所示。如圖58所示。第6章 系統(tǒng)測試與性能分析 為什么要進(jìn)行系統(tǒng)測試系統(tǒng)完成之后,對各個模塊的功能進(jìn)行了詳細(xì)的測試,輸入數(shù)據(jù)和預(yù)測輸出數(shù)據(jù)相比,發(fā)現(xiàn)了一些問題。比如在操作購物車結(jié)帳的這個流程中,由于是多次添加和修改,最后結(jié)帳,所以很容易造成數(shù)據(jù)混亂,因而必須對相應(yīng)的數(shù)據(jù)關(guān)系理清楚,一些關(guān)鍵查詢統(tǒng)計(jì)的SQL語句必須反復(fù)斟酌才能放在程序中使用。信息系統(tǒng)的測試應(yīng)該包括軟件測試、硬件測試和網(wǎng)路測試。2. 測試用例要進(jìn)行測試,除了要有測試數(shù)據(jù)(或稱輸入數(shù)據(jù))外,還應(yīng)同時給出該組測試數(shù)據(jù)應(yīng)該得到怎樣的輸出結(jié)果,我們稱它為預(yù)期結(jié)果。一個好的測試用例是極有可能發(fā)現(xiàn)迄今為止尚未發(fā)現(xiàn)的錯誤的測試用例。它根據(jù)程序的內(nèi)部邏輯來設(shè)計(jì)測試用例,檢查程序中的邏輯通路是否都按預(yù)定的要求正確地工作。1. 單元測試(Unit Testing)單元測試也稱模塊測試。集成測試主要發(fā)現(xiàn)設(shè)計(jì)階段產(chǎn)生的錯誤,通常采用黑盒測試。如果一個軟件是為某個客戶定制的,那么最后由客戶來實(shí)施驗(yàn)收測試(acceptance testing),以便客戶確認(rèn)該軟件是他所需要的。主要依據(jù)輸入條件輸出條件確定測試數(shù)據(jù),檢查程序是否能產(chǎn)生正確輸出。一個好的測試用例是在于它能發(fā)現(xiàn)至今未發(fā)現(xiàn)的錯誤。具體說,軟件測試是事務(wù)性的,而項(xiàng)目管理是策略性,一些策略性的東西必須在一些事務(wù)性的事務(wù)上來實(shí)現(xiàn)。從當(dāng)初確定題目到最后一個功能模塊的完成,經(jīng)歷了無數(shù)次的錯誤、修改代碼、重啟服務(wù)器、運(yùn)行的過程,感覺到平時學(xué)的知識是多么的淺薄,書到用時方恨少,現(xiàn)在是體驗(yàn)的真真切切。以后要多多注意這方面的事情。在幾年的學(xué)習(xí)生活中,還得到了計(jì)算機(jī)學(xué)院許多領(lǐng)導(dǎo)和老師的熱情關(guān)心和幫助。參考文獻(xiàn)[1] [J].。[5] [J].。[9] ,2007:301389。[13] Web設(shè)計(jì)與開發(fā)[M].:1520。[17] 馬曉玉,孫巖. Oracle 10g管理[M].北京:清華大學(xué)出版社,2007。s ancestry, but the succession WebWork lineage. Struts2 is the WebWork upgrade, rather than an entirely new framework, therefore the stability, performance and other areas have a very good assurance: it absorbed the advantages of both Struts1 and WebWork, therefore, is a very worth the wait framework.Struts2 Action class can implement an Action interface and other interfaces can also be achieved to enable optional and custom services possible. Struts2 provides a ActionSupport to achieve mon base class interface. Action interface is not necessary, any POJO object execute identity can be used as an object Struts2 in Action. Struts2 Action object for each instance of a request to generate a, there is no threadsafety problems. (In fact, servlet containers generate many for each request can be discarded objects, and will not lead to performance and garbage collection issues). Struts2 Action does not depend on the container, allowing Action out of the container to be tested separately. If necessary, Struts2 Action can still access the original Request and Response, however, other elements to reduce or eliminate direct access to HttpServetRequest and HttpServletResponse necessary. Struts2 Action can be initialized, set properties, call methods to test, dependency injection support also makes testing easier. Struts2 using the Action attribute directly as input properties, eliminating the need for the second input object needs. Input properties may have their own (sub) attribute the rich object type. Action properties able to access web pages on the taglibs. Struts2 also supports the ActionForm pattern. rich object types, including business objects, can be used as input/output objects. This ModelDriven feature simplifies the taglib reference to the POJO input objects. Struts2 can use JSTL, but also supports a more powerful and flexible expression language Object Graph Notation Language (OGNL). Struts2 using the ValueStack technology, so that the value of taglib to access your pages without the need to (view) and object to bind together. ValueStack Strategy Yun3. Spring IntroductionSpring is an opensource framework, created by Rod Johnson. It is the development of enterprise applications in order to solve the hybrid nature of hair created. Spring using the basic JavaBean to plete before the EJB is only possible to plete things. However, Spring is not limited to the use of serverside development. From the simplicity, testability, and loose coupling point of view, any Java application can benefit from the Spring.Objective: To solve the plexity of enterprise application development.Function: Using the basic JavaBean to replace EJB, and provides additional functionality of enterprise applications.Range: Any Java application.4. Hibernate IntroductionHibernate is an open source objectrelational mapping framework, it conducted a lightweight JDBC object package so that Java programmers can use the objectoriented programming ideas to manipulate the database. Hibernate can use EJB in J2EE architecture to replace the CMP, to plete data persistence. It can be applied to any use of JDBC occasions, both in the Javaclient program useful, you can also Servlet / JSP in Web applications using theHibernate API is simple to learn, and it is the interaction with the program flow quite naturally. Call it in place, we can achieve this objective. It brings a lot of automation and codesaving benefits, so I spent a little time to learn it was worth it. But also get another benefit, that is, the code do not care to use the database type (otherwise even need to know). The pany where I once had in the development process later was forced to replace the database vendor experience. This will cause a huge disaster, but the help of Hibernate, simply modify the Hibernate configuration files.技術(shù)簡介1. MVC設(shè)計(jì)模式介紹MVC模式是“ModelViewcontroller”的縮寫,中文翻譯為”模式試圖控制器”。類似的,重要Controller改變了View,View會從潛在的Model中獲取數(shù)據(jù)來刷新自己。在J2EE模式目錄中,通常采用service to worker模式是新,而service to