You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by freak182 <em...@gmail.com> on 2008/05/05 09:56:41 UTC

Comet and Wicket

Hello,
Is there anyone here try or trying to implement comet(server push concept)
on wicket?

Thanks a lot...Cheers
-- 
View this message in context: http://www.nabble.com/Comet-and-Wicket-tp17053968p17053968.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Comet and Wicket

Posted by Michael Sparer <mi...@gmx.at>.
AFAIK i know it'll only work on jetty, as jetty is the only servlet container
that uses continuations ... but i might be wrong and the newer versions of
tomcat may support that as well... but i don't think that you can use then
the wicketstuff-push project



freak182 wrote:
> 
> Hello,
> My testing so far is good, i just implement seriazable to the
> PushTimerService so that it will not yell for ObjectSerialization...does
> this work in Tomcat server,JBoss or other application server? or jetty
> only?
> 
> 
> Michael Sparer wrote:
>> 
>> take a look at the wicketstuff-push project
>> 
>> 
>> freak182 wrote:
>>> 
>>> Hello,
>>> Is there anyone here try or trying to implement comet(server push
>>> concept) on wicket?
>>> 
>>> Thanks a lot...Cheers
>>> 
>> 
>> 
> 
> 


-----
Michael Sparer
http://talk-on-tech.blogspot.com
-- 
View this message in context: http://www.nabble.com/Comet-and-Wicket-tp17053968p17059530.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Comet and Wicket

Posted by freak182 <em...@gmail.com>.

>  Hello eelco,
>  Anyway JBoss default servlet container is tomcat, but they are replacing
> it
>  with their own container which is jboss-web i dont know if they already
>  did...

>Ah, I didn't know that.

> anyway, im experementing on wicket-push bcoz the cleint wants some
>  sort of messaging on their app..(actually our web-app is entirely made on
>  wicket :)  so im here )...but my problem is how to send specific message
>  notification to a person logged in...any idea how to accomplish this
> would
>  be great...

>Note that you can still implement messaging the 'old fashioned' way by
>using Ajax polling (basically a thread in your browser that polls for
>new events every n seconds).

>But ideally, we have implementations of wicket-push for every project.
>I don't know enough about that project to see anything beyond that
>though...

Thanks for the reply...i might implement the 'old fashioned' way but i will
exhaust first the wicket-push if can implement it..it is good though but it
gave me headache :-)

> anyway, i have a copy of wicket-in-action it is great i learn a
>  lot from that.

>Good to hear :-)



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org




-- 
View this message in context: http://www.nabble.com/Comet-and-Wicket-tp17053968p17093695.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Comet and Wicket

Posted by Eelco Hillenius <ee...@gmail.com>.
>  Hello eelco,
>  Anyway JBoss default servlet container is tomcat, but they are replacing it
>  with their own container which is jboss-web i dont know if they already
>  did...

Ah, I didn't know that.

> anyway, im experementing on wicket-push bcoz the cleint wants some
>  sort of messaging on their app..(actually our web-app is entirely made on
>  wicket :)  so im here )...but my problem is how to send specific message
>  notification to a person logged in...any idea how to accomplish this would
>  be great...

Note that you can still implement messaging the 'old fashioned' way by
using Ajax polling (basically a thread in your browser that polls for
new events every n seconds).

But ideally, we have implementations of wicket-push for every project.
I don't know enough about that project to see anything beyond that
though...

> anyway, i have a copy of wicket-in-action it is great i learn a
>  lot from that.

Good to hear :-)

Eelco

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Comet and Wicket

Posted by freak182 <em...@gmail.com>.
Hello eelco,
Anyway JBoss default servlet container is tomcat, but they are replacing it
with their own container which is jboss-web i dont know if they already
did...anyway, im experementing on wicket-push bcoz the cleint wants some
sort of messaging on their app..(actually our web-app is entirely made on
wicket :)  so im here )...but my problem is how to send specific message
notification to a person logged in...any idea how to accomplish this would
be great...anyway, i have a copy of wicket-in-action it is great i learn a
lot from that.

Thanks a lot...Cheers 



Eelco Hillenius wrote:
> 
>>  Hello,
>>  I deploy the wicket-push example on tomcat latest version and it
>>  worked...and also i will test in JBoss 4.2.x...hoping to work as well
>> bcoz
>>  JBoss use tomcat container...anyway, you can embed jetty container in
>> JBoss
>>  too :)
> 
> Actually, for all I know JBoss doesn't provide it's own servlet
> container and thus requires Jetty or Tomcat (which is the default?) to
> do the servlet work. So it's not really embedding :-)
> 
> I don't know whether work on Tomcat for wicket-push was done or even
> considered. The problem is that Comet is not standardized, so we have
> to implement a specific solution for every servlet container we want
> to support. Help with that is more than welcome of course.
> 
> Maybe you could drop a line here:
> http://www.theserverside.com/news/thread.tss?thread_id=49212 or on
> somewhere else with similar discussions.
> 
> Eelco
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Comet-and-Wicket-tp17053968p17077415.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Comet and Wicket

Posted by Eelco Hillenius <ee...@gmail.com>.
On Mon, May 5, 2008 at 11:47 PM, Johan Compagner <jc...@gmail.com> wrote:
> They are busy making it a standaard in the next servlet spec

Let's hope they can agree on how to do that.

Eelco

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Comet and Wicket

