-
push data from server to client continuously
Hi,
I want to have a web service which reads data continuosly from an external
hardware(eg rpm) on a serial port and returns a byte array.
I want to access this data from a aspx file. The problem is that since it
is continuous data, i have to call the web service in a loop.. and this creates
100% cpu load.
Is there a better way to do it ?. I heard that there is pushlet technology
in java where the server contiuosly sends data to the client (Javascript)..
is there an equivalent in .net ?
In summary is there any way that the server could send data to the client
continuosly without the client requesting for the data in a loop?
Thanks for any help.
-
Re: push data from server to client continuously
there are a few options
a) don't push from the server, but pull from the client (using meta refresh
or remote scripting or RDS)
b) use an ActiveX control that communicates with the server.
c) use a Java applet that communicates with the server.
you definitely don't want to do it in a loop.
read up on events/callbacks, or if using remote scripting or rds, you can
use the setTimeout() function in javascript to poll the server periodically.
"Nitya" <nitya_nayak@yahoo.com> wrote:
>
>Hi,
>I want to have a web service which reads data continuosly from an external
>hardware(eg rpm) on a serial port and returns a byte array.
>I want to access this data from a aspx file. The problem is that since it
>is continuous data, i have to call the web service in a loop.. and this
creates
>100% cpu load.
>
>Is there a better way to do it ?. I heard that there is pushlet technology
>in java where the server contiuosly sends data to the client (Javascript)..
>is there an equivalent in .net ?
>
>In summary is there any way that the server could send data to the client
>continuosly without the client requesting for the data in a loop?
>
>Thanks for any help.
-
I think iPush Server is what you need. You don't need to handle socket by yourself.
It also supports J2ME for MIDP2.0 and Flash, and that means you don't have got to build different distribution platforms for versatile client side platforms.
iPush Server
http://www.icetechnology.com/products/ipushv2/
The Vender's Site
http://www.icetechnology.com
There are some iPush-powered demos built with flash:
http://www.icetechnology.com/scenarios/finance.shtml
http://www.icetechnology.com/scenarios/sports.shtml
http://www.icetechnology.com/scenarios/im.shtml
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks