Re: [Wicket-user] Serveur pushing implementation

2007-03-21 Thread Vincent Demay
Johan Compagner a écrit : > first what is so special about that code? The second implementation uses cometd which is a dojo fundation project fully integrated in jetty 6 and using Bayeux protocol (based on json to make server/clients communications). > What is the protocol you are talking about >

Re: [Wicket-user] Serveur pushing implementation

2007-03-20 Thread Johan Compagner
first what is so special about that code? What is the protocol you are talking about I haven't really looked at it yet at this time but i will. How i see it if possible is just an open channel and over it flows the wicket ajax stuff (so the xml that wicket ajax can parse) this way if something i

Re: [Wicket-user] Serveur pushing implementation

2007-03-20 Thread Vincent Demay
Johan Compagner a écrit : > yes i want to have it simple and build in in wicket-ajax.js if possible > (at least support for it it could be and extra small js: wicket-cometd.js) well, I understand what you mean, but comted (www.cometd.com) is a dojo fundation subproject. So if we want to write our

Re: [Wicket-user] Serveur pushing implementation

2007-03-20 Thread Johan Compagner
yes i want to have it simple and build in in wicket-ajax.js if possible (at least support for it it could be and extra small js: wicket-cometd.js) johan On 3/20/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: this is a great start. my idea vision of this implementation is something that doesnt d

Re: [Wicket-user] Serveur pushing implementation

2007-03-20 Thread James McLaughlin
> The problem comes from cometd bus which is design to transport json and > not xml. I was thinking of something which is able to serialize a > component rendered as String and put all in a json object in order to > avoid this second useless callback. but it need some additionnal work ;) > > -- > V

Re: [Wicket-user] Serveur pushing implementation

2007-03-20 Thread Igor Vaynberg
this is a great start. my idea vision of this implementation is something that doesnt depend on dojo and something that has a very similar requesttarget to ajaxrequesttarget that can transfer value pairs _or_ markup. but this is definetely a great start. -igor On 3/20/07, Vincent Demay <[EMAIL

Re: [Wicket-user] Serveur pushing implementation

2007-03-20 Thread Weaver, Scott
TECTED] [mailto:wicket-user- > [EMAIL PROTECTED] On Behalf Of Vincent Demay > Sent: Tuesday, March 20, 2007 11:54 AM > To: wicket-user@lists.sourceforge.net > Subject: Re: [Wicket-user] Serveur pushing implementation > > James McLaughlin a écrit : > >> WDYT?, Any comments, feeli

Re: [Wicket-user] Serveur pushing implementation

2007-03-20 Thread Eelco Hillenius
On 3/20/07, Vincent Demay <[EMAIL PROTECTED]> wrote: > Eelco Hillenius a écrit : > > Can't the Tomcat support be merged into the same project? > > > I need to check for that and check tomcat behavior is the same as jetty > but I think it should Cool. My note was more directed to Johan actually :)

Re: [Wicket-user] Serveur pushing implementation

2007-03-20 Thread Vincent Demay
James McLaughlin a écrit : >> WDYT?, Any comments, feelings? >> > > This looks like really exciting work. I can't wait to try it out. I > took a look at the code and you've done a really nice job. One > question, is it possible to push rendered components instead of > pinging those components

Re: [Wicket-user] Serveur pushing implementation

2007-03-20 Thread Vincent Demay
Eelco Hillenius a écrit : > Can't the Tomcat support be merged into the same project? > I need to check for that and check tomcat behavior is the same as jetty but I think it should -- Vincent > Eelco > > > On 3/20/07, Johan Compagner <[EMAIL PROTECTED]> wrote: > >> tomcat uses this: >> >>

Re: [Wicket-user] Serveur pushing implementation

2007-03-20 Thread Eelco Hillenius
Can't the Tomcat support be merged into the same project? Eelco On 3/20/07, Johan Compagner <[EMAIL PROTECTED]> wrote: > tomcat uses this: > > http://tomcat.apache.org/tomcat-6.0-doc/aio.html > > so for tomcat to work i need to create a special filter (or servlet) that > maps a push connection >

Re: [Wicket-user] Serveur pushing implementation

2007-03-20 Thread James McLaughlin
> > WDYT?, Any comments, feelings? This looks like really exciting work. I can't wait to try it out. I took a look at the code and you've done a really nice job. One question, is it possible to push rendered components instead of pinging those components on the client side to call back? -

Re: [Wicket-user] Serveur pushing implementation

2007-03-20 Thread Vincent Demay
Johan Compagner a écrit : > tomcat uses this: > > http://tomcat.apache.org/tomcat-6.0-doc/aio.html > > so for tomcat to work i need to create a special filter (or servlet) > that maps a push connection > > How does jetty work? When does jetty know that this is a nio/cometd > connection? It is exa

Re: [Wicket-user] Serveur pushing implementation

2007-03-20 Thread Johan Compagner
tomcat uses this: http://tomcat.apache.org/tomcat-6.0-doc/aio.html so for tomcat to work i need to create a special filter (or servlet) that maps a push connection How does jetty work? When does jetty know that this is a nio/cometd connection? johan On 3/20/07, Vincent Demay <[EMAIL PROTECTE

Re: [Wicket-user] Serveur pushing implementation

2007-03-20 Thread Vincent Demay
ncent Demay >> Gesendet: Dienstag, 20. März 2007 10:13 >> An: wicket-user@lists.sourceforge.net >> Betreff: [Wicket-user] Serveur pushing implementation >> >> Hi all, >> >> I made a new project in wicket-stuff(sourceforge) called >> wicket-contrib-push.

Re: [Wicket-user] Serveur pushing implementation

2007-03-20 Thread Vincent Demay
Johan Compagner a écrit : > is the second one really push? or push by polling? The first one is pushing simulated by polling ;) (and timer) The second one is real pushing with cometd (using jetty6 continuation : no locked thread on serveur side and keep open http connection). > > I am currently ch

Re: [Wicket-user] Serveur pushing implementation

2007-03-20 Thread Korbinian Bachl
TECTED] > [mailto:[EMAIL PROTECTED] Im Auftrag > von Vincent Demay > Gesendet: Dienstag, 20. März 2007 10:13 > An: wicket-user@lists.sourceforge.net > Betreff: [Wicket-user] Serveur pushing implementation > > Hi all, > > I made a new project in wicket-stuff(sourcefor

Re: [Wicket-user] Serveur pushing implementation

2007-03-20 Thread Johan Compagner
is the second one really push? or push by polling? I am currently checking out the NIO support of tomcat 6. I hope in the coming weeks to have an impl that is really push (so there is really a nio socket connection from server to client all the time) johan On 3/20/07, Vincent Demay <[EMAIL PRO

[Wicket-user] Serveur pushing implementation

2007-03-20 Thread Vincent Demay
Hi all, I made a new project in wicket-stuff(sourceforge) called wicket-contrib-push. This project allows pushing of events on server side in a simulated bus between server and all client. This pushing has 2 implementations : * The first based on Xavier Hanin work which is based on timerBehavi