Welcome![Sign In][Sign Up]
Location:
Search - hibernate dao

Search list

[WEB Codevirginity

Description: 整合spring,struts,hibernate的web系统开发框架,内部封装了hibernate的DAO.-integration spring, struts, hibernate web systems development framework, Internal Packaging hibernate in the DAO.
Platform: | Size: 124681 | Author: 1 | Hits:

[JSP/Javathe-realization-of-J2EE

Description: 本文开发了一套基于J2EE技术的新兵思想评估系统。该系统基于多层B/S软件架构,提高了系统的稳定性、灵活性及安全性;通过使用UML的系统分析,MVC、DAO等设计模式及面向对象(VC++)的设计和开发,采用Spring、Hibernate、WebWork等框架技术,提高了开发的效率,为相关系统的设计开发探索了一条新思路。-paper develops a set of technologies based on J2EE recruits thinking evaluation system. The system is based on Multi-B / S software framework, improve the system stability, flexibility and safety; through the use of UML analysis, the MVC, DAO pattern and the design of object-oriented (VC + +), the design and development using Spring, Hibernate, WebWork framework of such technology, to improve the efficiency of the development, related to the exploration, design and development of a new idea.
Platform: | Size: 1739282 | Author: 王浩(jiqixueyuan) | Hits:

[JSP/JavaHibernateGenericDao

Description: 自己封装的基于spring,hibernate的DAO基类,最佳实践,是目前开发项目的核心代码之一。做j2ee的可以从这个封装上学习,并减少DAO和一般Manager类的封装。如果站长没有相中,请删除。 我在j2ee上,知晓颇多,可以为网站提供java方面的最佳实践代码。-Packaging, based on their spring and hibernate the DAO base class, best practice, is the development of one of the core code. J2ee could do from this study on Packaging and reduce DAO and General Manager of Packaging category. If no phase of the station, please delete. I j2ee, knowing a lot can provide java for the website of best practice code.
Platform: | Size: 4436 | Author: bjwulin | Hits:

[JSP/Javamyblog

Description: 博克系统,struts+hibernate+dao模式-Burke's system, struts hibernate mode monobook.js
Platform: | Size: 2138583 | Author: zhangwei | Hits:

[JSP/Java2005100716065173499

Description: ServletFilter+ThreadLocal+DAO,10分钟Hibernate再体验 论坛上关于如何管理session的讨论已经很多了,但是因为没有一个完整的可以run的例子,很多人在这点上还是感到迷惑。今天有时间,就把自己做过的一个小例子贴出来,希望能节省后来者的学习时间。
Platform: | Size: 13956 | Author: a | Hits:

[JSPJava 实用系统开发指南JavaPractice

Description: ·VI· 目 录 前言 第1章 高性能聊天系统...................................................................................................1 1.1 系统需求...........................................................................................................1 1.2 架构设计...........................................................................................................2 1.2.1 Java事件模型.....................................................................................................2 1.2.2 架构设计图.......................................................................................................5 1.2.3 协议设计.........................................................................................................5 1.2.4 多线程...........................................................................................................6 1.2.5 线程池...........................................................................................................9 1.2.6 非堵塞I/O........................................................................................................11 1.3 Socket核心设计和实现...............................................................................................13 1.3.1 TCP和Reactor模式.................................................................................................14 1.3.2 UDP实现..........................................................................................................19 1.3.3 客户端实现.......................................................................................................22 1.4 Socket接口设计和实现..............................................................................................28 1.4.1 队列和对象类型..................................................................................................28 1.4.2 访问者模式定义..................................................................................................32 1.4.3 访问者模式实现..................................................................................................36 1.4.4 协议封装........................................................................................................39 1.4.5 重整Refactoring.................................................................................................41 1.5 应用接口设计和实现................................................................................................45 1.5.1 Connection API..................................................................................................46 1.5.2 ConnectionFactory API...........................................................................................49 1.5.3 TcpConnection API...............................................................................................53 1.5.4 UdpConnection API...............................................................................................54 1.6 应用层设计和实现..................................................................................................56 1.6.1 客户端聊天测试..................................................................................................56 1.6.2 服务器聊天测试..................................................................................................58 1.7 性能测试..........................................................................................................59 1.8 小结..............................................................................................................61 第2章 简单的用户注册系统..............................................................................................62 2.1 需求分析............................................................................................................62 2.2 系统设计............................................................................................................62 2.2.1 JSP/Servlet与J2EE.................................................................................................63 2.2.2 结构设计图........................................................................................................64 2.2.3 JSP/JavaBeans技术要点.............................................................................................65 2.2.4 JDBC和连接池......................................................................................................68 2.2.5 数据库设计........................................................................................................70 2.3 类的详细设计和实现..................................................................................................71 2.3.1 Facade模式........................................................................................................71 2.3.2 JDBC通用操作类....................................................................................................73 2.3.3 E-mail发送通用类..................................................................................................78 2.3.4 用户资料管理......................................................................................................79 2.3.5 密码数据操作类....................................................................................................83 2.3.6 登陆验证功能......................................................................................................85 2.4 界面编程实现........................................................................................................87 2.4.1 登陆验证页面......................................................................................................87 2.4.2 注册页面..........................................................................................................88 2.5 调试、发布和运行....................................................................................................90 2.5.1 单元测试..........................................................................................................91 2.5.2 快速配置开发环境..................................................................................................92 2.5.3 Tomcat配置和调试..................................................................................................93 2.5.4 Tomcat连接池使用..................................................................................................95 2.6 Hibernate使用.......................................................................................................99 2.7 小结................................................................................................................103 第3章 Jive论坛系统.....................................................................................................107 3.1 Jive功能需求.......................................................................................................107 3.2 Jive与设计模式.....................................................................................................108 3.2.1 设计模式.........................................................................................................109 3.2.2 ForumFactory与工厂模式...........................................................................................109 3.2.3 统一入口与单态模式...............................................................................................113 3.2.4 访问控制与代理模式...............................................................................................114 3.2.5 批量分页查询与迭代模式...........................................................................................115 3.2.6 过滤器与装饰模式.................................................................................................120 3.2.7 主题监测与观察者模式.............................................................................................124 3.3 Jive安全管理机制...................................................................................................128 3.3.1 安全验证机制.....................................................................................................129 3.3.2 用户资料管理.....................................................................................................132 3.4 Jive的缓存机制.....................................................................................................133 3.4.1 缓存原理和实现...................................................................................................133 3.4.2 缓存使用.........................................................................................................136 3.4.3 小结.............................................................................................................139 3.5 Jive的其他组件技术.................................................................................................140 3.5.1 Jive的树形结构...................................................................................................140 3.5.2 XML和JDOM........................................................................................................143 3.5.3 全文检索和Lucene.................................................................................................147 3.5.4 Jive的中文问题...................................................................................................152 3.6 Jive图形处理.......................................................................................................154 3.6.1 图片上传处理.....................................................................................................154 3.6.2 服务器端图形处理.................................................................................................157 3.7 Jive安装调试运行...................................................................................................159 3.8 小结...............................................................................................................160 第4章 网站内容管理系统.................................................................................................161 4.1 需求分析...........................................................................................................161 4.2 架构设计...........................................................................................................162 4.2.1 系统架构图.......................................................................................................163 4.2.2 MVC模式和Struts..................................................................................................164 4.2.3 DBO模式和Castor..................................................................................................167 4.2.4 Cache设计........................................................................................................172 4.3 详细设计和实现.....................................................................................................173 4.3.1 基本对象设计.....................................................................................................173 4.3.2 数据模型的实现...................................................................................................174 4.3.3 抽象工厂(Abstract Factory)模式...................................................................................175 4.3.4 生成器(Builder)模式..............................................................................................180 4.4 表现层的实现.......................................................................................................187 4.4.1 Strut相关设置....................................................................................................187 4.4.2 创建PageForm.....................................................................................................189 4.4.3 创建PageAction...................................................................................................192 4.4.4 创建page.jsp页面.................................................................................................194 4.4.5 自定义标签库.....................................................................................................196 4.4.6 创建SavePageAction...............................................................................................199 4.4.7 Tile模板.........................................................................................................201 4.4.8 创建cmsMenu.jsp..................................................................................................203 4.4.9 创建index.jsp....................................................................................................203 4.4.10 小技巧..........................................................................................................204 4.5 项目重整Refactoring................................................................................................205 4.6 调试、发布和运行...................................................................................................206 4.6.1 配置和运行.......................................................................................................206 4.6.2 Log调试信息的配置................................................................................................206 4.7 小结...............................................................................................................207 第5章 订阅信息系统.....................................................................................................209 5.1 需求分析...........................................................................................................209 5.2 架构设计...........................................................................................................209 5.2.1 Cache和Pool......................................................................................................210 5.2.2 EJB框架体系......................................................................................................211 5.2.3 架构图...........................................................................................................213 5.2.4 接口框架设计.....................................................................................................213 5.3 EJB详细设计和实现..................................................................................................214 5.3.1 业务对象建模.....................................................................................................215 5.3.2 开发环境配置.....................................................................................................216 5.3.3 CMP图形开发......................................................................................................217 5.3.4 实体Bean.........................................................................................................221 5.3.5 Facade Session Bean..............................................................................................229 5.3.6 Transfer Object模式..............................................................................................232 5.4 Web与EJB接口框架...................................................................................................233 5.4.1 框架的设计.......................................................................................................233 5.4.2 框架的实现.......................................................................................................235 5.4.3 框架的使用.......................................................................................................243 5.5 表现层的设计和实现.................................................................................................247 5.5.1 创建ActionForm...................................................................................................247 5.5.2 创建Action 类....................................................................................................248 5.5.3 创建JSP页面......................................................................................................248 5.6 调试配置和运行.....................................................................................................249 5.6.1 JBoss和MySQL的配置...............................................................................................250 5.6.2 JNDI配置.........................................................................................................251 5.6.3 部署和发布.......................................................................................................253 5.6.4 调试和测试.......................................................................................................254 5.7 小结...............................................................................................................254 第6章 用户安全管理系统.................................................................................................256 6.1 需求分析...........................................................................................................256 6.2 架构设计...........................................................................................................256 6.2.1 角色.............................................................................................................257 6.2.2 J2EE的JAAS.......................................................................................................257 6.2.3 单点登录.........................................................................................................259 6.2.4 邮件发送组件.....................................................................................................261 6.3 详细设计和实现.....................................................................................................261 6.3.1 业务对象建模.....................................................................................................261 6.3.2 数据库设计.......................................................................................................263 6.3.3 实体bean实现.....................................................................................................263 6.3.4 Session Bean实现.................................................................................................266 6.3.5 EJB容器安全配置..................................................................................................273 6.4 JMS 邮件发送组件...................................................................................................275 6.4.1 消息发送器.......................................................................................................276 6.4.2 MDB..............................................................................................................279 6.5 Web层的实现........................................................................................................282 6.5.1 用户资料管理.....................................................................................................282 6.5.2 Web容器安全配置..................................................................................................287 6.6 调试配置和运行.....................................................................................................289 6.6.1 JAAS配置.........................................................................................................290 6.6.2 邮件服务的配置...................................................................................................291 6.6.3 部署和发布.......................................................................................................292 6.7 小结...............................................................................................................292 第7章 EJB方法调用框架..................................................................................................294 7.1 框架概况...........................................................................................................294 7.1.1 远程调用技术背景.................................................................................................294 7.1.2 框架结构.........................................................................................................295 7.2 框架设计..........................................................................................................296 7.2.1 代理(Proxy)模式...............................................................................................296 7.2.2 动态代理........................................................................................................298 7.2.3 反射(Reflection)和方法调用....................................................................................300 7.2.4 HTTP协议和对象序列化............................................................................................302 7.2.5 框架设计图......................................................................................................304 7.2.6 HTTPSession和缓存机制...........................................................................................305 7.2.7 基于HTTP的安全机制..............................................................................................306 7.3 类的详细设计和实现................................................................................................309 7.3.1 基本业务对象....................................................................................................310 7.3.2 动态代理工厂....................................................................................................312 7.3.3 肥客户端/服务器架构下实现.......................................................................................315 7.3.4 Web层代理Servlet Proxy..........................................................................................322 7.3.5 浏览器/服务器架构下实现.........................................................................................324 7.3.6 核心代理Business Proxy实现......................................................................................327 7.4 框架的使用和调试..................................................................................................333 7.4.1 配置............................................................................................................333 7.4.2 浏览器/服务器架构下的应用.......................................................................................335 7.4.3 肥客户端/服务器架构下的应用.....................................................................................336 7.5 小结..............................................................................................................337 第8章 网上商店系统...................................................................................................338 8.1 系统需求和设计...................................................................................................338 8.1.1 基本业务对象...................................................................................................339 8.1.2 数据表设计.....................................................................................................340 8.2 数据操作通用框架.................................................................................................344 8.2.1 框架的提炼和设计...............................................................................................347 8.2.2 增、删、改、查框架实现.........................................................................................352 8.3 商品类别管理功能的实现...........................................................................................356 8.3.1 创建Session Bean................................................................................................357 8.3.2 EJB配置.........................................................................................................358 8.3.3 创建Category相关类实现..........................................................................................360 8.3.4 Web配置.........................................................................................................361 8.3.5 创建Category.jsp................................................................................................362 8.4 商品管理功能的实现................................................................................................364 8.4.1 创建ProductManager..............................................................................................364 8.4.2 EJB配置.........................................................................................................366 8.4.3 创建Product相关类实现...........................................................................................368 8.4.4 Web配置.........................................................................................................369 8.4.5 创建product.jsp.................................................................................................370 8.4.6 商品图片上传功能................................................................................................374 8.5 商品批量查询和多页显示............................................................................................376 8.5.1 DAO模式.........................................................................................................377 8.5.2 Strut框架下设计和实现...........................................................................................385 8.5.3 页导航条实现....................................................................................................388 8.6 购物车功能的实现..................................................................................................393 8.6.1 有状态Session Bean..............................................................................................393 8.6.2 Web功能实现.....................................................................................................396 8.7 小结..............................................................................................................399
Platform: | Size: 31514707 | Author: fengbozs@163.com | Hits:

[JSP/JavaHibernateGenericDao

Description: 自己封装的基于spring,hibernate的DAO基类,最佳实践,是目前开发项目的核心代码之一。做j2ee的可以从这个封装上学习,并减少DAO和一般Manager类的封装。如果站长没有相中,请删除。 我在j2ee上,知晓颇多,可以为网站提供java方面的最佳实践代码。-Packaging, based on their spring and hibernate the DAO base class, best practice, is the development of one of the core code. J2ee could do from this study on Packaging and reduce DAO and General Manager of Packaging category. If no phase of the station, please delete. I j2ee, knowing a lot can provide java for the website of best practice code.
Platform: | Size: 4096 | Author: bjwulin | Hits:

[JSP/Javamyblog

Description: 博克系统,struts+hibernate+dao模式-Burke's system, struts hibernate mode monobook.js
Platform: | Size: 2138112 | Author: zhangwei | Hits:

[JSP/Javadao

Description: 一个综合系统的完整代码三struts.hibernate3.0,spring的结构-The integrity of an integrated system code three struts.hibernate3.0, spring structure
Platform: | Size: 1024 | Author: qf | Hits:

[Other Web CodeLogin

Description: 时尚数码平台登录模块 strut2+hibernate整合 四层架构 底层数据库层 DAO server层 表现层-Fashion digital platform registry module strut2+ Hibernate integrated four-tier structure the underlying database layer DAO server layer layer
Platform: | Size: 1243136 | Author: djj | Hits:

[JSP/Java07

Description: 网上购物商城,Spring mvc项目,Spring+Hibernate+MSSQL开发,并用了tiles模板和Dao模式。-Online Shopping Mall, Spring mvc project, develop with Spring+ Hibernate+ MSSQL, and use "tiles" templates and Dao pattern.
Platform: | Size: 1524736 | Author: Joeson | Hits:

[JSP/JavaJAVAframework

Description: 本课程学习完毕后学员可以熟练掌握以下内容 ·Struts框架 讲解MVC标准实现框架Struts的基本配置及基本使用,讲解了Struts的基本工作原理,常用标签(HTML、LOGIC、 BEAN)、各种主要Action(Action、ForwardAction、DispatchAction)、Struts验证框架、Struts国际化、Struts解 决重复提交及文件上传操作等。 ·Hibernate框架 讲解Hibernate框架的基本ORMapping实现及Hibernate主要的配置操作,并讲解了Hibernate数据检索操作、实体映射 技术、复合主键、实体层设计、容器映射技术及复杂的数据关联技术,并结合之前讲解的struts框架与DAO设计模式和 数据关联技术一起完成了三个大的项目开发练习,以帮助读者巩固Hibernate及Struts的使用。 ·Spring框架 结合Java基础中的对象产生介绍了Spring产生的主要目的,并通过代码详细讲解了Spring中各主要配置文件的作用, 并讲解了Spring中的Ioc、AOP技术和Jdbc模板技术,最后讲解了如何将Spring与Struts、Hibernate三个框架联合进 行开发,在最后的案例讲解中,重点讲解了SSH框架联合开发技术。 -After studying this course students can master the following Struts framework On the standard MVC framework Struts implementation of the basic configuration and basic use, to explain the basic working principle of Struts, commonly used tags (HTML, LOGIC, BEAN), the main Action (Action, ForwardAction, DispatchAction), Struts validation framework, Struts internationalization, Struts solution Must duplicate submission and file upload operation. Hibernate Framework Hibernate framework to explain the basic implementation ORMapping and Hibernate configuration of the main operation and on the Hibernate data retrieval operation, physical mapping Technology, composite primary keys, physical layer design, container mapping technique and complex data association techniques, combined with prior to the struts on the DAO framework and design patterns and Data association technique with three completed project development exercises to help readers to consolidate the use of Hibernate
Platform: | Size: 9129984 | Author: 方平 | Hits:

[JSP/JavaWorkHourSystem

Description: 在struts、spring、hibernate三个框架的基础上,分层搭建: model层:主要存放数据库中的表反转后的java及xml文件 DAO 层:存放对各表中数据的操作,是一个接口层 DAOImpl层:对DAO中方法的实现 service 层:业务逻辑层 serviceImpl层:对service层方法的实现 action层:控制页面跳转 JSP层:主要是页面的设计 直接接触用户的层-In struts, spring, hibernate on the basis of the three frameworks, hierarchical structures: model level: the main storage of the database table after reverse java and xml file DAO layer: the data stored on the operating table, is an interface layer DAOImpl layer: the method of implementation of DAO service layers: business logic serviceImpl layer: the implementation of the service layer method of action layer: control page Jump JSP layer: The main page design is the direct contact with the user' s level
Platform: | Size: 28627968 | Author: 吴明 | Hits:

[JSP/Javasystem

Description: Spring hibernate泛型DAO-Spring hibernate generic DAO
Platform: | Size: 120832 | Author: 米国米人 | Hits:

[JSP/JavaBASEDAO

Description: hibernate DAO 层泛型结构类-hibernate DAO
Platform: | Size: 76800 | Author: Squall | Hits:

[JSP/Javaspring-and-hibernate

Description: 这是本人在采用J2EE架构开发程序时所采用的Spring和Hibernate的混合框架的配置文件,Hibernate 将自身托管给Spring,换取Spring对Hibernate进行全面的支持。Spring为Hibernate注入SessionFactory对象,通过Hibernat来持久化对象,而Hibernate只需要获得SessionFactory的引用,便可以智能的打开Session,并通过Data Access Object(DAO)完成对数据库的CRUD(增、删、改、查)操作,并在持久化访问结束后关闭Session。-I used Spring and Hibernate with J2EE architecture and development process of the mixed framework configuration file, the Hibernate will be hosting their own to the Spring, in exchange for full support of Spring with Hibernate. Spring inject the SessionFactory for Hibernate persistent objects through Hibernat Hibernate only needs access to the SessionFactory reference, can be smart to open the Session, and by the Data Access Object (DAO) to complete the database CRUD (increase, delete, change, check) operation, and close the Session after the end of the visit of the persistence.
Platform: | Size: 5120 | Author: ss | Hits:

[JSP/Javaspring_hibernate

Description: J2EE下同是使用Spring与Hibernate框架,进行开发的实际例子,带JAR包。使用PO-DAO-SERVICE分层模型。-The J2EE hereinafter Spring and Hibernate frameworks for the development of practical examples, with the JAR package. Use the PO-DAO-SERVICE hierarchical model.
Platform: | Size: 695296 | Author: sheeny | Hits:

[JSP/Javabreaksky

Description: 自己开发的一套快速开发框架,自己开发类似hibernate的简易dao层,有成功的项目应用,满足绝大多业务系统功能要求,还代码自动生成引擎等.maven项目,其中包括框架部分和权限部分.-Develop their own set of rapid development framework, to develop their own similar simple hibernate dao layer, a successful project applications, the vast majority of business systems to meet the functional requirements, but also automatic code generation engines. Maven projects, including a frame portion and permissions section.
Platform: | Size: 437248 | Author: breaksky | Hits:

[JSP/Javadao

Description: hibernate DAO 实现代码GenericDAO接口,可以看看,还挺好的。-hibernate DAO implementation code GenericDAO interface, you can look pretty good.
Platform: | Size: 10240 | Author: ericzheng | Hits:

[JSP/Javabasic-hibernate

Description: 利用反射,泛型,注解,封装hibernate的一些dao操作,(Encapsulation of Hibernate's Dao operation)
Platform: | Size: 39936 | Author: 闪电天子 | Hits:
« 12 3 4 »

CodeBus www.codebus.net