RealTime Data Over HTTP (Push Based Refresh)

R

rawCoder

Hi,

(NOTE: For the following post, please Only Consider HTTP Via WebBrowser)

Data Publishing over HTTP is 'pull' based, i.e. the browser has to
request(refresh) to get data.

Is there any way that the data is published(pushed) to the browser in
realtime so that the webpage does have to request or poll for a refresh?

Consider a Quotes Watch Grid where symbols are refreshed as any change
happens instead of periodically polling to refresh the bid ask proce of the
symbol.

In the real world one solution being used in this scenario is JAVA Applets;
equivalent of which (that I am aware of) is ActiveX.
What is the .NET alternative, IF ANY ?
Are J# Applets mature enough?
Does WS-Eventing work over HTTP via Web Browser?

Thanx In Advance.
rawCoder
 
M

Markus Kling

If a server want's to communicate back to the client it needs to establish a
(new!) connection to the client. This means they change roles; the server
acts as client and the client as server. This is independent of the protocol
and even the language the client application is implemented in.

You definitly need a fat/thin client that is possible to open a TCP/IP
listener on the client side. Possible Implementations would be a .Net Form,
ActiveX, or J# Applets.

To satisty you're NOTE: For the .Net case you could use SOAP over HTTP as
remoting protocol.

Hope that helps,
Markus
 
Joined
Jul 31, 2009
Messages
2
Reaction score
0
Yes if you want to do HTTP push you need to get yourself a Comet server. I can recommend StreamHub's HTTP Push Server from stream-hub.com - it works in pure javascript so you don't need any Flash or ActiveX or anything. I'm currently using the Java API for streaming (yuk) but they have a .NET API coming soon according to the features page.

I think its also possible to do something similar using Silverlight if you want to use c# but I'm not sure how.

Hope this helps...

rawCoder said:
Hi,

(NOTE: For the following post, please Only Consider HTTP Via WebBrowser)

Data Publishing over HTTP is 'pull' based, i.e. the browser has to
request(refresh) to get data.

Is there any way that the data is published(pushed) to the browser in
realtime so that the webpage does have to request or poll for a refresh?

Consider a Quotes Watch Grid where symbols are refreshed as any change
happens instead of periodically polling to refresh the bid ask proce of the
symbol.

In the real world one solution being used in this scenario is JAVA Applets;
equivalent of which (that I am aware of) is ActiveX.
What is the .NET alternative, IF ANY ?
Are J# Applets mature enough?
Does WS-Eventing work over HTTP via Web Browser?

Thanx In Advance.
rawCoder
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,981
Messages
2,570,188
Members
46,731
Latest member
MarcyGipso

Latest Threads

Top