【正文】
ructor */ public Checkvouchs(CheckvouchsId id, Integer bookQuantity,Integer actQuantity, Date checkDate, Integer adjQuantity,Double actuallWaste, Double allowWaste, String reason) { super(id, bookQuantity, actQuantity, checkDate, adjQuantity,actuallWaste, allowWaste, reason)。 () .equals(())))。amp。 } public void setCvCode(String cvCode) { = cvCode。 } public void setAllowWaste(Double allowWaste) { = allowWaste。 } public void setActQuantity(Integer actQuantity) { = actQuantity。 = actuallWaste。 = bookQuantity。 private Integer bookQuantity。 HBM映射:描述類和表之間的關(guān)系。 31 六 、 Hibernate 的設(shè)計(jì) 6. 1Hibernate 簡(jiǎn)介 Hibernate 是非常優(yōu)秀、成熟的 ORMapping 框架,它提供了強(qiáng)大的對(duì)象和關(guān)系數(shù)據(jù)庫(kù)映射以及查詢功能。 部門信息 設(shè)置 模塊的實(shí)現(xiàn) 部門信息 設(shè)置 模塊的功能與布局 當(dāng)新增加部門時(shí),在這里輸入即可將新增的部門信息保存到數(shù)據(jù)庫(kù)。 入庫(kù)模塊的實(shí)現(xiàn) 入庫(kù)模塊的功能與布局 當(dāng)某種已有物品進(jìn)貨后,就需要在此輸入庫(kù)存記錄信息,并同時(shí)輸入相應(yīng)貨物入庫(kù)信息,并加入到庫(kù)存中。它主要包括三大模塊,基礎(chǔ)數(shù)據(jù)、庫(kù)存操作還有幫助。 此模 塊通過定期對(duì)倉(cāng)庫(kù)信息做清點(diǎn),有效的了解了貨物的流通情況和倉(cāng)庫(kù)貨物的損耗情況。 模塊 入庫(kù)功能是倉(cāng)庫(kù)管理系統(tǒng)的基本功能 之一 。出庫(kù)結(jié)束后,執(zhí)行庫(kù)管給提出出庫(kù)申請(qǐng)的出庫(kù)人員開具出庫(kù)單,出庫(kù)流程結(jié)束。 貨物從倉(cāng)庫(kù)中出庫(kù),是從需求貨物的出庫(kù)單位出庫(kù)人員向執(zhí)行出庫(kù)操作的庫(kù)管提交出庫(kù)申請(qǐng)開始的。 系統(tǒng)需求分析 1.系統(tǒng)功能概述 15 2.貨物入庫(kù)和出庫(kù)的管理 倉(cāng)庫(kù)是用來存放貨物的,貨物進(jìn)入倉(cāng)庫(kù)要進(jìn)行登記記錄,貨物從倉(cāng)庫(kù)出庫(kù)也要進(jìn)行登記記錄,這是倉(cāng)庫(kù)管理的主要內(nèi)容。對(duì)于倉(cāng)庫(kù)管理系統(tǒng)則應(yīng)著重分析其社會(huì)效益。前 端用 ,業(yè)務(wù)邏輯采用 的無狀態(tài)會(huì)話 Bean,持久映像層采用 hibernate 模式,應(yīng)用服務(wù)器使用了使用最廣泛的 BEA Weblogic Server。通過這些 接口,不僅可以對(duì)持久化對(duì)象進(jìn)行存取,還能夠進(jìn)行事務(wù)控制。 Struts 提供了多種 Action 供選擇使用。對(duì)于一些復(fù)雜的系統(tǒng),還可以采用 DynaActionForm 來構(gòu)造動(dòng)態(tài)的 Form,即通過預(yù)制參數(shù)來生成Form。雖然它現(xiàn)在還有不少缺點(diǎn),但它是一種非常優(yōu)秀的 J2EE MVC 實(shí)現(xiàn)方式。 Taglib是 Struts 的標(biāo)記庫(kù),靈活動(dòng)用,能大大提高開發(fā)效率。它用 JSP 技術(shù)實(shí)現(xiàn)視圖的功能,用 Servlet 技術(shù)實(shí)現(xiàn)控制器的功能,用 JavaBean 技術(shù)實(shí)現(xiàn)模型的功能 JSP Model 1 與 JSP Model 2 圖 131 MVC 組件模型的關(guān)系和功能圖 圖 132 JSP Model 1 10 圖 133 JSP Model 2 SUN在 JSP出現(xiàn)早期制定了兩種規(guī)范,稱為 Model1和 Model2。很多 9 VB,Delphi 等 RAD 程序都有這種問題。采用 Struts 可以簡(jiǎn)化遵循 MVC 設(shè)計(jì)模式的 Web 應(yīng)用的開發(fā)工作,很好地實(shí)現(xiàn)代碼重用,使開發(fā)人員從一些繁瑣的工作中解脫出來,快速開發(fā)能夠充分發(fā)揮 JSP/Servlet 優(yōu) 點(diǎn)、并具有強(qiáng)可擴(kuò)展性的 Web 應(yīng)用。兩種會(huì)話 Bean 都不保存狀態(tài)信息或者數(shù)據(jù),當(dāng)客戶斷開連接或者服務(wù)器關(guān)閉時(shí),會(huì)話 Bean 也就隨之消失。 JSP 提供了多種方式訪問 Java class、Servlet、 Applets 和 Web Server,因此, Web 應(yīng)用的功能可以分成多個(gè)明確定義公用接口的組件,通過 JSP 將它們結(jié) 合在一起 . EJB EJB( Enterprise JavaBeans)是 J2EE 平臺(tái)的核心,也是 J2EE 得到業(yè)界廣泛關(guān)注和支持的主要原因。 Servlet Servlet 是一些用來擴(kuò)展 Web 服務(wù)器功能的 Web 組件,它基于請(qǐng)求 /響應(yīng)機(jī)制。只是通過增強(qiáng)一些技術(shù)使得我們 更快、更容易、更簡(jiǎn)單地開發(fā)企業(yè)應(yīng)用程序 本文的主要工作 本論文以標(biāo)準(zhǔn)的倉(cāng)庫(kù)管理模式為藍(lán)本, 根據(jù) 軟件工程的理論,開發(fā)出 基 于Java EE 的 適用于中小單的位倉(cāng)庫(kù)管理系統(tǒng)。 倉(cāng) 庫(kù) 管理系統(tǒng)是通過入庫(kù)業(yè)務(wù)、出庫(kù)業(yè)務(wù)、庫(kù)存調(diào)撥、庫(kù)存調(diào)整,結(jié)合批次管理、物料對(duì)應(yīng)、庫(kù)存盤點(diǎn)、質(zhì)檢管理 、 實(shí)時(shí)庫(kù)存管理等功能綜合運(yùn)用的管理系統(tǒng),對(duì)庫(kù)存業(yè)務(wù)的物流和 成本管 理全過程進(jìn)行有效控制和跟蹤,實(shí)現(xiàn)完善的企業(yè)倉(cāng) 庫(kù) 信息管理。 根據(jù)物流軟件結(jié)構(gòu)分類,就目前物流軟件所使用的應(yīng)用范圍來說,物流軟 件包括如下幾 個(gè)子系統(tǒng) : WMS(Warehouse Management System,倉(cāng)庫(kù) 管理系統(tǒng) )、TMS(Transportation Management System,運(yùn)輸管 理 系統(tǒng) 。 作為企業(yè)管理信息系統(tǒng)關(guān)鍵組成部分的倉(cāng)庫(kù)管理系統(tǒng)的應(yīng)用給企業(yè)帶來巨大的效益。 畢業(yè)設(shè)計(jì)(論文) 題 目 : 基于 Java EE 的 倉(cāng) 庫(kù)管理系統(tǒng) 2 論 文 摘 要 2 隨著經(jīng)濟(jì)的不斷繁榮以及加入 WTO 后市場(chǎng)環(huán)境的變化,對(duì)企業(yè)的生產(chǎn)經(jīng)營(yíng)提出了更高的要求, 企業(yè)必須綜合利用各種先進(jìn)制造技術(shù),在網(wǎng)絡(luò)與信息技術(shù)的支持下,改進(jìn)現(xiàn)在的生產(chǎn)經(jīng)營(yíng)模式和組織結(jié)構(gòu),才能在市場(chǎng)競(jìng)爭(zhēng)中贏得更多 的份額。 關(guān)鍵詞: 倉(cāng)庫(kù)管理系統(tǒng), Java EE, 模塊化設(shè)計(jì),軟件工程 Abstract With the continuous economic prosperity and accession to the WTO after the market environment changes, the production and operation of enterprises have set higher requirements, enterprises must prehensive utilization of advanced manufacturing technology, the Inter and information technology, improving the existing production Business model and anizational structure, in order to win more market petition in the share. With the expansion of business scale, warehouse management system will play an increasingly important role. Facilitate the efficient warehouse management system, can provide a strong production and management backing and strong support. Warehouse management system to provide a major warehouse operations and its operations management information storage and retrieval system. Through storage management, to the management, report generation management, storage management, storage location information management module to achieve integrated management of the warehouse. This paper to the warehouse management standards based on the model, based on the Java EE can be used to develop a unit of General warehouse management system, warehouse management to achieve the efficiency and security. This system can quickly and easily achieve the management of goods registered to the stock and the treasury management operation, the enterprise storage management orderly, for the healthy development of enterprises to create good conditions. Key Words: Warehouse management system, Java EE, modular design, software engineering 3 目 錄 論文摘要 目錄 一、引言 ??????????????????????????? 倉(cāng)庫(kù)管理系統(tǒng)的背景與意義 ???????????????? Java EE 簡(jiǎn)介 ????????????????? ???? ? 本文的主要工作 ????????????????? ???? 二、 相關(guān)技術(shù)介紹 ????????????????? ???? ? Java EE 相頭原理及技術(shù)簡(jiǎn)介 ??????????????? Servlet ????????????????? ???? ? JSP 簡(jiǎn)介 ????????????????? ???? ? EJB ????????????????? ?????? ? Struts ????????????????? ?????? ? ? STRUTS 的由來和發(fā)展 ???????????????? MVC 簡(jiǎn)介 ????????????????? ???? ? Struts 優(yōu)缺點(diǎn) ????????????????? ?? Struts 的工程流程 ????????????????? Hibernate ????????????????? ?????? 三、系統(tǒng)分析與設(shè)計(jì) ????????????????? ???? ? 引言 ????????????????? ???????? ? 系統(tǒng)分析 ????????????????? ??????? 系統(tǒng)可行性研究 ????????????????? ?? 系統(tǒng)使用環(huán)境 ????????????????? ??? 系統(tǒng)需求分析 ???????? ????????? ??? ????????????????? ??? ???????????????? ?????????????? ????????????????? ?? ????????????????? ?? 系統(tǒng)功能設(shè)計(jì) ????????????????? ????? 四、數(shù)據(jù)庫(kù)設(shè)計(jì) ??????????? ?????? ??????? 引言 ????????????????? ????????? ER 圖 ????????????????? ???????? 數(shù)據(jù)表 ????????????????? ???????? 五、系統(tǒng)界面與功能實(shí)現(xiàn) ????????????????? ??? 頁(yè)面流程圖 ????????????????? ?????? 創(chuàng)建系統(tǒng)登陸模塊 ????????????????? ??? 系統(tǒng)登陸模塊的功能 ???????????