What is the difference between Output Text and Output Text (Active)?
Posted
by [email protected]
on Oracle Blogs
See other posts from Oracle Blogs
or by [email protected]
Published on Fri, 26 Mar 2010 22:58:10 +0000
Indexed on
2010/03/26
23:43 UTC
Read the original article
Hit count: 394
Filed under:
af:activeOutputText af:ou
When building an ADF Faces application in JDeveloper, you might have noticed that in the Component Palette there is an option for both "Output Text" as well as "Output Text (Active)". Why do we have both of these options?
Under the covers, there are actually two tags, af:outputText and af:activeOutputText. Similarly, there is an active version of af:image, namely af:activeImage, and an active version of af:commandToolbarButton, af:activeCommandToolbarButton.
In the vast majority of cases, developers should use the non-active version of the components. The active version of the components are there to support specific usecases around Server Side Push using the Active Data Service feature. Most of our customers don't use Server Side Push, and hence do not need the active version of the components. You can learn more about Server Side Push with ADF Active Data Service in this blog.
By using the active version of af:outputText, af:image or af:commandToolbarButton when you don't need to, you are taking a performance hit that is unnecessary.
Under the covers, there are actually two tags, af:outputText and af:activeOutputText. Similarly, there is an active version of af:image, namely af:activeImage, and an active version of af:commandToolbarButton, af:activeCommandToolbarButton.
In the vast majority of cases, developers should use the non-active version of the components. The active version of the components are there to support specific usecases around Server Side Push using the Active Data Service feature. Most of our customers don't use Server Side Push, and hence do not need the active version of the components. You can learn more about Server Side Push with ADF Active Data Service in this blog.
By using the active version of af:outputText, af:image or af:commandToolbarButton when you don't need to, you are taking a performance hit that is unnecessary.
© Oracle Blogs or respective owner