【正文】
................ 18 WEB 層的擴展 ................................................................................................... 18 實現(xiàn) SESSION FA199。ade, Message Fa231。 【關鍵詞 】 J2EE Struts EJB DAO Filter ABSTRCT II ABSTRCT With the rapid development of information technology, customer demand for information technology services more personalized and professional. For software developers how to rapidly develop software systems to meet user needs, is facing a major problem. If we can establish a reusable framework, based on this framework as long as the preparation of a small amount of code, can in the shortest time to develop software products to meet customer needs, the business will remain invincible in the petition. This paper studies how to build the J2EE platform architecture. J2EE (Java 2 Platform Enterprise Edition) is an enterpriseclass application development standards. J2EE platform is based on standardized, ponentbased development of distributed application model, and these ponents define a plete set of services to simplify development of enterprise applications, the plexity of the traditional model of Inter applications with pared with inparable advantages. Therefore, more and more enterprises will achieve J2EE platform as their preferred platform for enterprise applications. Struts framework through research, implementation and expansion of Struts, architecture, Yinru the event handling mechanism, forming a basic framework and for this structure was further of the perfect: in Kehu layer and the Web layer by adding a Filter。 這個可重用架構封裝了大量層與層交互的代碼, 開發(fā)人員不需要關心數(shù)據(jù)在各層之間是如何傳遞的,只需要根據(jù)特定商業(yè)邏輯實現(xiàn)標準的接口,就能快速的開發(fā)出需要的程序。ade、 DAO。 通過對 Struts 架構的研究,實現(xiàn)和擴展了 Struts 架構,引入了事件處理機制,形成了一個基本的架構,并且對于這個架構進行了進一步的完善:在客戶層與 Web 層加入了 Filter;在業(yè)務邏輯層中根據(jù)不同業(yè)務的需要使用了 Session Fa231。 J2EE 平臺采用了基于標準化,組件化開發(fā)的分布式應用模型,并為這些組件定義了一套完整的服務集合,從而簡化了開發(fā)企業(yè)級應用 的復雜性,與傳統(tǒng)的互聯(lián)網(wǎng)應用程序模型相比有著不可比擬的優(yōu)勢。 本文主要研究如何在 J2EE 平臺上構建這個架構。對于軟件開發(fā)商來說,如何快速地開發(fā)滿足用戶需要的軟件系統(tǒng),是面臨的一個主要問題。本人授權電子科技大學可以將學位論文的全部或部分內(nèi)容編入有關數(shù)據(jù)庫進行檢索,可以采用影印、縮印或掃描等復制手段保存、匯編學位論文。與我一同工作的同志對本研究所做的任何貢獻均已在論文中作了明確的說明并表示謝意。 電 子 科 技 大 學 UNIVERSITY OF ELECTRONIC SCIENCE AND TECHNOLOGY OF CHINA 工程碩士學位論文 ENGINEERING MASTER DISSERTATION 論 文 題 目 : 基于 XXXXXXXX 應用框架的設計與實現(xiàn) 工 程 領 域 : 軟 件 工 程 指 導 教 師: XXX XXXX 教授 作 者 姓 名: XXXXX 班 學 號: 20xx92324001 分類號 密級 UDC 學 位 論 文 基于 J2EE 應用框架的設計與實現(xiàn) X X X 指導教師姓名 X X X 教授 電子科技大學 成都 X X X 高級工程師 濰坊市天碩 科技發(fā)展中心 濰坊 申請學位級別 碩 士 專業(yè)名稱 軟件工程 論文提交日期 論文答辯日期 學位授予單位和日期 電 子 科 技 大 學 答辯委員會主席 評閱人 年 月 日 注 1 注明《國際十進分類法 UDC》的類號 獨 創(chuàng) 性 聲 明 本人聲明所呈交的學位論文是本人在導師指導下進行的研究工作及取得的研究成果。據(jù)我所知,除了文中特別加以標注和致謝的地方外,論文中不包含其他人已經(jīng)發(fā)表或撰寫過的研究成果,也不包含為獲得電子科技大學或其它教育機構的學位或證書而使用過的材料。 簽名: 日期: 年 月 日 關于論文使用授權的說明 本學位論文作者完全了解電子科技大學有關保留、使用學位論文的規(guī)定,有權保留并 向國家有關部門或機構送交論文的復印件和磁盤,允許論文被查閱和借閱。 (保密的學位論文在解密后應遵守此規(guī)定) 簽名: 導師簽名: 日期: 年 月 日 摘 要 I 摘要 隨著信息技術日新月異的發(fā)展,客戶對信息技術服務的要求越來越個性化、專 業(yè)化。如果能夠建立起一種可重用的架構模式,只要在這個架構基礎上編寫少量代碼,便可在最短時間內(nèi)開發(fā)出適應客戶需求的軟件產(chǎn)品,企業(yè)就會在競爭中立于不敗之地。 J2EE( Java 2 Platform Enterprise Edition)是一個企業(yè)級應用程序開發(fā)標準。因此,越來越多的企業(yè)將 J2EE 平臺作為它們實現(xiàn)企業(yè)級應用的首選平臺。ade、 Message Fa231。最終,形成了一個適應各種不同的業(yè)務需要的可重用軟件架構。 使用這個架構可以使軟件開發(fā)商有效的節(jié)約開發(fā)成本,縮短開發(fā)周期,降低開發(fā)風險,提高開發(fā)效率,快速地為客戶提供所需要的軟件產(chǎn)品。 in business Luo Ji layer depending on the business need to use the Session Fa231。ade, DAO. In the end, forming a variety of business needs to adapt to the reusable software architecture. This reusable framework encapsulates a large number of layers and layers interact Daima, developers need to worry about data, how to pass between the layers, requiring Genju Shangye logic to achieve a specific standard interface, can be rapidly developed need for software . Using this architecture enables software developers saving development costs, shorten development cycles, reduced risk, improve development efficiency. 【 Key words】: J2EE Struts EJB DAO Filter 目 錄 III 目 錄 摘 要 ...................................................... ........I ABSTRACT.................................................... .....II 目 錄 ........................................... 錯誤 !未定義書簽。ADE模式 ................................................................................... 20 實現(xiàn) MESSAGE FACADE 模式 ................................................................................. 21 實現(xiàn)關系 /對象映射 ......................................................................................... 24 DTO/VO 的應用 ................................................................................................. 29 本章小結 .......................................................................................................... 32 第五章 WEB 應用框架的測試 .................................................................................... 33 WEB 應用框架的實現(xiàn) ...................................................................................... 33 WEB 應用框架的測試 ...................................................................................... 33 WEB 應用框架的安全性考慮 ........................................................................... 34 第六章 WEB 應用框架的應用 .................................................................................... 38 公告管理系統(tǒng)的需求