Welcome![Sign In][Sign Up]
Location:
Search - mysql proxy

Search list

[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:

[ADO-ODBCmysql-proxy-0.6.1.tar

Description: MYSQL数据库代理,数据库操作统一处理,提高数据库访问性能。-This is a release of MySQL-proxy.
Platform: | Size: 509952 | Author: asksim | Hits:

[MySQLnetwork_src

Description: Mysql Proxy本身是个很好的mysql负载均衡工具,但是其本身有bug:当多个mysql 做slave的时候,如果一个slave死掉,会影响别的slave也死掉!这个文件修复了这个bug!-Mysql Proxy is a good tool for mysql load balancing, but it has a bug: when a number of mysql do slave, if a slave died, it will affect the other slave die! The document fixes this bug!
Platform: | Size: 50176 | Author: YifanZhang | Hits:

[Proxy Servermysql-proxy-0.7.1.tar

Description: a very good mysql proxy server
Platform: | Size: 689152 | Author: Nav | Hits:

[Other systemsMMSAPI

Description: Java移动代理服务器MMS彩信API,数据库为mysql-Java Mobile MMS MMS proxy server API, database mysql
Platform: | Size: 1102848 | Author: 蔡鹏飞 | Hits:

[VOIP programopensips-1.5.2-tls_src.tar

Description: sip服务器原代码,要求在linux或者unix下安装,可以用于建立自己的voip系统,基于sip协议-OpenSIPS brings: robust and performant SIP (RFC3261) Registrar server, Location server, Proxy server and Redirect server small footprint- the binary file is small size, functionality can be stripped/added via modules plug&play module interface- ability to add new extensions, without touching the core, therefore assuring a great stability of core components stateless and transactional statefull SIP Proxy processing support for UDP/TCP/TLS/SCTP transport layers IPv4 and IPv6 support for SRV and NAPTR DNS SRV DNS failover IP Blacklists multi-homed (mhomed) and multi-domain support flexible and powerful scripting language for routing logic variables support in script- script variables, pseudo-variables (access to the SIP messages), AVPs (values persistent per SIP transactions) management interface via FIFO file and unix sockets authentication, authorization and accounting (AAA) via database (MySQL, Postgress, text files), RADIUS and DIAMETER digest and IP authentication
Platform: | Size: 3659776 | Author: Banlyst Yeh | Hits:

[MySQLamoeba-mysql-1.0.2-BETA

Description: Amoeba属于分布式数据库代理开发框架,专注于分布式数据库 proxy 开发。座落与Client、DB Server(s)之间。对客户 端透明。具有负载均衡、高可用性、sql过滤、读写分离、可路由相关的query到目标数据库、可并发请 求多台数据库合并结果。-Amoeba is a kind of framework about distribute database proxy development that between client and DB server(s).Featurs:client transparency,load balance,high usability,sql filter,R/W splitting,sql routing,concurrent query and results merging.
Platform: | Size: 3260416 | Author: 张强 | Hits:

[ISAPI-IEPHPnow-1.5.5

Description: Win32 下绿色免费的 Apache + PHP + MySQL 环境套件包。 简易安装、快速搭建支持虚拟主机的 PHP 环境。附带 PnCp.cmd 控制面板,帮助你快速配置你的套件,使用非常方便。 PHPnow 是绿色的,解压后执行 Setup.cmd 初始化,即可得到一个 PHP + MySQL 环境。 然后就可以直接安装 Discuz!, PHPWind, DeDe, WordPress 等程序。 • 支持虚拟主机:便捷的虚拟主机管理 • 配置文件备份:放心地去尝试修改配置文件,乱了就还原配置 • 虚拟主机代理:可与 IIS 共存 (不同端口,泛解析代理) • 插件支持:ASP.NET | JSP(寻找最佳解决) -Win32 under the green Free Apache+ PHP+ MySQL environment, Suite packages. Easy to install, fast to build support for a virtual host environment for PHP. With PnCp.cmd control panel to help you quickly configure your packages, use very convenient. PHPnow is green, the decompression after the implementation of the Setup.cmd initialization, you can get a PHP+ MySQL environment. Can then be installed directly Discuz!, PHPWind, DeDe, WordPress and other procedures. • Support for virtual hosts: easy virtual hosting management • Configuration file backup: confidence to try to modify the configuration file to restore the chaotic configuration • Virtual Host Agent: You can co-exist with the IIS (different ports, the Pan-resolution proxy) • plug-in support for: ASP . NET | JSP (to find the best solution)
Platform: | Size: 15784960 | Author: 范怀念 | Hits:

[Firewall-Securitygreensql-fw-1.3.0.tar

Description: GreenSQL是一个开源的数据库防火墙(Database firewall),用来保护数据库免受SQL注入攻击。GreenSQL作为一个SQL命令代理来工作,并且内置对于MySQL的支持。其工作原理是基于SQL命令的评估,采用风险评分矩阵的模式进行工作,阻止已知的DBA命令(DROP、CREATE等等)。GreenSQL基于GPL协议进行分发。-GreenSQL is an open source database firewall (Database firewall), used to protect databases from SQL injection attacks. GreenSQL SQL command as a proxy to work, and built-in support for MySQL. Its working principle is based on the assessment of SQL commands using risk score matrix model to work, to prevent known DBA commands (DROP, CREATE, etc.). GreenSQL distribution agreement based on GPL.
Platform: | Size: 215040 | Author: 黄亮 | Hits:

[DocumentsMysql

Description: 利用mysql-proxy实现mysql主从复制和读写分离-Using mysql-proxy to realize MySQL master-slave replication and separation of read and write
Platform: | Size: 6144 | Author: 刘月月 | Hits:

[WEB Codechuangxin

Description: /admin (管理员总后台目录) /ag (代理股东登陆后台) /SQL (数据库) /Conjunction.php(数据库连接文件) 前台登陆用户:11 11 后台登陆管理员:admin admin 安装环境:php+mysql 推荐傻瓜式一键环境自动配置软件: APMServ5.2.6 和 phpnow 也可手动配置IIS+PHP+MYSQL+ZEND 技术支持QQ:1627754380 版权所有:http://www.8888883.com (本程序绝对可用)开源代码,可供再开发,如需更好要求,请到8888883.com本站下载更专业代码。 申明:本代码只供合法研究和学习,请勿用于违法犯罪活动,如有相关活动所带来的责任,与本站无关。-/ Admin (administrator total backstage directory)/ag (proxy shareholders landing back)/SQL (database)/Conjunction.php (database connection file) Front LOGIN: 1111 Admin Login Administrator: admin admin installation environment: php+mysql recommended Fool Type a key environmental automatically configure software: APMServ5.2.6 and phpnow also be manually configured IIS+PHP+MYSQL+ZEND technical support QQ: 1627754380 Copyright: http://www.8888883.com (This program is absolutely available) source code available redevelopment, such as need better requirements, please 8888883.com site to download more professional code. Disclaimer: This code is for legitimate research and learning, not for criminal activities, responsibilities, if any, arising from related activities, nothing to do with the site.
Platform: | Size: 5048320 | Author: pys | Hits:

[JSP/JavabookStore

Description: 网上书店,JSP+Servlet,MVC模式,后台用工厂模式和代理模式,Mysql数据库,C3p0数据源,管理员,用户,游客三种权限支持图书的管理用户的管理,图书购买及订单管理-Online bookstore, JSP+ Servlet, MVC pattern, the background mode and proxy mode using the factory, Mysql database, C3p0 data sources, administrators, users, visitors three permissions management supports user management books, books to buy and order management
Platform: | Size: 5040128 | Author: caonima | Hits:

[Database systemmysql-proxy-0.8.5.tar

Description: 一个MYSQL 的数据库代理 防火墙,能够实现读写分离和权限控制-this is a Database Firewall
Platform: | Size: 957440 | Author: qiangjun | Hits:

[Otherwfwfch

Description: 易网防伪防串货和代理授权查询系统是以php+MySQL进行开发的防伪码查询系统。采用UTF-8编码 (1)、防伪码自动生成,单条添加。自动生成可指定防伪码长度,前缀,码组合形式,生成数量等,代理商可单条添加。 (2)、防伪码、代理商可批量导入xls,txt,csv三种格式文件,有固定格式文件供参考。 (3)、防伪码、代理商导出txt格式文档。 (4)、防伪码可以通过电脑,手机,和微信二维码扫码查询。 (5)、查看某个防伪码、代理商的被查询次数。 (6)、网页提示文字信息修改,自由定义搜索结果内容,如字体变色,加大,文字编辑等,使用“系统类字符串”灵活组合反馈实际信息。(Net security Chuanhuo and proxy authorization query system is the security code query system developed by php+MySQL. Using UTF-8 encoding (1) the security code is automatically generated and added individually. Automatically generated, you can specify the length of security code, prefix, code combination form, the number of generated, agents can add a single. (2) security code, agents can import XLS, TXT, CSV three format files, there are fixed format files for reference. (3) anti fake code, agent export TXT format document. (4) security code can be searched by computer, mobile phone and WeChat two-dimensional code scanning code. (5) check a security code, the number of agents to be queried. (6) web pages prompt text information modification, free definition of search results content, such as font color, increase, text editing, etc., use system class string flexible combination feedback actual information.)
Platform: | Size: 7488512 | Author: 东鸟 | Hits:

[OtherChek_conection_lan_modem_proxy

Description: This application for Chk if pc connect to lan or Modem or proxy
Platform: | Size: 2402304 | Author: merzoug2020 | Hits:

[WEB Code24

Description: IDC代理中心是一个以php+mysql进行开发的IDC代理平台源码。 代理平台基于PHP和MySQL开发,可同时使用于Windows、Linux、Unix平台(IDC agent center is a source of IDC proxy platform developed by php+mysql. The proxy platform is developed on the basis of PHP and MySQL, and it can be applied to Windows, Linux and Unix platform at the same time.)
Platform: | Size: 8079360 | Author: 3ty4rg | Hits:

CodeBus www.codebus.net