【正文】
1 基于 WEB 應(yīng)用的工資管理系統(tǒng) 摘要 本系統(tǒng)是采用 J2EE 架構(gòu)和 MVC 模式相匹配的體系結(jié)構(gòu),采用 SQL Server 作為后臺(tái)數(shù)據(jù)庫,服務(wù)器則使用 Weblogic ,并選用 Jbuilder 9 集成開發(fā)環(huán)境來 編輯 JSP 文件、JavaBean 及 Serlvet。 由于 Java 具有跨平臺(tái)性,因而該系統(tǒng)可在多種操作系統(tǒng)上運(yùn)行,并且具有較好的安全性、容錯(cuò)性和可擴(kuò)張性。該系統(tǒng)實(shí)現(xiàn)了信息查詢、人員信息管理、報(bào)表生成等功能。用戶只要使用 IE 瀏覽器訪問相關(guān)站點(diǎn),輸入正確的用戶名和密碼成功登陸后,普通用戶便可查詢自己 的工資情況和其他相關(guān)信息。對管理員來說使用起來也非常的方便快捷,可以進(jìn)行科學(xué)、合理的對工資和人員進(jìn)行管理。本系統(tǒng)對客戶端的硬件標(biāo)準(zhǔn)并不高,只需有5 .0 以上的瀏覽器,可訪問 Inter 即可。但對服務(wù)器的硬件配置要求相對較高,但就目前市面上的硬件情況來說,這種配置已較為普及了。由于本系統(tǒng)采用了 MVC 系統(tǒng)架構(gòu)模式進(jìn)行開發(fā),在開發(fā)過程中代碼實(shí)現(xiàn)了充分的重用,可分層次同時(shí)開發(fā),極大地減低了開發(fā)時(shí)間和工作量,同時(shí)降低了系統(tǒng)模塊間的依賴性,提供了系統(tǒng)良好的延展性和可維護(hù)性。 Abstract This system is a payroll system which implemented using the J2EE technology based on the MVC model. The system adopts the MS SQL Server 2021 as database, and it uses the Weblogic Server as web server. We choose Jbiulder 9 as development tool for coding JSP , JavaBean and Servlet files . Taking advantage of the Java programming language, which is platform independent, so our system could not only run in different operating system but also have better security , error tolerating and expand ability . The system provides the basic payroll functionalities , for example, querying and managing people’s information and automatically create statistics and so on . Only if you own the edition of IE browser ,you could access our work and query your information when you have inputed the correct name and password . The administrator also use this system is very conveniently and rapidly . They could manage scientifically and reasonably the salary and faculty . The hardware standard is not high for the client ,but is a bit of high for server . Fortunately today the hardware is advanced so our configuration , in a way , is mon . Our code was realized adequately reduplicate using and greatly reduce the exploitation time and work force due to we use the MVC model to explore. 2 關(guān)鍵詞: MVC:當(dāng)前非常流行的一種系統(tǒng)架構(gòu)模式。 MVC 作為模式:提供一個(gè)原則,可以按照模型( model)、界面( view)、控制( control)等角色把一個(gè)應(yīng)用系統(tǒng)的各個(gè)部分之間的耦合解脫、分割開來。 OO: Object Oriented (面向?qū)ο?),一種編程的思想。 JDBC: Weblogic Server 的 Java 數(shù)據(jù)連接( Java Database Connectivity), JDBC 提供基本的 API,支持客戶機(jī)應(yīng)用連接數(shù)據(jù)庫、提交 SQL 命令、選取和修改數(shù)據(jù)庫中的數(shù)據(jù)。 API: 所謂 API 本來是 為 C 和 C++程序員寫的。 API 就是一種函數(shù),他們包含在一個(gè)附加名為 DLL 的動(dòng)態(tài)連接庫文件中。用標(biāo)準(zhǔn)的定義來講, API 就是 Windows 的 32 位應(yīng)用程序編程接口,是一系列很復(fù)雜的函數(shù),消息和結(jié)構(gòu),它使編程人員可以用不同類型的編程語言編制出的運(yùn)行在 Windows95 和 Windows NT 操作系統(tǒng)上的應(yīng)用程序。 Connection Pool(連接池):連接池包含應(yīng)用服務(wù)器中已經(jīng)打開的與數(shù)據(jù)資源的連接。當(dāng)應(yīng)用需要訪問數(shù)據(jù)庫時(shí),可以從連接池中取得一個(gè)連接,使用它與數(shù)據(jù)庫進(jìn)行通信。一旦某個(gè)用戶的數(shù)據(jù)庫操作完成,數(shù)據(jù)庫 連接將被釋放,并返回連接池。 3 目錄 Abstract .................................................................................................................................................1 1. 緒論 .................................................................................................................................................5 前言 ................................................................................................................................................5 我校工資系統(tǒng)需求調(diào)研 .................................................................................................................6 本小組所采用的核心技術(shù)及其優(yōu)點(diǎn) ...............................................................................................7 J2EE平臺(tái)技術(shù) ..........................................................................................................................7 J2EE 的定義 ............................................................................................................................7 J2EE 如何應(yīng)對挑戰(zhàn) ..................................................................................................................9 MVC 設(shè)計(jì)模式 ......................................................................................................................... 11 MVC(MODELVIEWCONTROLLER PATTERN)模式由三部分組成: ..................................... 11 J2EE 框架與 MVC 模式的配合 ................................................................................................ 12 BEA WEBLOGIC 應(yīng)用服務(wù)器簡介 ........................................................................................... 12 JSP 技術(shù) ................................................................................................................................... 13 將內(nèi)容的生成和顯示進(jìn)行分離 ............................................................................................... 13 強(qiáng)調(diào)可重用的組件 ................................................................................................................. 14 采用標(biāo)識(shí)簡化頁面開發(fā) .......................................................................................................... 14 技術(shù)分析 ............................................................................................................................... 14 2. 論文主體 ........................................................................................................................................ 15 .......................................................................... 15 項(xiàng)目概述 .................................................................................................................................... 16 目標(biāo) ........................................................................................................................................ 16 系統(tǒng)描述 ........................................................................ 17 系統(tǒng)功能 外部功能 ........................................................ 17 具體需求 ........................................................................ 18 功能需求(一) ................................................................ 18 功能需求(二) .................................................................................................................... 19 功能需求(三) ................................................................ 20 功能需求(四) ................................................................ 20 性能需求 ...........................................................