Hi All
I have a query, i am starting out with ADF and am learning alot through these forums and Google
Using Jdeveloper 11.1.1.7
the question i have is, i have a clustered/HA Environment (2 Nodes) and am moving my application to use HA.
i have changed the adf-config.xml file to add the following line:
<adf-controller-config xmlns="http://xmlns.oracle.com/adf/controller/config">
<adf-scope-ha-support>true</adf-scope-ha-support>
</adf-controller-config>
i currently have one managed bean (ViewScope) and this has all my actionListeners/valueChange etc... etc... it also has my UIComponent bindings and i also have several methods that set particular attributes on these components and then do :
AdfFacesContext.getCurrentInstance().addPartialTarget("ComponentRefHere");
I am aware i need to set my managed beans to implement Serializable i also understand that UI Components are not Serializable...
i am using the ComponentReference method ie:
private ComponentReference<RichPanelBox> iframePB;
public void setIframePB(RichPanelBox component) {
iframePB = ComponentReference.newUIComponentReference(component);
}
public RichPanelBox getIframePB() {
return uiComponentBean.getIframePB();
}
the question i have is, can i leave it like this? or shall i move them to another managed bean?
If so what scope should i set the bean, should this also implement serializable, and how can i access them from my viewScope managed bean.
Thanks