Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - 7.14
Search - 7.14 - 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

这是一本试合JAVA初学者的书籍 第1章 对象入门 第2章 一切都是对象 第3章 控制程序流程 第4章 初始化和清除 第5章 隐藏实施过程 第6章 类再生 第7章 多形性 第8章 对象的容纳 第9章 违例差错控制 第10章 Java IO系统 第11章 运行期类型鉴定 第12章 传递和返回对象 第13章 创建窗口和程序片 第14章 多线程 第15章 网络编程 第16章 设计范式 第17章 项目 附录A 使用非Java代码 附录B 对比C++和Java 附录C Java编程规则 附录D 性能 -This is a test of a Java beginner books target Chapter 1 Introduction Chapter 2 are all targets with Chapter 3 system procedures have initialization Chapter 4 and Chapter 5 to remove hidden implementation process like Chapter 6 Chapter 7 of renewable pleomorphic Chapter 8 targets in Chapter 9 accommodate offenders error control Chapter 10 Java IO system Chapter 11 Operation Identification of the type-Chapter 12 targeted delivery and return of Chapter 13 proceedings and to create window film Chapter 14 multithreading Chapter 15 Network Programming Chapter 16 Fan Design- Chapter 17 Appendix A project to use non-Java code contrast Appendix B Appendix C and C Java Java programming rules Appendix D is performance
Date : 2025-12-18 Size : 674kb User : 洪逸轩

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-18 Size : 1.01mb User : zhangyu

DL : 0
Java2实用教程(第三版) 附:目录 第1章 Java入门 第2章 标识符、关键字和数据类型 第3章 运算符、表达式和语句 第4章 类、对象和接口 第5章 字符串 第6章 时间、日期和数字 第7章 AWT组件及事件处理 第8章 建立对话框 第9章 Java多线程机制 第10章 输入输出流 第11章 Java网络的基本知识 第12章 Java Applet基础 第13章 常见数据结构的Java实现 第14章 图形与图像 第15章 Java数据库连接(JDBC) 第16章 Java与多媒体 第17章 Java Swing基础-Java2 Practical Guide (third edition) By-laws: Chapter 1 Contents Chapter 2 Introduction to Java identifiers, keywords and data types in Chapter 3 operator, expressions and expressions Chapter 4 categories, objects and interfaces in Chapter 5 string Chapter 6 of the time, date and number of Chapter 7 dealing with AWT components and the events in Chapter 8 to establish dialog box Chapter 9 Java multi-threading mechanism of Chapter 10 input and output flows in Chapter 11 of the basic knowledge of Java Network Chapter 12 Java Applet Chapter 13 based on common Java data structures to achieve Chapter 14 graphics and image Chapter 15 Java Database Connectivity (JDBC) Chapter 16 Java and Multimedia Chapter 17 based on Java Swing
Date : 2025-12-18 Size : 21.4mb User : nacllv

DL : 0
java开发思想 1 :介绍对象 2 :一切都是对象 3 :控制计划 4 :初始化和清除 5 :隐藏实现 6 :重用类 7 :多态性 8 :接口与内部类 9 :错误处理的例外情况 10 :检测类型 11 :馆藏的物体 12 : Java的I / O系统 13 :并发 14 :创建Windows和程序 15 :发现问题 16 :分析与设计-thinking java 1: Introduction to Objects 2: Everything is an Object 3: Controlling Program 4: Initialization & Cleanup 5: Hiding the Implementation 6: Reusing Classes 7: Polymorphism 8: Interfaces & Inner Classes 9: Error Handling with Exceptions 10: Detecting Types 11: Collections of Objects 12: The Java I/O System 13: Concurrency 14: Creating Windows & Applets 15: Discovering Problems 16: Analysis and Design
Date : 2025-12-18 Size : 6.06mb User : 阿诺

