Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - 9-1 9-2
Search - 9-1 9-2 - List
·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
Date : 2009-04-08 Size : 30.05mb User : fengbozs@163.com

SWING包是JAVA 一个重要的包,如何利用好这个包中的类是开发JAVA程序的关键-SWING bread is an important JAVA kits, how to make good use of this type of package is the development of key Java
Date : 2025-12-25 Size : 686kb User : 周贵卿

spring的源代码,没有什么上传,暂传这个,为了下载也没有办法啦,希望原谅。-spring's source code, nothing uploads-the suspense, in order to download not worry, forgive.
Date : 2025-12-25 Size : 17.22mb User : hhr

javaservlet 2.4 spec api describe javaservlet 2.4 spec api describe-javaservlet 2.4 spec api describe javaser vlet 2.4 spec api describe
Date : 2025-12-25 Size : 162kb User : eyestone

DL : 0
很好的java教程 无需密码即可解压,双击可执行文件 直接阅读 引言 1. 前提 2. Java的学习 3. 目标 4. 联机文档 5. 章节 6. 练习 7. 多媒体CD-ROM 8. 源代码 9. 编码样式 10. Java版本 11. 课程和培训 12. 错误 13. 封面设计 14. 致谢 -good java Directory without a password unpack, double-click the executable file directly reading INTRODUCTION 1. 2 premise. Java learning 3. Goal 4. Online Documentation 5. sections 6. practice 7. Multimedia CD-ROM 8. Source Code 9. Coding format 10. Java version 11. courses and training 12. 13 errors. Cover Design 14. Thanks
Date : 2025-12-25 Size : 1.01mb User : zhangyu

DL : 0
(pdg格式,请用BXViewer打开)Java3D是由SUN公司推出的、面向Internet的三维动画程序语言。通过在网页上插入用Java3D编写的Applet,就能让浏览网页的用户感受到逼真的三维动画效果。全书共分10章。第1章对Java3D作了全面的介绍;第2章和第3章讲述如何构建基本的三维形体并用它们组合成复杂物体;第4章讲述怎样在Java3D中利用AutoCAD、3DS等软件设计的形体;第5章~第7章分别介绍建立真实的三维环境所必需的灯光、材质、纹理、背景、雾效和声音等要素;第8章阐述如何用鼠标、键盘控制三维形体的运动;第9章讲解如何让三维形体按照预定的轨迹运动以及如何优化形体的运动性能;第10章给出了一个综合实例,它将深化读者对Java3D的认识。本书附带的光盘中提供了书中全部源程序、常用的开发工具和重要的技术资料。本书由有丰富的Java3D开发经验的清华大学研究人员编写。它不是一本Java3D的语法书或使用手册,而是作者对自己实践经验的提炼。本书用大量的实例生动地阐述编程要点,让读者动态地掌握编程方法,而非静态地学习编程规则;本书着重介绍应用编程经常会用到的一些技术,但并不面面俱到,目的是让读者尽可能简洁地掌握编程的要旨。本书适用于有一定Java基础的网络编程爱好者和开发人员。-(pdg format, Please BXViewer opened) from the Sun Java3D is introduced by the company. Internet-oriented 3D animation programming language. Through the website inserted with Java3D prepared by the applet. will be able to browse the website users feel realistic 3D animation. The book is divided into 10 chapters. Chapter 1 of Java3D made a comprehensive presentation; Chapter 2 and chapter 3 on how to construct a basic three-dimensional movement and use them to form complex objects; Chapter 4 in Java3D on how to use AutoCAD and 3D software design of the Eye; Chapter 5 ~ Chapter 7 were introduced to establish the true 3D environment necessary for the lighting, materials, texture, background, Fog-and audio elements; Chapter 8, described how to use the mouse, keyboard control of the three-dimens
Date : 2025-12-25 Size : 5.35mb User : gongjian

21天学通J2EE的例子4,很好呀,本人最近正在学校J2EE,发现这本书很好,但是此书的程序很少,嘿嘿,我发上来共享此书,希望可以下到代码。-21 days J2EE learning in the four examples, good ah, I recently was the school J2EE, found this book very good, but the procedure is rarely this book a little, I share the line with this book, I hope that they can make to the code.
Date : 2025-12-25 Size : 977kb User : 文类

ONGL学习的好书,介绍ONGL的相关知识-ONGL learning books on the relevant knowledge ONGL
Date : 2025-12-25 Size : 351kb User : gyt

一个基于 Internet Explorer 中 MSHTML 技术的 ASP.NET 服务器控件,可以轻松地将其嵌入到 Web Forms 中实现 HTML 内容的在线编辑,在新闻发布、博客写作、论坛社区等多种 Web 系统中都会有用途. -one based on Internet Explorer technology ASP.NE MSHTML T server component can be easily embedded into Web Forms achieve contents of the online HTML editor, In press releases, blog writing, community forums, and other Web system will have uses.
Date : 2025-12-25 Size : 73kb User : 王制

DL : 0
Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理信息系统。Geotools提供了OGC(Open Geospatial Consortium)规范的一个实现来作为他们的开发-Geotools is an open source Java GIS toolkit can be used to develop sub-standard geographic information systems. Geotools provide OGC (Open Geospatial Consortium) specifications as a realization of their development
Date : 2025-12-25 Size : 19.1mb User : 孙长叹

