在ADF中使用ADS来实时更新数据(概览)

ADF中包含Active Data Service (ADS) 技术,提供了对ADF Faces组件的real-time的数据更新。

ADS支持的组件包括:

activeCommandToolbarButton
activeImage
activeOutputText
table
tree
treeTable
DVT graph, gauge, and geographical map components

1,要确定支持数据push的数据源,SOA的BAM是支持的,其他结构,需要使用Active Data framework,包括ADF BC。

2,在adf-config.xml中配置ADS(可参考Fusion Developer Guide)。

3,其中,要选择一种Data Transport Modes:Streaming mode, pool mode, Long Polling Mode;其相关的参数设置会影响到系统性能,需要根据实际需求进行优化设置。

4,关于如何使用Active Data Proxy请参考: Fusion Developer Guide for ADF -> Using the Active Data Service -> Using the Active Data Proxy

5,如果需要使用Java timer, 可以参考:Fusion Developer Guide for ADF -> Using the Active Data Service -> Using the Active Data with a Scalar Model


Sample&Guide:

http://biemond.blogspot.com/2009/12/adf-data-push-with-active-data-service.html

http://matthiaswessendorf.wordpress.com/2010/01/07/adf%E2%80%99s-active-data-service-and-scalar-data-like-activeoutputtext/

https://blogs.oracle.com/smuenchadf/resource/examples#156

(上面这个例子,并没有使用ADS,主要使用VO的Auto Refresh,为该例子正常运行,别忘记给scott加notification privilege: grant change notification to scott)

https://forums.oracle.com/forums/thread.jspa?threadID=1028213

Fusion Developer Guide for ADF:Using the Active Data Service


  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值