dwr vs realtime-data

View: New views
6 Messages — Rating Filter:   Alert me  

dwr vs realtime-data

by wanyu :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Is dwr suitable for showing realtime-data , like quote data  on jsp ?

I want to design a real-time system, and get Reuter quotes on our jsp page. Can I use dwr structure?

 

Thx

 

============================

Patrick

MSN: fromjx@...

Mobile:13556803943

 


Re: dwr vs realtime-data

by Joe Walker-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


This is a question for the users mailing list - there are more people to help there.
The short answer is yes.

Joe.

On 10/16/07, wanyu < yu.wan@...> wrote:

Is dwr suitable for showing realtime-data , like quote data  on jsp ?

I want to design a real-time system, and get Reuter quotes on our jsp page. Can I use dwr structure?

 

Thx

 

============================

Patrick

MSN: fromjx@...

Mobile:13556803943

 



RE: dwr vs realtime-data

by Glenn Barnard :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Yes, you could create a timer in your Javascript and call your servlet periodically. But if you want real streaming data, check out pushlet technology. Pushlets use the browser's HTTP Request object, but it leaves the connection open, leaving the servlet to send data whenever it has info to "push". It's expensive on the server end, but a thrill to watch. Try www.pushlet.com for more info.

Date: Tue, 16 Oct 2007 12:19:55 +0100
From: joe@...
To: dev@...
Subject: Re: [dwr-dev] dwr vs realtime-data


This is a question for the users mailing list - there are more people to help there.
The short answer is yes.

Joe.

On 10/16/07, wanyu < yu.wan@...> wrote:
Is dwr suitable for showing realtime-data , like quote data  on jsp ?
I want to design a real-time system, and get Reuter quotes on our jsp page. Can I use dwr structure?
 
Thx
 
============================
Patrick
MSN: fromjx@...
Mobile:13556803943
 



Boo! Scare away worms, viruses and so much more! Try Windows Live OneCare! Try now!

Re: dwr vs realtime-data

by Joe Walker-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

If you're using DWR, reverse ajax is probably a more natural solution.

Joe.

On 10/16/07, Glenn Barnard <barnardglenn@...> wrote:

Yes, you could create a timer in your Javascript and call your servlet periodically. But if you want real streaming data, check out pushlet technology. Pushlets use the browser's HTTP Request object, but it leaves the connection open, leaving the servlet to send data whenever it has info to "push". It's expensive on the server end, but a thrill to watch. Try www.pushlet.com for more info.

Date: Tue, 16 Oct 2007 12:19:55 +0100
From: joe@...
To: dev@...
Subject: Re: [dwr-dev] dwr vs realtime-data



This is a question for the users mailing list - there are more people to help there.
The short answer is yes.

Joe.

On 10/16/07, wanyu < yu.wan@...> wrote:
Is dwr suitable for showing realtime-data , like quote data  on jsp ?
I want to design a real-time system, and get Reuter quotes on our jsp page. Can I use dwr structure?
 
Thx
 
============================
Patrick
MSN: fromjx@...
Mobile:13556803943
 



Boo! Scare away worms, viruses and so much more! Try Windows Live OneCare! Try now!


Re: dwr vs realtime-data

by samd :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Yes, I'm using the reverse ajax capability and it works really well although we have not done much in terms of load testing up to this point. One thing to note however is that to get a real stable environment with DWR's reverse ajax I needed to use the early close mode. The full streaming mode had some odd results at times where I wasn't able to switch tabs on my browser and it would lock me to that page. This was on IE 7.

Anyone else encounter this?

Joe Walker-3 wrote:
If you're using DWR, reverse ajax is probably a more natural solution.

Joe.

On 10/16/07, Glenn Barnard <barnardglenn@hotmail.com> wrote:
>
>
> Yes, you could create a timer in your Javascript and call your servlet
> periodically. But if you want real streaming data, check out pushlet
> technology. Pushlets use the browser's HTTP Request object, but it leaves
> the connection open, leaving the servlet to send data whenever it has info
> to "push". It's expensive on the server end, but a thrill to watch. Try
> www.pushlet.com for more info.
>
> ------------------------------
> Date: Tue, 16 Oct 2007 12:19:55 +0100
> From: joe@getahead.org
> To: dev@dwr.dev.java.net
> Subject: Re: [dwr-dev] dwr vs realtime-data
>
>
> This is a question for the users mailing list - there are more people to
> help there.
> The short answer is yes.
>
> Joe.
>
> On 10/16/07, *wanyu* < yu.wan@cn.henyep.com> wrote:
>
>  Is dwr suitable for showing realtime-data , like quote data  on jsp ?
> I want to design a real-time system, and get Reuter quotes on our jsp
> page. Can I use dwr structure?
>
> Thx
>
> ============================
> Patrick
> MSN: fromjx@hotmail.com
> Mobile:13556803943
>
>
>
>
> ------------------------------
> Boo! Scare away worms, viruses and so much more! Try Windows Live OneCare!
> Try now!<http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotmailnews>
>

Re: dwr vs realtime-data

by Joe Walker-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I'm a bit slow at the moment due to conferences, however early-close mode is about to become the default for IE .... I've come to the conclusion that IE just isn't stable enough to do full streaming.

Joe.

On 10/18/07, samd <sdoyle_2@...> wrote:

Yes, I'm using the reverse ajax capability and it works really well although
we have not done much in terms of load testing up to this point. One thing
to note however is that to get a real stable environment with DWR's reverse
ajax I needed to use the early close mode. The full streaming mode had some
odd results at times where I wasn't able to switch tabs on my browser and it
would lock me to that page. This was on IE 7.

Anyone else encounter this?


Joe Walker-3 wrote:

>
> If you're using DWR, reverse ajax is probably a more natural solution.
>
> Joe.
>
> On 10/16/07, Glenn Barnard <barnardglenn@...> wrote:
>>
>>
>> Yes, you could create a timer in your Javascript and call your servlet
>> periodically. But if you want real streaming data, check out pushlet
>> technology. Pushlets use the browser's HTTP Request object, but it leaves
>> the connection open, leaving the servlet to send data whenever it has
>> info
>> to "push". It's expensive on the server end, but a thrill to watch. Try
>> www.pushlet.com for more info.
>>
>> ------------------------------
>> Date: Tue, 16 Oct 2007 12:19:55 +0100
>> From: joe@...
>> To: dev@...
>> Subject: Re: [dwr-dev] dwr vs realtime-data
>>
>>
>> This is a question for the users mailing list - there are more people to
>> help there.
>> The short answer is yes.
>>
>> Joe.
>>
>> On 10/16/07, *wanyu* < yu.wan@...> wrote:
>>
>>  Is dwr suitable for showing realtime-data , like quote data  on jsp ?
>> I want to design a real-time system, and get Reuter quotes on our jsp
>> page. Can I use dwr structure?
>>
>> Thx

>>
>> ============================
>> Patrick
>> MSN: fromjx@...
>> Mobile:13556803943
>>
>>
>>
>>
>> ------------------------------
>> Boo! Scare away worms, viruses and so much more! Try Windows Live
>> OneCare!
>> Try
>> now!< http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotmailnews>
>>
>
>

--
View this message in context: http://www.nabble.com/dwr-vs-realtime-data-tf4633334.html#a13265660
Sent from the DWR - Dev mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


LightInTheBox - Buy quality products at wholesale price