Real time callback with persistent HTTP
The following demos show how a browser or an applet establishes a persistent http connection
to the web server on xmlBlaster.org.
Messages are sent from the server to our browser (or applet) in real
time without polling. All examples tunnel internet proxies (like squid) and firewalls.
- Applet (Java) callback demo
- Browser (Javascript) callback demo with DHTML
- Browser (Javascript) callback demo with SVG
More details you find in our requirements
client.java.applet
and
client.browser.
Receiving messages with a tiny applet
Click here to run the HelloWorld3 demo or have a look at the
applet source.
Click here to run the SystemInfoApplet demo or have a look at the
applet source.
The xmlBlaster applet client library xmlBlasterAppletLib.jar has a size of appr. 25 kBytes,
and the applet itself 2,5 kBytes - thats' it.
Displaying messages with dynamic HTML (DHTML)
Try the
DHTML demo first, as this runs on most browsers and does not need a plugin:
Try first if your browser supports SVG with these tests.
Try the
SVG demo:
Note:
-
You need to have SVG support or an SVG plugin in your browser.
Adobe provides such a plugin.
-
For Linux/mozilla, the Adobe plugin
only runs with mozilla 0.91, all other versions are buggy.
This combination (mozilla 0.91/Adobe plugin) is currently the only tested for our demo!
-
Please mail bugs, bugfixes or positive reports with other browsers
to our mailing list.
-
Native SVG support in mozilla is since December, 12th 2001 in the
mozilla main cvs branch, but must be compiled yourself.
-
Please read the xmlBlaster/demo/http/README
how to setup the persistent http connection yourself.