Posted by "C. Bergström" <cb...@netsyncro.com>.
Johan Compagner wrote:
> They are busy making it a standaard in the next servlet spec
Jetty 7 will use servlet spec 3.0 (which is still in draft)  Anyone 
feeling daring can test it.

http://docs.codehaus.org/display/JETTY/Downloading+Jetty

./C

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Comet and Wicket

Posted by Johan Compagner <jc...@gmail.com>.
They are busy making it a standaard in the next servlet spec

On 5/6/08, Eelco Hillenius <ee...@gmail.com> wrote:
> >  Hello,
> >  I deploy the wicket-push example on tomcat latest version and it
> >  worked...and also i will test in JBoss 4.2.x...hoping to work as well
> bcoz
> >  JBoss use tomcat container...anyway, you can embed jetty container in
> JBoss
> >  too :)
>
> Actually, for all I know JBoss doesn't provide it's own servlet
> container and thus requires Jetty or Tomcat (which is the default?) to
> do the servlet work. So it's not really embedding :-)
>
> I don't know whether work on Tomcat for wicket-push was done or even
> considered. The problem is that Comet is not standardized, so we have
> to implement a specific solution for every servlet container we want
> to support. Help with that is more than welcome of course.
>
> Maybe you could drop a line here:
> http://www.theserverside.com/news/thread.tss?thread_id=49212 or on
> somewhere else with similar discussions.
>
> Eelco
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Comet and Wicket

Posted by Eelco Hillenius <ee...@gmail.com>.
>  Hello,
>  I deploy the wicket-push example on tomcat latest version and it
>  worked...and also i will test in JBoss 4.2.x...hoping to work as well bcoz
>  JBoss use tomcat container...anyway, you can embed jetty container in JBoss
>  too :)

Actually, for all I know JBoss doesn't provide it's own servlet
container and thus requires Jetty or Tomcat (which is the default?) to
do the servlet work. So it's not really embedding :-)

I don't know whether work on Tomcat for wicket-push was done or even
considered. The problem is that Comet is not standardized, so we have
to implement a specific solution for every servlet container we want
to support. Help with that is more than welcome of course.

Maybe you could drop a line here:
http://www.theserverside.com/news/thread.tss?thread_id=49212 or on
somewhere else with similar discussions.

Eelco

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Comet and Wicket

Posted by freak182 <em...@gmail.com>.
Hello,
I deploy the wicket-push example on tomcat latest version and it
worked...and also i will test in JBoss 4.2.x...hoping to work as well bcoz
JBoss use tomcat container...anyway, you can embed jetty container in JBoss
too :)

The only thing problem in my mind is that how to display members in chatroom
and send to specific person in the chatroom...just like meebo thing 

Thanks a lot...Cheers...


Enrique Rodriguez-2 wrote:
> 
> On Mon, May 5, 2008 at 3:27 AM, freak182 <em...@gmail.com> wrote:
>>
>> Hello,
>> My testing so far is good, i just implement seriazable to the
>> PushTimerService so that it will not yell for ObjectSerialization...does
>> this work in Tomcat server,JBoss or other application server? or jetty
>> only?
> 
> I'm in the same boat:  I develop with Jetty but have to deploy to
> JBoss/Tomcat for work reasons.  I have the wicket-push-examples
> running with Jetty and have been meaning to try the "guidance" at this
> old blog post which indicates that it *is possible* to run the Jetty
> cometd servlet in Tomcat.
> 
> http://thebdgway.blogspot.com/2006/11/say-hello-world-to-comet.html
> 
> Enrique
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Comet-and-Wicket-tp17053968p17071515.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Comet and Wicket

Posted by Enrique Rodriguez <en...@gmail.com>.
On Mon, May 5, 2008 at 3:27 AM, freak182 <em...@gmail.com> wrote:
>
> Hello,
> My testing so far is good, i just implement seriazable to the
> PushTimerService so that it will not yell for ObjectSerialization...does
> this work in Tomcat server,JBoss or other application server? or jetty only?

I'm in the same boat:  I develop with Jetty but have to deploy to
JBoss/Tomcat for work reasons.  I have the wicket-push-examples
running with Jetty and have been meaning to try the "guidance" at this
old blog post which indicates that it *is possible* to run the Jetty
cometd servlet in Tomcat.

http://thebdgway.blogspot.com/2006/11/say-hello-world-to-comet.html

Enrique

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Comet and Wicket

Posted by freak182 <em...@gmail.com>.
Hello,
My testing so far is good, i just implement seriazable to the
PushTimerService so that it will not yell for ObjectSerialization...does
this work in Tomcat server,JBoss or other application server? or jetty only?


Michael Sparer wrote:
> 
> take a look at the wicketstuff-push project
> 
> 
> freak182 wrote:
>> 
>> Hello,
>> Is there anyone here try or trying to implement comet(server push
>> concept) on wicket?
>> 
>> Thanks a lot...Cheers
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Comet-and-Wicket-tp17053968p17057179.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Comet and Wicket

Posted by Michael Sparer <mi...@gmx.at>.
take a look at the wicketstuff-push project


freak182 wrote:
> 
> Hello,
> Is there anyone here try or trying to implement comet(server push concept)
> on wicket?
> 
> Thanks a lot...Cheers
> 


-----
Michael Sparer
http://talk-on-tech.blogspot.com
-- 
View this message in context: http://www.nabble.com/Comet-and-Wicket-tp17053968p17053970.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org