【正文】
r 50 用戶名稱 東北大學(xué)秦皇島分校畢業(yè)設(shè)計(論文) 第 11 頁 password varchar 50 用戶密碼 sex bit 1 用戶性別 birthday datetime 8 用戶出生年月日 createtime datetime 8 用戶創(chuàng)建的時間 isadmin bit 1 是否是超級管理員 content varchar 2020 管理 員級別 表 user 的結(jié)構(gòu) 東北大學(xué)秦皇島分校畢業(yè)設(shè)計(論文) 第 12 頁 4 開發(fā)工具的介紹 sql 的簡介 SQL(Structured Query Language)結(jié)構(gòu)化查詢語言,是一種數(shù)據(jù)庫查詢和程序設(shè)計語言,用于存取數(shù)據(jù)以及查詢、更新和管理關(guān)系數(shù)據(jù)庫系統(tǒng)。它以記錄集合作為操作對象,所有 SQL 語句接受集合作為輸入,返回集合作為輸出,這種集合特性允許一條 SQL語句的輸出作為另一條 SQL語句的輸入,所以 SQL 語句可以嵌套,這使他具有極大的靈活性和強大的功能,在多數(shù)情況下,在其他語言中需要一大段程序?qū)崿F(xiàn)的功能只需要一個 SQL語句就可以達(dá)到目的,這也意味著用 SQL 語言可以寫出非常復(fù)雜的語句。 SQL 語句用于取回和更新數(shù)據(jù)庫中的數(shù)據(jù)。 假如你向一個長度為四十個字符的 VARCHAR 型字段中輸入數(shù)據(jù) Bill Gates。 當(dāng)你 建立自己的站點時,你會發(fā)現(xiàn)使用 VARCHAR 型字段要比 CHAR 型字段方便的多。 JSP 簡介 JSP(Java Server Pages)是由 Sun Microsystems 公司倡導(dǎo)、許多公司參與一起建立的一種動態(tài)網(wǎng)頁技術(shù)標(biāo)準(zhǔn)。網(wǎng)頁還能通過 tags 和 scriptlets 訪問存在于服務(wù)端的資源的應(yīng)用邏輯。 JSP與 Java Servlet一樣,是在服務(wù)器端執(zhí)行的,通常返回該客戶端的就是一個 HTML文本,因此客戶端只要有瀏覽器就能瀏覽?;旧峡梢栽谒衅脚_上的任意環(huán)境中開發(fā),在任意環(huán)境中進(jìn)行系統(tǒng)部署,在任意環(huán)境中擴(kuò)展。 ( 4)多樣化和功能強大的開發(fā)工具支持。 ( 2) Java 的運行速度是用 class 常駐內(nèi)存來完成的,所以它在一些情況下所使用的內(nèi)存比起用戶數(shù)量來說確實是 “最低性能價格比 ”了。生成內(nèi)容的邏輯被封裝在標(biāo)識和JavaBeans 組件中,并且捆綁在腳本中,所有的腳本在服務(wù)器端運行。 ( 2) .可重用組件 絕大多數(shù) JSP 頁面依賴于可重用的、跨平臺的組件( JavaBeans 或者 Enterprise JavaBeans 組件)來執(zhí)行應(yīng)用程序所要求的復(fù)雜的處理。 JSP 技術(shù)封裝了許多功能,這些功能是在易用的、與 JSP 相關(guān)的 XML 標(biāo)識中進(jìn)行動態(tài)內(nèi)容生成所需要的。 數(shù)據(jù)庫連接 Java 中連接數(shù)據(jù)庫的技術(shù)是 JDBC, Java 程序通過 JDBC 驅(qū)動程序與數(shù)據(jù)庫相連,執(zhí)行查詢、提取數(shù)據(jù)等操作。這使得 Web 頁面開發(fā)人員能夠使用熟悉的工具和如同標(biāo)識一樣的執(zhí)行特定功能的構(gòu)件來進(jìn)行工作。作為 Java 平臺的一部分, JSP 擁有 Java 編程語言 “一次編寫,各處運行 ”的特點。頁面開發(fā)人員能夠訪問全部的 Java 應(yīng)用環(huán)境,以利用 Java 技術(shù)的擴(kuò)展性和可移植性?;?JSP 的動態(tài)信息發(fā)布技術(shù)是一個開放的、可擴(kuò)展 的建立動態(tài) Web 頁面的標(biāo)準(zhǔn)。 東北大學(xué)秦皇島分校畢業(yè)設(shè)計(論文) 第 19 頁 圖 人力資源管理系統(tǒng) ( 2) .人員管理 人員管理主要包括瀏覽人員信息和添加人員信息兩部分。通過該界面可以添 加人員信息,如圖 所示。 ( 3) .招聘管理 : 招聘管 理主要包括:添加應(yīng)聘信息、瀏覽應(yīng)聘信息和瀏覽人才庫。 圖 添加招聘信息 瀏覽人才信息 單擊相應(yīng)的信息后的【入庫】按鈕,該信息即被調(diào)入人 才庫,同時系統(tǒng)自動進(jìn)入瀏覽人才庫的界面。 東北大學(xué)秦皇島分校畢業(yè)設(shè)計(論文) 第 22 頁 圖 ( 4) . 培訓(xùn)管理 培訓(xùn)管理主要包括:添加培訓(xùn)計劃、瀏覽培訓(xùn)計劃和查看培訓(xùn)總結(jié)。 注意:填 寫時間的文本框時,正確的格式為:年 月 日 , 如 圖 所示。 培訓(xùn)總結(jié) 單擊培訓(xùn)結(jié)果和培訓(xùn)總結(jié)的文本框,輸入相應(yīng)的內(nèi)容,最后單擊【提交】按鈕,系 東北大學(xué)秦皇島分校畢業(yè)設(shè)計(論文) 第 24 頁 統(tǒng)自動進(jìn)入培訓(xùn)總結(jié)的查看界面。 單擊【添加獎懲信息】按鈕,界面右側(cè)自動顯示獎懲登記的界面。 單擊【添加薪金數(shù)據(jù)】按鈕,界面右側(cè)自動顯示添加薪金的界面,如圖 所示 圖 人 添加薪金 單擊各文本框,輸入相應(yīng)的內(nèi)容,最后單擊【提交】按鈕即完成添加操作,同時系統(tǒng)自動 進(jìn)入薪金列表的瀏覽界面,通過此界面可以查看到所有的員工薪金信息,如圖 所示。 系統(tǒng)測試 在本系統(tǒng)的開發(fā)測試過程中,利用 Junit4 進(jìn)行單元測試 [17],采用了 TDD[18]的思想進(jìn)行系統(tǒng)的開發(fā)和測試。 東北大學(xué)秦皇島分校畢業(yè)設(shè)計(論文) 第 27 頁 ( 3)數(shù)據(jù)庫的可維護(hù)性如何, 數(shù)據(jù)的錄入、刪除及更改是否能夠順利完成。在這里有必要把個這不言而喻的事實再次強調(diào)一下,因為有時產(chǎn)品的測試只是為了證實軟件可以運行,而不是找缺陷。并且數(shù)據(jù)庫的可維護(hù)性良好,數(shù)據(jù)的錄入能順利完成,并能順利實現(xiàn)對數(shù)據(jù)刪除和修改等動態(tài)更新。系統(tǒng)設(shè)計的目標(biāo)是實現(xiàn)對企業(yè)人力資信息進(jìn)行統(tǒng)一管理,提高企業(yè)工作效率、降低成本,滿足用戶及時溝通需要,實現(xiàn)與其它系統(tǒng)協(xié)同工作。對于本系統(tǒng)來說,還是有許多值得改進(jìn)的地方,主要是在系統(tǒng)性能 方面可以進(jìn)一步的加強。在此,我對敬愛的指導(dǎo)老師表示衷心的祝福和感謝! 同時,衷心感謝東北大學(xué)秦皇島分校所有支持和幫助過我的老師和同學(xué)。 SQL Server 數(shù)據(jù)庫開發(fā)實例解析 。 人力資源管理 。 人力資源管理概論(第二版) 。 數(shù) 據(jù)庫系統(tǒng)概念 .。 .JSP 網(wǎng)絡(luò)編程學(xué)習(xí)筆記 [M]。 共部門人力資源管理 。 SQL Server 實用教程(第 3 版) 。 SQL Server 應(yīng)用教程 。Stephen Forte.|Microsoft SQL Server Press , 2020 東北大學(xué)秦皇島分校畢業(yè)設(shè)計(論文) 第 31 頁 附 錄 Benefits of JSP JSP pages are translated into servlets. So, fundamentally, any task JSP pages can perform could also be acplished by servlets. However, this underlying equivalence does not mean that servlets and JSP pages are equally appropriate in all scenarios. The issue is not the power of the technology, it is the convenience, productivity, and maintainability of one or the other. After all, anything you can do on a particular puter platform in the Java programming language you could also do in assembly language. But it still matters which you choose.. JSP provides the following benefits over servlets alone: ? It is easier to write and maintain the HTML. Your static code is ordinary HTML: no extra backslashes, no double quotes, and no lurking Java syntax. ? You can use standard Website development tools. Even HTML tools that know nothing about JSP can be used because they simply ignore the JSP tags ? You can divide up your development team. The Java programmers can work on the dynamic code. The Web developers can concentrate on the presentation layer. On large projects, this division is very important. Depending on the size of your team and the plexity of your project, you can enforce a weaker or stronger separation between the static HTML and the dynamic content. Now, this discussion is not to say that you should stop using servlets and use only JSP instead. By no means. Almost all projects will use both. For some requests in your project, you will use servlets. For others, you will use JSP. For still others, you will bine them with the MVC architecture . You want the appropriate tool for the job, and servlets, by themselves, do not plete your toolkit Advantages of JSP Over Competing Technologies A number of years ago, Marty was invited to attend a small 20person industry roundtable discussion on software technology. Sitting in the seat next to Marty was James Gosling, inventor of the Java programming language. Sitting several seats away was a highlevel manager from a very large software pany in Redmond, Washington. During the discussion, the moderator brought up the subject of Jini, which at that time was a new Java technology. The moderator asked the manager what he thought of it, and the manager responded that it was too early to tell, but that it seemed to be an excellent idea. He went on to say that they would keep an eye on it, and if it seemed to be catching on, they would follow 東北大學(xué)秦皇島分校畢業(yè)設(shè)計(論文) 第 32 頁 his pany39。s C language is very well designed and is similar to Java, fewer programmers are familiar with either the core C syntax or the many auxiliary libraries. In addition, many developers still use the original version of ASP. With this version, JSP has a clear advantage for the dynamic code. Wit