- 博客(10)
- 资源 (2)
- 收藏
- 关注
转载 Web 通信 之 长连接、长轮询(long polling)
基于HTTP的长连接,是一种通过长轮询方式实现"服务器推"的技术,它弥补了HTTP简单的请求应答模式的不足,极大地增强了程序的实时性和交互性。一、什么是长连接、长轮询?用通俗易懂的话来说,就是客户端不停的向服务器发送请求以获取最新的数据信息。这里的“不停”其实是有停止的,只是我们人眼无法分辨是否停止,它只是一种快速的停下然后又立即开始连接而已。二、长连接
2015-04-21 16:16:01 359
转载 WEBSOCKET VERSUS COMET – REAL-TIME WEB APPLICATIONS
IntroductionMany web application developershave tried to develop a high performance web application with real-timebehaviors. A common example of such an application could be a communication webplatf
2015-04-21 13:28:40 582
转载 EJB3.x JPA: When to use rollback() and setRollbackOnly()
After JTA was introduced for more than a decade ago, then later with the introduction of Bean-Managed Transaction and Container-Managed Transaction in the J2EE 1.2 specs; still, there are many devel
2015-04-15 15:34:32 1414
转载 Java 8新特性探究(一)通往lambda之路_语法篇
摘要 说到java 8,首先会想到lambda(闭包)以及虚拟扩展方法(default method),这个特性早已经被各大技术网站炒得沸沸扬扬了,也是我们java 8系列开篇要讲的第一特性(JEP126 http://openjdk.java.net/jeps/126),jdk8的一些库已经应用了lambda表达式重新设计了,理解他对学习java 8新特性有着重要的意义。lambda j
2015-04-15 11:05:53 389
转载 用MySQL-Proxy实现读写分离
MySQL-Proxy, 6月份发布的MySQL-Proxy是处在你的MySQL数据库客户和服务端之间的程序,它还支持嵌入性脚本语言Lua。这个代理可以用来分析、监控和变换(transform)通信数据,它支持非常广泛的使用场景:负载平衡和故障转移处理查询分析和日志SQL宏(SQL macros)查询重写(query rewriting)执行shell命令MyS
2015-04-13 16:22:31 366
转载 Conversion of Oracle Columns into Rows
You AskedHi Tom, I have t1 table as follows create table t1 (mnth varchar2(10), col_1 number, col_2 number, col_3 number, col_4 number, col_5 number ); insert into t1 values ('
2015-04-10 18:56:47 369
转载 Converting Oracle rows to columns
Sometimes we need to write SQL that takes separate row results (on separate lines) and roll them together into a single column. Also see my notes on non-SQL techniques for displaying multiple colu
2015-04-10 18:52:27 607
转载 Oracle 行转列和列转行
一、行转列1.1、初始测试数据表结构:TEST_TB_GRADESql代码:?1234567createtable TEST_TB_GRADE ( ID NUMBER(10) notnull,
2015-04-10 18:51:38 654
转载 How to break out of the forEach
Array.prototype.forEachforEach is such an useful method.But…how can I break the forEach loop?Well… you can't break forEach.Example:123456var ary = ["JavaScript", "J
2015-04-08 14:06:42 546
转载 Cross Domain JSONP ( Json with padding ) with Jquery and Servlet or JAX-WS
Wednesday, May 30, 2012Cross Domain JSONP ( Json with padding ) with Jquery and Servlet or JAX-WSSolving Cross Domain problem using JSONP ( Json with padding ) with Jquery and
2015-04-08 11:42:31 699
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人