Topic: 有关实时编程的问题 |
Print this page |
1.有关实时编程的问题 | Copy to clipboard |
Posted by: fanl Posted on: 2005-09-28 09:46 现有一个数据库,通过另外的软件使其实时更新,要做一个b/s结构的远程访问数据库的程序,做到每秒(或更少)刷新一次,这样就可以近似地看成是实时的。用xmlhttp做过无刷新,但是效果不好,现在准备用applet来做,但是在数据通讯、流传输以及流与数据库的连接等方面还很欠缺,不知道大家有没有什么好的意见,本人将感激不尽阿! |
2.Re:有关实时编程的问题 [Re: fanl] | Copy to clipboard |
Posted by: fanl Posted on: 2005-09-28 14:40 这边好像人迹罕至阿! |
3.Re:有关实时编程的问题 [Re: fanl] | Copy to clipboard |
Posted by: ftang Posted on: 2005-10-01 04:56 ok....there ar tons of way to doing that....but you need to give out more detail: 1. what is the front end? web or application? 2. there are 2 technology for real time updating: push and pull, which one u will use?(1 sec/per pull is not consider as real time update), push will be more accurate 3. currently the Pub/Sub in MQ/JMS is most poplar/mature technology now for java world. 4 yrs ago...I was use TCP/IP to push the data from server to client through the socket...which now look like lot of problems... |
4.Re:有关实时编程的问题 [Re: fanl] | Copy to clipboard |
Posted by: fanl Posted on: 2005-10-08 11:43 要做成b/s结构。 我们这里的“实时”不是很严格,只要做到每秒钟在数据库里面去一次数据即可,用xmlhttp可以解决,但是浏览器下面的进度条同样在不断变化,系统资源的占用也有点大,所以准备利用java applet来做!不知道大家认为可行不可行?有没有更好的方式! |
5.Re:有关实时编程的问题 [Re: fanl] | Copy to clipboard |
Posted by: javadd Posted on: 2005-10-08 13:59 什么系统,需要实时地操作数据库? |
6.Re:有关实时编程的问题 [Re: fanl] | Copy to clipboard |
Posted by: fanl Posted on: 2005-10-09 09:38 或者可以这么说,需要在很短的时间(比如一秒)在数据库里面获取一次数据! |
Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1 客服电话 18559299278 客服信箱 714923@qq.com 客服QQ 714923 |