DL : 0
1. 前提 2. Java的学习 3. 目标 4. 联机文档 5. 章节 6. 练习 7. 多媒体CD-ROM 8. 源代码 9. 编码样式 10. Java版本 11. 课程和培训 12. 错误 13. 封面设计 14. 致谢 -1. Premise 2. Java learning 3. Goal 4. Online Documentation 5. Chapter 6. Practice 7. Multimedia CD-ROM 8. Source code 9. Coding style 10. Java version of 11. 12 courses and training. Error 13. cover design 14. Thanks
Date : 2025-12-18 Size : 2.17mb User : java编程思想

DL : 0
编写一个方法求出指定数是否为完全数,完全数是其所有因子(包括1但不包括自身)的和等于该数自身和数。如28=1+2+4+7+14,28就是一个完全数。编写APPLET程序,接受用户输入的上下限,打印上下限之间的所有完全数。 -Write a method to find whether the specified number of perfect number, perfect number of all its factors (including 1 but excluding itself) and is equal to the number of its own and several. If 28 = 1+2+4+7+14,28 is a perfect number. APPLET programs prepared to accept user input of upper and lower limits, between the upper and lower limits of all print full number.
Date : 2025-12-18 Size : 1kb User : 张景

DL : 0
  经典JAVA教程课件.pdf,目录:   第1章Java环境及配置   第2章Java基本语法   第3章类和接口   第4章Java Applet   第5章Java图形处理   第6章Java用户界面技术   第7章异常、事件和多线程机制   第8章输入输出技术   第9章Java数据库技术   第10章Java安全技术   第11章Java网络技术(一)   第12章Java网络技术(二)   第13章Servlet技术   第14章Java读写XML技术-Classic JAVA tutorial courseware. Pdf, Contents: Chapter 1 Java environment and configuration Chapter 2 Chapter 3, the basic syntax of Java classes and interfaces in Java Applet Chapter 4 Chapter 5 Chapter 6 Java graphics processing technology, the Java user interface Chapter 7 abnormal , events, and multi-threading mechanism of input-output techniques in Chapter 8 Chapter 9 Chapter 10 Java Database technology Chapter 11 Java security technology Java Network Technology (a) Chapter 12 Java Network Technology (B) Chapter 13 Chapter 14 of the Servlet technology Java to read and write XML technology
Date : 2025-12-18 Size : 2.81mb User : huwei

1. Introduction and Getting Started 2. Resources 3. How Velocity Works The Fundamental Pattern 4. To Singleton Or Not To Singleton... Singleton Model Separate Instance 5. The Context The Basics Support for Iterative Objects for #foreach() Support for "Static Classes" Context Chaining Objects Created by the Template Other Context Issues 6. Using Velocity in General Applications The Velocity Helper Class Exceptions Miscellaneous Details 7. Application Attributes 8. Configuring Event Handlers 9. Velocity Configuration Keys and Values 10. Configuring Logging Using Log4j With Existing Logger Simple Example of a Custom Logger 11. Configuring the Resource Loaders (template loaders) Resource Loaders Configuration Examples Pluggable Resource Manager and Resource Cache 12. Template Encoding for Internationalization 13. Velocity and XML 14. Summary-1. Introduction and Getting Started 2. Resources 3. How Velocity Works The Fundamental Pattern 4. To Singleton Or Not To Singleton... Singleton Model Separate Instance 5. The Context The Basics Support for Iterative Objects for#foreach() Support for "Static Classes" Context Chaining Objects Created by the Template Other Context Issues 6. Using Velocity in General Applications The Velocity Helper Class Exceptions Miscellaneous Details 7. Application Attributes 8. Configuring Event Handlers 9. Velocity Configuration Keys and Values 10. Configuring Logging Using Log4j With Existing Logger Simple Example of a Custom Logger 11. Configuring the Resource Loaders (template loaders) Resource Loaders Configuration Examples Pluggable Resource Manager and Resource Cache 12. Template Encoding for Internationalization 13. Velocity and XML 14. Summary
Date : 2025-12-18 Size : 114kb User : liu