iBATIS似乎已远离众说纷纭的OR框架之列,通常人们对非常流行的Hibernate情有独钟。但正如Spring A Developer s Notebook作者Bruce Tate 和Justin Gehtland所说的那样,与其他的OR框架相比,iBATIS独辟蹊径“iBATIS不是试图从根本上掩盖SQL,实际上,它是在拥抱SQL。” 但别犯愁:SQL本身具备了一些重要的功能,并且通过模板的使用,在Spring应用中采用iBATIS显得轻而易举。在此摘录中,两位作者将和你一起安装iBATIS并将其集成进你的Spring应用中。他们也阐明了怎样取得你已编写的SQL语句及把他们映射给iBATIS使用的Bean。最后,还讨论了iBATIS的优缺点,及为什么是这样的一种方式,即所谓的“在完全OR与JDBC之间的一个幽雅的折衷。” 就象Developer s Notebook 系列中所有的书一样,你将由直接的且实用的方式获得信息,这些信息包含了完成你工作所需的细节。换言之:“一切来自实战,没有讲义。”
Date : 2025-12-25 Size : 256kb User : 幸福的流浪

Apache_2.0.59-Openssl_0.9 配置tomcat. Apache_2.0.59-Openssl_0.9 配置tomcat.-Apache_2.0.59-Openssl_0.9 配置tomcat. Apache_2.0.59-Openssl_0.9 配置tomcat.
Date : 2025-12-25 Size : 6.7mb User : lele

DL : 0
该文件中有《Java案例开发集锦》一书中的所有案例源程序代码,编译通过的实例类代码和工程文件,以及案例中应用的数据库,并有在案例中涉及的相关Java类文件。配书文件中全部内容包括: 1. chp1-chp10目录。分别对应第1章到第10章的代码。每个目录下有案例1到案例n(n=4,6,7,8,9,10,12)目录,每个目录对应书中章节案例的代码。除小部分代码需要重新编译外,其他无数据源的代码可以直接运行。 2. lib目录,案例中涉及的部分相关Java类文件。 3. readme.txt 本文件-The document " Java Collection cases the development of" one book source code of all cases, the compiler through the examples of types of code and project file, as well as the application of the database cases and in cases involving the relevant Java class file. Document with the entire contents of the book include: 1. Chp1-chp10 directory. Chapter 1, respectively, corresponding to Chapter 10 of the code. There was a case for each directory from 1 to the case n (n = 4,6,7,8,9,10,12) directory, each directory corresponding to the case of the code book chapters. In addition to a small number of code need to recompile other data sources not directly run the code. 2. Lib directory, the case involved in part of the relevant Java class file. 3. Readme.txt this document
Date : 2025-12-25 Size : 2.99mb User : 黄晓伟

MMAPI1.2 JSR135 javadoc
Date : 2025-12-25 Size : 163kb User : huang

weblogic 9.2 Configured.docx 的配置使用-weblogic 9.2 Configured.docx
Date : 2025-12-25 Size : 12kb User : hou

HTML Parser is a Java library used to parse HTML in either a linear or nested fashion. Primarily used for transformation or extraction, it features filters, visitors, custom tags and easy to use JavaBeans. It is a fast, robust and well tested package. -HTML Parser is a Java library used to parse HTML in either a linear or nested fashion-HTML Parser is a Java library used to parse HTML in either a linear or nested fashion. Primarily used for transformation or extraction, it features filters, visitors, custom tags and easy to use JavaBeans. It is a fast, robust and well tested package.-HTML Parser is a Java library used to parse HTML in either a linear or nested fashion
Date : 2025-12-25 Size : 1.37mb User : eric yu

java课程设计 一、保存计算过程的计算器 1. 题目简介 Windows 2000/xp 系统中的“计算器”是一个方便实用的计算工具,但没有提供保存计算过程的功能。本课题的计算器说遵循的计算规则与Windows 2000/xp 系统中的“计算器”相同,除了有普通的计算功能外,还具有其他功能。 2. 设计的内容、要求和目标 (1)单击“计算器”上的数字按钮(0,1,2,3,4,5,6,7,8,9)可以设置参与计算-java Curriculum design save calculation process of calculator
Date : 2025-12-25 Size : 559kb User : 吴金兵

DL : 0
jena的使用学习 包括开发本体的语义工具的使用-jena' s use of learning tools including the development of the use of semantic ontology
Date : 2025-12-25 Size : 22.21mb User : alexlinym

DL : 0
该程序已经集成了两个数据库,该数据库(book.mdb)位于gb下, 本程序的功能如下: 1)本程序完全采用jsp脚本技术 2)后台管理,可以对栏目进行设置,添加、删除、修改栏目和专题的功能 3)可以对添加的记录进行添加、删除、编辑的功能 4)前台可以自动生成栏目,默认为选择前十的栏目 5)前台显示当天的下载爬行和总的下载排行 6)前台能够显示数据的统计 7)本程度的美化做得已经很好了,几乎拿来过来就能用 8)可以进行注册、登陆、搜索的功能 9)忘了,太多了,我记不清……:(,The program has integrated the two databases, the database (book.mdb) located gb The functionality of the program are as follows: 1) The program is completely jsp scripting techniques 2) Admin can set sections, add, delete, modify the function of the part and thematic 3) can add records to add, delete, edit functionality 4) The front desk can automatically generate columns default for the selection of the top ten columns 5) The front display download download crawling and total day s Ranking 6) can be displayed at the front desk of statistical data 7) the extent of the beautification done has been very good, almost brought over will be able to 8) register, login, search functions 9) forget too much, I can not remember ...: (
Date : 2025-12-25 Size : 696kb User : 心剑

highcharts-4.2.4操作图表,功能很强大,效果很炫 -Highcharts- 4.2.4 operation chart, the function is strong, the effect is very cool
Date : 2025-12-25 Size : 682kb User : hotinly
« 12 3 4 »
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.