Welcome![Sign In][Sign Up]
Location:
Search - jsp socket

Search list

[Other resourceJava技术大合集

Description: 《Java技术大合集》,电子书籍都是从网络上搜集整理成TXT文本文件。收集了:Java Socket编程、JSP语法、WebSphere快速入门等。-"Java technology, Collection," e-books are collected from the network up into TXT text files. Collected : Java Socket Programming, JSP syntax, such as WebSphere Quick Start.
Platform: | Size: 1304281 | Author: 邓志伟 | Hits:

[Web ServerRemote_Service

Description: 自己编的一个java分布式服务的实现。此模型使用Tomcat作为web服务器,使用JSP页面作为用户交互界面,Javabean作为服务页面逻辑实现,客户端和服务器端通信通过java socket实现,数据库使用access,客户端用java窗口程序实现。对于学习java JSP网络数据库开发及socket远程调用很有帮助,此程序为服务器端程序,客户端程序有意可发email和我联系 xiaoxpp@163.com
Platform: | Size: 402117 | Author: webber | Hits:

[JSPJava 实用系统开发指南JavaPractice

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

[JSPJava技术大合集

Description: 《Java技术大合集》,电子书籍都是从网络上搜集整理成TXT文本文件。收集了:Java Socket编程、JSP语法、WebSphere快速入门等。-"Java technology, Collection," e-books are collected from the network up into TXT text files. Collected : Java Socket Programming, JSP syntax, such as WebSphere Quick Start.
Platform: | Size: 1303552 | Author: 邓志伟 | Hits:

[Web ServerRemote_Service

Description: 自己编的一个java分布式服务的实现。此模型使用Tomcat作为web服务器,使用JSP页面作为用户交互界面,Javabean作为服务页面逻辑实现,客户端和服务器端通信通过java socket实现,数据库使用access,客户端用java窗口程序实现。对于学习java JSP网络数据库开发及socket远程调用很有帮助,此程序为服务器端程序,客户端程序有意可发email和我联系 xiaoxpp@163.com-Own a java realize distributed services. This model is the use of Tomcat as a web server, using the JSP page as the user interface, Javabean realize the logical page as a service, client and server-side java socket communication through the realization of the database using the access, the client program using java window. Learning java JSP web-based database development and long-distance calls socket helpful, this procedure for the server-side procedures, the client program can send an email and intend to contact me xiaoxpp@163.com
Platform: | Size: 401408 | Author: webber | Hits:

[JSP/Javasrc

Description: java,聊天,文件传送程序,有源码,socket,TCP/IP-java, chat, file transfer process, has source code, socket, TCP/IP
Platform: | Size: 18432 | Author: 张勤康 | Hits:

[JSP/JavaSocket

Description: 一个简单的java Socket通讯实例,实现简单通讯功能-A simple example of java Socket Communications, the realization of a simple communication
Platform: | Size: 2048 | Author: 王力 | Hits:

[JSP/JavaxmlSocket

Description: JAVA与FLASH实现的网络套接字传输的DEMO。
Platform: | Size: 343040 | Author: RobinWood | Hits:

[JSP/Javajava

Description: 适合配合学习使用的JAVA源代码 I/O,GUI,servlet,socket等-Suitable for use with the learning JAVA source code for I/O, GUI, servlet, socket, etc.
Platform: | Size: 78848 | Author: 萤火虫 | Hits:

[Internet-NetworkBBS

Description: 用JSP技术构建的Web系统-BBS,主要作用是交流意见,传递信息
Platform: | Size: 746496 | Author: chenqin | Hits:

[Windows DevelopJAVA2

Description: java qq 实现聊天局域网 http tcp/ip socket 套接字-a good jsp action
Platform: | Size: 10643456 | Author: sying | Hits:

[JSP/Javajspsocket

Description: 本程序为jsp程序 客户端和服务器端通信 通过java socket实现-This program is jsp program communication client and server-side implementation through java socket
Platform: | Size: 369664 | Author: know | Hits:

[JSP/JavaCSDN

Description: 带你步入J2EE殿堂:最易懂的J2EE实例 简析J2EE应用程序数据库类设计模式 编写高级应用程序3 关 于JAVA 的 可 移 植 性 Java 程序编码规范 利用Java实现zip压缩/解压缩 Java语言的Socket编程 利用Java实现串口全双工通讯 Java语言中字符的处理 区分引用类型和原始类型 Java中的两个特殊变量this和super Java中利用散列表实现股票行情的查询 Java中文问题详解 Vector在Java编程中的应用 编写高级应用程序1 编写高级应用程序2 实现 Swing 的 JTables 和 Excel 间的复制和粘贴功能 实 现JAVA 的 动 态 类 载 入 机 制 使用Java实现数据报通讯过程 使用Java制作多点发送程序 提高Java代码可重用性的三个措施 用 Java 保存位图文件 用JAVA转换简繁体的基础知识 邮件例程 - JavaMail - 发送HTML邮件 -Services EJB JSP J2SE JDBC J2EE Multimedia OO Security and Performance XML and CORBA
Platform: | Size: 581632 | Author: 张津楠 | Hits:

[Speech/Voice recognition/combine1

Description: - 我用Java写的qq程序,基于Socket通信,C/S模式 [sphinx2-0.6.tar.gz] - 语音识别系统,美国cmu大学开发的基于hmm模型的语音识别系统 [JSP.rar] - 讲解jsp的开发中的常用技巧 非常使用,其中很多经常遇到 -- I qq program written in Java, based on Socket Communications, C/S mode [sphinx2-0.6.tar.gz]- voice recognition system, developed at the University of the United States cmu hmm-based speech recognition systems model [JSP.rar]- jsp to explain the development of the common techniques are used, many of which are often encountered
Platform: | Size: 67584 | Author: 杀破狼 | Hits:

[androidandroid_pc_socket

Description: Android as client socket, pc use jsp as server
Platform: | Size: 92160 | Author: cnc | Hits:

[WEB CodeChatRoomJc

Description: 聊天室源码。监听在线人数,通过数据库得到聊天信息,不是通过socket来通信,对于初学servlet和jsp的人很有帮助-The chat room source. Listener Online chat information through a database, and not through the socket to communicate for the beginner who servlet and jsp helpful
Platform: | Size: 733184 | Author: 罗杰 | Hits:

[JSP/Javachat_app)

Description: 多用户间网络聊天程序设计,实现类似于QQ聊天系统,多个用户同时在线,选择用户相互聊天,同时保存聊天记录,1. 不同用户主机之间网络通信(基于流套接字)。 2. 多用户之间相互发送消息(服务器端多线程)。 3. 消息保存在位于服务器的MySQL数据库上,并能查询聊天记录(JDBC技术)。 4. 消息同时保存在本地文件中,并能从本地文件中查询聊天记录(输入输出流)。 5. 无大Bug,细节考虑全面,代码规范易读等。 6. 纸质开发文档一份。 7. 图形界面(GUI编程)(可选)。 8. Web端聊天及查询聊天记录(JSP技术)(可选)。 -Between multi-user network chat program design, implementation is similar to QQ chat system, multiple users online at the same time, the user to chat each other, at the same time save chat logs, 1. The different user network communication between the host (based on flow socket). 2. Send messages between multiple users (multithreaded) server. 3. Messages stored in the MySQL server, and can query chat logs (JDBC technology). 4. The message is stored in the local file at the same time, and can query chat logs the local file (input/output flow). 5. No big Bug, details to consider comprehensive, easy to read the code rules, etc. 6. A paper development document. 7. The graphical interface (GUI) programming (optional). 8. Web side chat and query chat record (JSP) (optional).
Platform: | Size: 149504 | Author: 孙叶 | Hits:

[JSP/Javachat_app

Description: 多用户间网络聊天程序设计,实现类似于QQ聊天系统,多个用户同时在线,选择用户相互聊天,同时保存聊天记录,1. 不同用户主机之间网络通信(基于流套接字)。 2. 多用户之间相互发送消息(服务器端多线程)。 3. 消息保存在位于服务器的MySQL数据库上,并能查询聊天记录(JDBC技术)。 4. 消息同时保存在本地文件中,并能从本地文件中查询聊天记录(输入输出流)。 5. 无大Bug,细节考虑全面,代码规范易读等。 6. 纸质开发文档一份。 7. 图形界面(GUI编程)(可选)。 8. Web端聊天及查询聊天记录(JSP技术)(可选)。-Between multi-user network chat program design, implementation is similar to QQ chat system, multiple users online at the same time, the user to chat each other, at the same time save chat logs, 1. The different user network communication between the host (based on flow socket). 2. Send messages between multiple users (multithreaded) server. 3. Messages stored in the MySQL server, and can query chat logs (JDBC technology). 4. The message is stored in the local file at the same time, and can query chat logs the local file (input/output flow). 5. No big Bug, details to consider comprehensive, easy to read the code rules, etc. 6. A paper development document. 7. The graphical interface (GUI) programming (optional). 8. Web side chat and query chat record (JSP) (optional).
Platform: | Size: 221184 | Author: 孙叶 | Hits:

[JSP/Java607471

Description: 将socket封装,模拟简易web服务器,(Will be simulated socket encapsulation, simple web server,)
Platform: | Size: 3072 | Author: Prqmdr | Hits:

[JSP/JavaATMS (2)

Description: 1.进行ini、properties、xml文件的读写操作 2.模拟ATM进行账号的登录校验、余额查询、详细账单 3.数据库采用mysql (三张数据表 customer account detail) 4.将系统分割为C/S系统,利用socket编程(1. Ini, properties, xml file read and write operations 2. Simulate ATM for account login verification, balance query, detailed billing 3. database using mysql (three data table customer account detail) 4. The system is divided into C / S system, the use of socket programming)
Platform: | Size: 1220608 | Author: Notun | Hits:
« 12 »

CodeBus www.codebus.net