AW: [opencms-dev] Information Push in OpenCMS ?
Riad Shalaby
riad.shalaby at hannecke-its.de
Tue Oct 28 08:32:02 CET 2003
Hi
As far as i know a push over HTTP is not possible. Think about the usual
Firewall/Proxy Configurations there is no way to initiat a TCP
connection from the side of the webserver.
A common way to overcome these limitation is to use a meta tag.
e.g.:
<meta http-equiv=Refresh content="10;URL=<%= recallHref %>">
this will let the browser refresh the page every 10 seconds. You can use
it even in a hidden frame.
hope that helps
Riad Shalaby
> Betreff: [opencms-dev] Information Push in OpenCMS ?
>
>
> Hi,
>
> OpenCMS / Tomcat works over HTTP and therefore implement the
> HTTP request / response pattern which is like an information
> pull over the internet. For this I would for example have a
> JSP in OpenCMS which is requested by a browser, these JSP is
> calling some java beans and the information output is put as
> a HTML and sent back to the browser. Fine! But...
>
> ...how can I implement information push? What do I have to do
> (methodological,
> technical) to let my Java software push a website to a
> browser? I know this is a very general description but I hope
> you understand what I mean.
>
> To be more precise, but I do not want to restrict your
> answer, I could also think of these variant. A JSP site is
> requested by a browser. Every few seconds, the Java bean is
> producing a new updated version of this output website. How
> would I do this? I am interesting in that way, that the
> business logic is initiating the informaton push to the client.
>
> If somebody know a more generic appraoch, please let me know?
> Is there a kind of architecture which supports this kind of
> programming? I think the main problem is HTTP, since HTTP was
> not designed for this way of information provision.
>
> Any help, examples, links etc. would be highly appreciated, Ralf
>
> --
> NEU FÜR ALLE - GMX MediaCenter - für Fotos, Musik, Dateien...
> Fotoalbum, File Sharing, MMS, Multimedia-Gruß, GMX FotoService
>
> Jetzt kostenlos anmelden unter http://www.gmx.net
>
> +++ GMX - die erste Adresse für Mail, Message, More! +++
>
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list,
> please visit http://mail.opencms.org/mailman/listinfo/opencms-dev
>
More information about the opencms-dev
mailing list