Location:
Search - j2ee 1.4 api
Search list
Description: j2ee的API 1.4版本,j2ee的帮助文档,这是最新的版本!
Platform: |
Size: 3548550 |
Author: 花生 |
Hits:
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:
Description: j2ee书籍,对j2ee进行了全面的介绍,使读者能够很好的掌握j2ee,相信读过本书的人能学习到自己需要的知识-Providing books, right creates a comprehensive introduction, so that the reader can grasp creates good, I believe reading the book can learn the knowledge they need
Platform: |
Size: 435200 |
Author: 肖靓 |
Hits:
Description: j2ee api,很好的api。我这现在有,就上传一个,希望与大家共享。谢谢的大家的支持!谢谢谢谢!这个市我的邮箱:zt_jb220@nou.com.cn-creates a good api. Now that I have, upload a hope to share with you. Thank you, in your support! Thank you, thank you! The city of my mail : zt_jb220@nou.com.cn
Platform: |
Size: 3548160 |
Author: 特 |
Hits:
Description: 1、 基于J2EE的多层结构
以J2EE中间件为核心,综合关系数据库技术、面向对象技术、Web应用技术等方面。
2、 基本语言
Java作为主要编程语言;
HTML作为Web页面描述的标准语言;
XML作为配置;
JSP2.0作为Web构件的主要编程语言;难点所在:
3、 多服务器平台建设与工具使用
MySQL5.0作为关系数据库,附带管理工具;
Apache Tomcat5.5作为Web服务器,附带管理工具和JDBC驱动器;
Apache Ant1.6.5作为项目管理工具
Hibernate3.1.2作为对象到数据库的映射API
-one, based on J2EE to the multi-storey structure at the core J2EE middleware, integrated relational database technology, object-oriented technology, Web application technology. 2, the basic Java language as the main programming language; HTML Web pages as the standard description language; XML configuration; JSP2.0 as the main component of Web programming languages; Difficulties lie : 3, Multiple server platform construction and the use of tools of MySQL 5.0 as a relational database, incidental management tool; Tomcat5.5 as Apache Web server, management tools and fringe JDBC driver; Apache Ant1.6.5 as project management tools targeted Hibernate3.1.2 the mapping of database API
Platform: |
Size: 3799040 |
Author: |
Hits:
Description: JAVA API 中文版,全面,权威的资料,JAVA编程必备。1.5版本-JAVA API Chinese version of a comprehensive, authoritative information, JAVA programming required. Version 1.5
Platform: |
Size: 27455488 |
Author: whowho03 |
Hits:
Description: j2ee api 中文版的
非常实用
Platform: |
Size: 3771392 |
Author: phoebuszhang |
Hits:
Description: 本文阐述了J2EE 平台的所有主要技术,围绕J2EE 规范所定义的四个层次:
客户端层(Client Tier)、Web 层(Web Tier)、业务层(Business Tier)及企
业信息系统层(Enterprise Information System Tier),介绍J2EE 所定义的丰
富的技术标准及符合这些标准的开发工具和API,这些技术涵盖了组件技术、
Servlets 和JSP、EJB 技术、数据库访问、分布式通信技术(Java RMI、Java IDL、
JNDI、JMS)、安全等;本文试图给出J2EE 平台技术概念理解上的一个较为清晰
的完整的思路,帮助大家掌握各技术间的相互关系和重要的思想。-In this paper, all the major J2EE platform technologies, focusing on J2EE specification as defined in four levels: the client layer (Client Tier), Web tier (Web Tier), Service Layer (Business Tier) and enterprise information system tier (Enterprise Information System Tier), as defined in J2EE Introduction rich technical standards and comply with these standards development tools and API, these technologies cover the component technology, Servlets and JSP, EJB technology, database access, distributed communication technology (Java RMI, Java IDL , JNDI, JMS), security, etc. this article attempts to give the concept of understanding of J2EE platform technology on a more distinct idea of integrity to help everyone grasp the relationship between technology and important ideas.
Platform: |
Size: 445440 |
Author: zcq |
Hits:
Description: j2ee的API 1.4版本,j2ee的帮助文档,这是最新的版本!-j2ee the API 1.4 version, j2ee help document, which is the latest version!
Platform: |
Size: 3548160 |
Author: 花生 |
Hits:
Description: j2ee开发脚手架源码
包含ajax数据校验和基于js的本地化实现,用户体验非常好,很值得参考
-j2ee development scaffolding ajax data source contains checksum js localization based on the realization of a very good user experience, it is worth considering
Platform: |
Size: 21954560 |
Author: 陈锦 |
Hits:
Description: j2ee API,chm版本,方便查询,人手一册-j2ee API, chm version, easy access, staffing a
Platform: |
Size: 1836032 |
Author: marz |
Hits:
Description: J2EE_api_中文,是学习J2EE不可或缺的API-J2EE_api_ Chinese, is to learn J2EE indispensable API
Platform: |
Size: 1788928 |
Author: 白雪 |
Hits:
Description: j2ee帮助文档软件设计/软件工程
文件格式
-j2ee help files software design/software engineering file formats
Platform: |
Size: 4398080 |
Author: 大远 |
Hits:
Description: JMS Programming,JMS API,Simple J2EE Application that Uses the JMS API
Platform: |
Size: 1819648 |
Author: blacknife |
Hits:
Description: 本书介绍如何正确使用j2ee API、技术和服务-The book describes how the proper use of j2ee API, technology and services
Platform: |
Size: 11334656 |
Author: ocean |
Hits:
Description: J2EE1.4版的API说明,CHM已编译版-J2EE1.4 version of the API description, CHM compiled version of
Platform: |
Size: 3771392 |
Author: 许梦雅 |
Hits:
Description: J2EE 1.3.1 API,包含所有的javaAPI便于我们查找和学习,希望对大家有所帮助-J2EE 1.3.1 API, contains all the javaAPI for us to find and learn, we want to help
Platform: |
Size: 1836032 |
Author: CHENPENG |
Hits:
Description: J2EE 1.3.1 API,It s so good for java s coder-J2EE 1.3.1 API,It s so good for java s coder!!
Platform: |
Size: 32955392 |
Author: skg |
Hits:
Description: j2ee 所有的api的编程资料和开发例子。一共大家参考。谢谢关注啊。-j2ee api programming all the information and examples of the development. A total of reference. Thank you concerned about the ah.
Platform: |
Size: 24339456 |
Author: 幽默 |
Hits:
Description: 本资源包含ActiveMQ的chm和pdf文件
ActiveMQ 是Apache出品,最流行的,能力强劲的开源消息总线。ActiveMQ 是一个完全支持JMS1.1和J2EE 1.4规范的 JMS Provider实现,尽管JMS规范出台已经是很久的事情了,但是JMS在当今的J2EE应用中间仍然扮演着特殊的地位。-ActiveMQ Apache is produced, the most popular, strong ability of open source message bus. ActiveMQ is a fully support JMS1.1 and J2EE 1.4 standard JMS Provider implementation, although JMS standard issued was a long time of things, but in today s J2EE application JMS middle still plays a special position.
Platform: |
Size: 7803904 |
Author: baigan |
Hits: