Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Is there such a thing as a Real-time Web Application?

Reply
Thread Tools

Is there such a thing as a Real-time Web Application?

 
 
Charles Law
Guest
Posts: n/a
 
      05-02-2006
What I mean is, I want my web client to be updated in real-time.

The scenario is that I have a database that is updated asynchronously, and
when the update takes place I want to 'notify' my web clients so that they
can display new information. This must be a push rather than a pull, so I
don't want to use a timer on the client.

Is there a way to do this?

TIA

Charles


 
Reply With Quote
 
 
 
 
John Timney \( MVP \)
Guest
Posts: n/a
 
      05-02-2006
You will need to have some form of constant connection between your client
and the web server, typcially an issue in a stateless environment like the
web. You could probably think about using an applet or activex control
connected to a socket server, let the socket server monitor the DB and when
the DB update occurs it can tell its connected clients via your applet that
the update has occured.

--
Regards

John Timney
Microsoft MVP

"Charles Law" <> wrote in message
news:...
> What I mean is, I want my web client to be updated in real-time.
>
> The scenario is that I have a database that is updated asynchronously, and
> when the update takes place I want to 'notify' my web clients so that they
> can display new information. This must be a push rather than a pull, so I
> don't want to use a timer on the client.
>
> Is there a way to do this?
>
> TIA
>
> Charles
>
>



 
Reply With Quote
 
 
 
 
Jim Cheshire
Guest
Posts: n/a
 
      05-02-2006
On Tue, 2 May 2006 12:43:48 +0100, "Charles Law" <>
wrote:

>What I mean is, I want my web client to be updated in real-time.
>
>The scenario is that I have a database that is updated asynchronously, and
>when the update takes place I want to 'notify' my web clients so that they
>can display new information. This must be a push rather than a pull, so I
>don't want to use a timer on the client.
>


Web applications are connectionless. There cannot be a push because
the Web server has no way to push something to a specific client.

What you're asking for would probably be best accomplished using
XMLHTTP. It would be easy enough to return a Boolean indicating
whether or not data have changed. When they have, you could also use
the same method to update only that portion of the page that has
changed.

Jim Cheshire
Blog: http://blogs.msdn.com/jamesche

 
Reply With Quote
 
Cor Ligthert [MVP]
Guest
Posts: n/a
 
      05-02-2006
Charles,

You was a while on the moon.

http://atlas.asp.net/Default.aspx?tabid=47

You should even have seen it from that place.

Cor


"Charles Law" <> schreef in bericht
news:...
> What I mean is, I want my web client to be updated in real-time.
>
> The scenario is that I have a database that is updated asynchronously, and
> when the update takes place I want to 'notify' my web clients so that they
> can display new information. This must be a push rather than a pull, so I
> don't want to use a timer on the client.
>
> Is there a way to do this?
>
> TIA
>
> Charles
>
>



 
Reply With Quote
 
Charles Law
Guest
Posts: n/a
 
      05-02-2006
Hi Cor

Thanks for the link. I noticed this when I Googled, but at first-glance it
looked like a third-party tool, and I was looking for a built-in way. Now I
look at it again, it might be just what I am looking for.

Charles


"Cor Ligthert [MVP]" <> wrote in message
news:...
> Charles,
>
> You was a while on the moon.
>
> http://atlas.asp.net/Default.aspx?tabid=47
>
> You should even have seen it from that place.
>
> Cor
>
>
> "Charles Law" <> schreef in bericht
> news:...
>> What I mean is, I want my web client to be updated in real-time.
>>
>> The scenario is that I have a database that is updated asynchronously,
>> and when the update takes place I want to 'notify' my web clients so that
>> they can display new information. This must be a push rather than a pull,
>> so I don't want to use a timer on the client.
>>
>> Is there a way to do this?
>>
>> TIA
>>
>> Charles
>>
>>

>
>



 
Reply With Quote
 
Charles Law
Guest
Posts: n/a
 
      05-02-2006
Hi John

Thanks for the reply. I shall look into this further.

How do the control and socket server test for new data internally? Is it a
poll, or is it more like the way a comm device works?

Charles


"John Timney ( MVP )" <> wrote in message
news:...
> You will need to have some form of constant connection between your client
> and the web server, typcially an issue in a stateless environment like the
> web. You could probably think about using an applet or activex control
> connected to a socket server, let the socket server monitor the DB and
> when the DB update occurs it can tell its connected clients via your
> applet that the update has occured.
>
> --
> Regards
>
> John Timney
> Microsoft MVP
>
> "Charles Law" <> wrote in message
> news:...
>> What I mean is, I want my web client to be updated in real-time.
>>
>> The scenario is that I have a database that is updated asynchronously,
>> and when the update takes place I want to 'notify' my web clients so that
>> they can display new information. This must be a push rather than a pull,
>> so I don't want to use a timer on the client.
>>
>> Is there a way to do this?
>>
>> TIA
>>
>> Charles
>>
>>

>
>



 
Reply With Quote
 
bruce barker \(sqlwork.com\)
Guest
Posts: n/a
 
      05-02-2006
note: an atlas solution would be a client polling solution. if you don't
want polling, then as noted above you need to use a java applet or active/x
control to open a socket to you server. you will need to write a new network
service on your server to maintain the connection to the client as asp.net
can not be used for this. one of the open IM server packages would do.


-- bruce (sqlwork.com)


"Cor Ligthert [MVP]" <> wrote in message
news:...
> Charles,
>
> You was a while on the moon.
>
> http://atlas.asp.net/Default.aspx?tabid=47
>
> You should even have seen it from that place.
>
> Cor
>
>
> "Charles Law" <> schreef in bericht
> news:...
>> What I mean is, I want my web client to be updated in real-time.
>>
>> The scenario is that I have a database that is updated asynchronously,
>> and when the update takes place I want to 'notify' my web clients so that
>> they can display new information. This must be a push rather than a pull,
>> so I don't want to use a timer on the client.
>>
>> Is there a way to do this?
>>
>> TIA
>>
>> Charles
>>
>>

