
pushlet
文章平均质量分 88
eddle
这个作者很懒,什么都没留下…
展开
-
EventPullSource源码分享
package org.eredlab.g4.rif.pushlet.core; import org.eredlab.g4.rif.pushlet.util.Log; /** * Abstract Event source from which Events are pulled. * * @author * @since 2011-05-12 */ abstrac原创 2011-11-14 22:44:24 · 2263 阅读 · 0 评论 -
Pushlet二次开发
Pushlet二次开发1 Pushlet自带事件源分析 Pushlet源代码中自带了一些事例,对这些例子的分析有助于编写自己的代码。Pushlet源代码提供了一种事件源机制,即将一些服务作为事件源,通过这些源产生各种各样的事件,然后加入到相应的Session中。 1)Servlet初始化EventSourceManager。在Pushlet这原创 2011-11-14 22:40:23 · 3003 阅读 · 2 评论 -
pushlet原理及例子
Pushlet是一种comet实现:在Servlet机制下,数据从server端的Java对象直接推送(push)到(动态)HTML页面,而无需任何Java applet或者插件的帮助。它使server端可以周期性地更新client的web页面,这与传统的request/response方式相悖。浏览器client为兼容JavaScript1.4版本以上的浏览器(如Internet Explo原创 2011-10-22 08:13:24 · 14564 阅读 · 3 评论 -
pushlet server
1// Copyright (c) 2000 Just Objects B.V. 2// Distributable under LGPL license. See terms of license at gnu.org.3 4package nl.justobjects.pushlet.test;5 6imp原创 2011-11-14 22:55:49 · 2016 阅读 · 0 评论