基于JSF与Hibernate混合模式的进销存系统的研究与开发
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
传统上的C/S架构渐入黄昏,B/S模式作为新一代的架构体系正如日中天,成为网络时代的新宠儿。该文主要是围绕企业进销存管理系统的系统设计与如何融合两种新型架构的方案做了大量工作,过去大多使用Struts架构搭建B/S模式的进销存系统,文中根据化工企业生产特点采用J2EE的新显示层架构JSF并辅助以Hibernate为企业定制一套集供应、销售、仓库、管理为一体的进销存管理软件。化工企业从其制造方式上讲,属于典型的流程型制造行业,有着自身的生产经营特点和对进销存软件功能的特殊要求,不能生搬硬套别的行业经验。文中介绍了淮化集团销售、供应等部门运营情况,对化工企业的运行与管理流程深入分析,并且根据企业的实际情况,进行模块化设计,对增加企业的竞争力,减少运营成本有较大的帮助。
     本系统采用四层模型设计:1.运行在客户端机器的客户层组件,通常是Browser,也可以是Applet。2.运行在J2EE服务器中的Web层组件,本系统由JSF与JSP构成。3.运行在J2EE服务器中的商业层组件,也称业务层,这里采用的JavaBean进行组件的组装关联。4.数据持久层,本系统借助Hibernate和连接池技术实现访问和操作数据库。文中重点研究四层模型,对结合JSF、Hibernate方法设计出一种较好的模式,对同行业软件的设计有一定借鉴作用。
In the traditional C/S frame gradually enters the dusk, the B/S pattern took the new generation of overhead frame system at the height of power, is becoming the network time new pet. This paper will focus on management system enterprise system design done a lot of work. In the past Struts framework for the use of this architecture structures management system, models According to the text chemical production features using the J2EE tier of the new display framework JSF and Hibernate of supporters customized for enterprises to collect the supply, sale, storage, and management of integrated management software. Manufacturing enterprises from the chemical method, is typically the flow-manufacturing industries, has its own characteristics and production operations of, management software to the special demands can not be applied mechanically other industry experience. This paper introduces the Huaihua Group sales, the supply sector operators, as well as the operation of the chemical industry and in-depth analysis of the management process, according to the actual situation, modular design, to increase the competitiveness of enterprises, reduce operating costs have more help.
     The system uses four level model : 1. Running on the client machine components of the client layer, usually Browser. It can also be a applications Applet. 2. J2EE runs on the Web server components from JSP or Servlet component, layer the system consists of JSF and JSP form. 3. J2EE server running on the commercial layer components, also called business layer, here the JavaBean components for the assembly and association. 4. Data persistence layer using Hibernate and connection pool technology to access and manipulate the database. In-depth article on the four-storey structure, with the JSF, Hibernate is a better model, the same industry software design reference.