>
>



 
Reply With Quote
 
John A. Bailo
Guest
Posts: n/a
 
      05-02-2006

Um, yeah.

Ever hear of Remoting.

It's exactly what he wants.

Check out the Remoting samples, like the chat server/client.

Remoting can update a client when events occur on the server.

And it can all be done in .NET 1.1


There's ajax and atlas, but they require a lot of infrastructure for
something Remoting can do in a few lines of code and some .config entries.



bruce barker (sqlwork.com) wrote:
> note: an atlas solution would be a client polling solution. if you don't
> want polling, then as noted above you need to use a java applet or active/x
> control to open a socket to you server. you will need to write a new network
> service on your server to maintain the connection to the client as asp.net
> can not be used for this. one of the open IM server packages would do.
>
>
> -- bruce (sqlwork.com)
>
>
> "Cor Ligthert [MVP]" <> wrote in message
> news:...
>
>>Charles,
>>
>>You was a while on the moon.
>>
>>http://atlas.asp.net/Default.aspx?tabid=47
>>
>>You should even have seen it from that place.
>>
>>Cor
>>
>>
>>"Charles Law" <> schreef in bericht
>>news:...
>>
>>>What I mean is, I want my web client to be updated in real-time.
>>>
>>>The scenario is that I have a database that is updated asynchronously,
>>>and when the update takes place I want to 'notify' my web clients so that
>>>they can display new information. This must be a push rather than a pull,
>>>so I don't want to use a timer on the client.
>>>
>>>Is there a way to do this?
>>>
>>>TIA
>>>
>>>Charles
>>>
>>>

>>
>>

>
>

 
Reply With Quote
 
gerry
Guest
Posts: n/a
 
      05-02-2006
but then you aren't talking about the web client anymore but rather a server
side client within the asp.net app


"John A. Bailo" <> wrote in message
news:...
>
> Um, yeah.
>
> Ever hear of Remoting.
>
> It's exactly what he wants.
>
> Check out the Remoting samples, like the chat server/client.
>
> Remoting can update a client when events occur on the server.
>
> And it can all be done in .NET 1.1
>
>
> There's ajax and atlas, but they require a lot of infrastructure for
> something Remoting can do in a few lines of code and some .config entries.
>
>
>
> bruce barker (sqlwork.com) wrote:
> > note: an atlas solution would be a client polling solution. if you don't
> > want polling, then as noted above you need to use a java applet or

active/x
> > control to open a socket to you server. you will need to write a new

network
> > service on your server to maintain the connection to the client as

asp.net
> > can not be used for this. one of the open IM server packages would do.
> >
> >
> > -- bruce (sqlwork.com)
> >
> >
> > "Cor Ligthert [MVP]" <> wrote in message
> > news:...
> >
> >>Charles,
> >>
> >>You was a while on the moon.
> >>
> >>http://atlas.asp.net/Default.aspx?tabid=47
> >>
> >>You should even have seen it from that place.
> >>
> >>Cor
> >>
> >>
> >>"Charles Law" <> schreef in bericht
> >>news:...
> >>
> >>>What I mean is, I want my web client to be updated in real-time.
> >>>
> >>>The scenario is that I have a database that is updated asynchronously,
> >>>and when the update takes place I want to 'notify' my web clients so

that
> >>>they can display new information. This must be a push rather than a

pull,
> >>>so I don't want to use a timer on the client.
> >>>
> >>>Is there a way to do this?
> >>>
> >>>TIA
> >>>
> >>>Charles
> >>>
> >>>
> >>
> >>

> >
> >



 
Reply With Quote
 
John Timney \( MVP \)
Guest
Posts: n/a
 
      05-02-2006
yes, its usually via some form of poll

--
Regards

John Timney
Microsoft MVP

"Charles Law" <> wrote in message
news:...
> Hi John
>
> Thanks for the reply. I shall look into this further.
>
> How do the control and socket server test for new data internally? Is it a
> poll, or is it more like the way a comm device works?
>
> Charles
>
>
> "John Timney ( MVP )" <> wrote in message
> news:...
>> You will need to have some form of constant connection between your
>> client and the web server, typcially an issue in a stateless environment
>> like the web. You could probably think about using an applet or activex
>> control connected to a socket server, let the socket server monitor the
>> DB and when the DB update occurs it can tell its connected clients via
>> your applet that the update has occured.
>>
>> --
>> Regards
>>
>> John Timney
>> Microsoft MVP
>>
>> "Charles Law" <> wrote in message
>> news:...
>>> What I mean is, I want my web client to be updated in real-time.
>>>
>>> The scenario is that I have a database that is updated asynchronously,
>>> and when the update takes place I want to 'notify' my web clients so
>>> that they can display new information. This must be a push rather than a
>>> pull, so I don't want to use a timer on the client.
>>>
>>> Is there a way to do this?
>>>
>>> TIA
>>>
>>> Charles
>>>
>>>

>>
>>

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
is there such a thing as xsl code asist in wtp 1? Elhanan Java 1 04-04-2006 03:55 AM
RegEx: Is there such a thing as "non-greedy backwards"? mrclean_ii@hotmail.com Java 5 01-25-2005 04:07 PM
Is there such a thing? BasketCase Computer Support 7 12-09-2003 01:54 PM
The term Browser ID?? no such thing is there? moo moo Java 2 11-20-2003 12:25 PM
Is there such a thing as a JVM monitor... Edward A Thompson Java 3 10-02-2003 10:32 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57