DL : 0
关于表格的使用说明 2 画表格 2 表格数据的构造 2 表格数据的列定义 4 表格的样式 4 表格复选框的实现 5 表格复选框默认选中的实现 6 表格顶端工具条 7 表格底端工具条 8 表格的加载与查询的实现 8 表格的单击事件 8 包装表格中的某列 9 可编辑表格的实现 10 对话框的使用 12 弹出窗口的使用 12 可伸缩的panel 14 EditGridPanel的构成、数据提交及后台接收 18 Ajax代码参考 21 Button的使用 21 -Form 2 columns of tabular data instructions for use table the painting table 2 tabular data structure defined 4-form style check box 5 of Form 7 form the bottom of the tool to achieve the top of the table toolbar check box is selected by default Article 8 Form load and query click event 8 form 8 packaging form a column 9 the composition panel 14 EditGridPanel editable form to achieve 10 dialog box, use the pop-up window use 12 scalable, data submission background receiving 18 Ajax code reference to the use of 21 Button 21
Date : 2025-12-18 Size : 37kb User : eva

Java实用教程 【第1章 Java环境及配置 第2章 Java基本语法 第3章 类和接口 第4章 Java Applet 第5章 Java图形处理 第6章 Java用户界面技术 第7章 异常、事件和多线程机制 第8章 输入输出技术 第9章 Java数据库技术 第10章 Java安全技术 第11章 Java网络技术(一) 第12章 Java网络技术(二) 第13章 Servlet技术 第14章 Java读写XML技术 】-Java practical tutorial [Chapter 1 Java environment and configuration Chapter 2 Java basic syntax Chapter 3 classes and interfaces Chapter 4 Chapter 5 of the Java Applet Java graphical processing Chapter 6 of the Java user interface technology Chapter 7 abnormal events and multithreading mechanisms Chapter 8 input and output technologies Chapter 9 Java database technology 10 Chapter 11 Chapter Java security technology Java network technology (a) Chapter 12 Java network technology (b) of Chapter 13, Chapter 14 of the Servlet Technology Java to read and write XML technology 】
Date : 2025-12-18 Size : 5.33mb User : jane

Introduction 2 Super classes and Subclasses 3 protected Members 4 Relationship between Super class Objects and Subclass Objects 5 Implicit Subclass-Object-to-Super class-Object Conversion 6 Software Engineering with Inheritance 7 Composition vs. Inheritance 8 Introduction to Polymorphism 9 Type Fields and switch Statements 10 Dynamic Method Binding 11 final Methods and Classes 12 Abstract Super classes and Concrete Classes 13 Polymorphism Example 14 New Classes and Dynamic Binding 15 Case Study: Inheriting Interface and Implementation 16 Case Study: Creating and Using Interfaces 17 Inner Class Definitions 18 Notes on Inner Class Definitions
Date : 2025-12-18 Size : 72kb User : raju ganguly

DL : 0
Java实用教程。目录第1章Java环境及配置第2章Java基本语法第3章类和接口第4章JavaApplet第5章Java图形处理第6章Java用户界面技术第7章异常、事件和多线程机制第8章输入输出技术第9章Java数据库技术第10章Java安全技术第11章Java网络技术(一)第12章Java网络技术(二)第13章Servlet技术第14章Java读写XML技术Java实用教程第1章Java环境及配置1.1Java概述1.2Java语言的特点1.3Java应用分类1.4JDK包的下载与安装1.5Java环境配置1.6例子程序习题-Java practical tutorial. The first chapter Java environment configuration directory and the second chapter basic syntax Java the third chapter and fourth chapter JavaApplet interface Java fifth chapter sixth chapter seventh Java graphics user interface technology chapter, eighth abnormal event and multi thread mechanism of input and output of the ninth chapter chapter chapter tenth Java Java database security technology of Java network technology (the eleventh chapter) the twelfth chapter Java network technology (two) the thirteenth chapter Servlet chapter fourteenth Java read and write XML Java practical tutorial Java chapter first environment and configure the 1.1Java overview of the features of the 1.2Java language 1.3Java application classification of 1.4JDK package to download and install the 1.5Java environment configuration 1.6 examples of procedures.
Date : 2025-12-18 Size : 946kb User : lz
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.