引文
[1][美]Bruce Eckel侯捷译JAVA编程思想[M]第三版.机械工业出版社,2004
    [2]李发致.Java面向对象程序设计教程[M].清华大学出版社,2004.9
    [3]阎宏.Java与模式[M].北京:电子工业出版社;22-23页151-170页.2002年10月第1版
    [4]Jaworski James著,邱仲潘等译.JavaScript从入门到精通[M].电子工业出版社.1998年1月
    [5]奥古斯特.威廉.谢尔著.陈戎译《企业管理的计算机化》[J]上海科学技术文献出版社.2003
    [6]余凌宇,于杰栎.“企业存货管理信息决策探讨”“管理信息系统”[J]1998年8月
    [7]George Reese.JDBC与Java数据库编程(第二版)[M].北京:中国电力出版社,2002.15-20.
    [8]Hibemate Organization.Hibernate Annotations,http://www.hibemate.org,2004
    [9]Chuck Cavaness.Jakarta Struts编程(第二版)[M],北京:中国电力出版社,2005,7-16.25-123.
    [10]孙卫琴.精通Hibernate:Java对象持久化技术详解[M],北京:电子工业出版社,2005,99-150,351-400.
    [11]刘洋.精通Hibernate[M],北京:电子T业出版社,2005,236-238
    [12]SQL SERVER 2000开发人员指南(陆昌辉、吴晓华译)[M].希望出版社
    [13]Hans Bergsten.Java Server Pages[M].中国电力出版社,2004.12
    [14]孙卫琴,李洪成Tomcat与Java Web开发技术详解[M]电子工业出版社,2005.5
    [15]Steven Holzner.JavaScript使用详解[M].机械工业出版社.1999年1月
    [16]杨学瑜,王志军等JSP入门与提高[M].北京:清华大学出版社,2002.3
    [17]Bill Dudney,Jonathan lehr,Bill Willis,Leroy Mattingly著,孙勇,蔡云志译 Mastering JavaServer Faces中文版[M],电子工业出版社,2005
    [18]袁鹏飞,孙军安.中文版SQL Server 2000数据库系统管理[M].北京人民邮电出版社,2001.5
    [19]王雷,蔡自兴.用JSP开发Web应用计算机应用[J],2001年10月第21卷第10期
    [20]姚家奕、吕希艳、张润彤.管理信息系统[M].北京首都经贸大学出版社,2003年版:
    [21]J2EE 1.4 Specification.JCP,JSR-151.http://www jcp.org/aboutJava/Communityprocess/final/jsr151/
    [22]罗荣,唐学兵.基于JDBC的数据库连接池的设计与实现[J].计算机1”程,2004.30(9):92 93
    [23]宋善德,郭飞.基于JAVA的WEB数据库连接池技术的研究[J].计算机L程与应用,2002.8
    [24]刘继华,李腊元.一种基于JDBC的数据库连接池的设计与实现[J].计算机工程与应用,2003.7
    [25]Robert C.Martin.UML:Java程序员指南(黄晓春译)[M].北京:清华大作者:tong学出版社,2004
    [26]Marry Hall,Larry Brown.Servlet与JSP核心编程(2nd)(赵学良译)[M].北京:清华大学出版社,2004
    [27]Marc Loy.Java Swing(R&W组译)[M].北京:清华大学出版社,2004
    [28]Y.Daniel Liang.Introduction to Java Programming(4th)[M].Pearson Education,2003
    [29]Ted Husted著Eric Liu(铁手)详.Struts in Action中文版(电子版)
    [30]Stephan Wiesner著.Struts Tutorial[M]University of Applied Sciences Luneburg.2002
    [31]吴洁,XML应用教程[M],北京,清华大学出版社.2005
    [32]杨艳,唐胜群,张文涛,XML Web服务技术探讨[J].计算机应用研究,2002,10
    [33]张树槐,洪兰.化工行业企业生产经营特点与ERP软件选型[J].AMT.2004.12
    [34]RJ.A.Buh/R.S.Casselman,Use Case Maps for Object-Oriented System,Prentice Hall
    [35]李红、董渊、曹永宁、蒋深,基于J2EE的企业信息平台的设计与实现[J],计算机工程,2003.2
    [36]Monica Pawlan,J2EE Blueprints Digest,http://developer.java.sun.com/developertechnicalArticles/J2EEDesignEntApps,2002.1
    [37]飞思科技产品研发中心编著,JSP应用开发详解[M],北京,电子工业出版社,2004.10
    [38]Khawar Zaman Ahmed,Cary E.Umrysh.用J2EE和UML开发Java企业级应用 程序[M],北京清华大学出版社,2002
    [39]程英苦,殷肖川,吴丰.从C/S模式转向B/S模式.空军工程大学学报(自然科学版)[J]2000.6 Vol 1 No.2
    [40]中国BS网(chinaBS.net).B/S结构.www.chinabs.net/webwork
    [41]求是科技编著.SQL SERVER 2000数据库开发技术与工程实践.北京:人民邮电出版社,2004
    [42][美]Jason Hunter William Crawford著Java Servlet编程[M].中国电力出版社.2002
    [43]苏治中编著.Dreamweaver MX 2004实用教程[M],北京:中国铁道出版社,2004.
    [44]Hibemate符合JAVA习惯的关系数据库持久化[M].中国电力出版社,2004.
    [45]Hibernate中文官方网站.http://www.hibemate.org.cn.
    [46]Notman Mein.Data Persistence Frameworks-An introduction to Hibemwe.http//www.baychi.org/calendar/files/hibernate-Wk/hibemate-talk.pd,2003.
    [47]Mark Eagle.使用 open source 产品组装你的 web 应用.http://www.urnl.org.cn/j2eel200441824.htm.
    [48]Vincent Massol.JUnit in Action,Manning Publications Co.,2004
    [49]于洋,芦东听,方马.运用Struts的MVC设计模型.计算机应用,2003.12
    [50]Cay S.Horstmann,Cary Comell,Java核心技术(第二版)[M].机械工业出版社,2004
    [51]刘奕.基于Struts框架的J2EE Web应用的研究和实现:[D]武汉:武汉大学,2004

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700