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
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