没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
Active AJAX based
Active AJAX based Active AJAX based
Active AJAX based
live dashboards
live dashboardslive dashboards
live dashboards
Pushing Data to a browser
A white paper looking into the technologies that allow the pushing
of data to a web browser. This data is then used to shows a live
dashboard of an automotive supply chain
Author: Jeffrey Porter (j.porter.1@warwick.ac.uk / jeff@porter.eu.com)
Date: 21 February 2007
Version: v 1.0b
Synopsis............................................................................................................................. ii
Presumptions.................................................................................................................... ii
Acknowledgments.......................................................................................................... 4
Glossary....................................................................................................................... 5
Resources................................................................................................................... 6
1. Introduction.............................................................................................................. 7
2. Techniques for pushing data............................................................................ 8
RMI/CORBA .............................................................................................................. 8
Pushlets (http://www.pushlets.com/)............................................................... 8
XMLHttpRequest..................................................................................................... 9
CometD (http://www.cometd.com)................................................................. 10
3. Final Choices – System choices.................................................................. 11
4. CometD integration (DOJO, Jetty6, JBoss-4.0.5)................................. 11
JBoss.......................................................................................................................... 11
Jetty............................................................................................................................. 11
Dojo ............................................................................................................................. 12
Rico.............................................................................................................................. 13
JSP .............................................................................................................................. 13
Java............................................................................................................................. 15
Build............................................................................................................................. 18
Source Code............................................................................................................ 18
The Results.............................................................................................................. 19
Bibliography .................................................................................................................... 22
Synopsis
During a program to track stillages in a supply chain via RFID tags, it was decided to create a live
dashboard view of where they were located. At the start of the project there were several
technologies that allowed the pushing of data to a webpage, but each had its drawbacks and none
were in a state which the organisation considered stable enough for production.
This paper will cover the basics of each of these technologies, and then give an example of the final
choice of AJAX (DOJO) and CometD.
Presumptions
This document presumes that the read has in-depth knowledge of Java (inc J2EE), JavaScript.
Some knowledge of Dojo/Ajax and an understanding of how these technologies work together.
3
TABLE OF CONTENTS
Synopsis..............................................................................................................................ii
Presumptions....................................................................................................................ii
Acknowledgments...........................................................................................................4
Glossary.......................................................................................................................5
Resources...................................................................................................................6
1. Introduction...............................................................................................................7
2. Techniques for pushing data............................................................................8
RMI/CORBA...............................................................................................................8
Pushlets (http://www.pushlets.com/) ...............................................................8
XMLHttpRequest......................................................................................................9
CometD (http://www.cometd.com) ................................................................ 10
3. Final Choices – System choices.................................................................. 11
4. CometD integration (DOJO, Jetty6, JBoss-4.0.5)................................ 11
JBoss.......................................................................................................................... 11
Jetty............................................................................................................................. 11
Dojo............................................................................................................................. 12
Rico............................................................................................................................. 13
JSP.............................................................................................................................. 13
Java............................................................................................................................. 15
Build............................................................................................................................ 18
Source Code........................................................................................................... 18
The Results.............................................................................................................. 19
Bibliography.................................................................................................................... 22
4
Acknowledgments
The author wishes to express sincere appreciation to Just van den Broecke for
his prompt and detailed help in using his Pushlet’s API., Chris Bucchere for his
help with deploying the first release CometD and Alex Russell for his advice on
AJAX and CometD.
剩余22页未读,继续阅读
资源评论
renyichizhangyu
- 粉丝: 2
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功