Sunday, July 10, 2011

Activation Passivation in Oracle ADF 11g

Opps, does the application runs perfectly for one user and shows weird behavior for multiple users ? is it ? then my gut feeling says the application is not activation safe.
Refer to http://blogs.oracle.com/Didier/entry/set_jboampooldoampoolingfalse_1 by
Didier Laurent - Sr Principal Support Engineer in the JDeveloper team

And once you really find out its an activation passivation issue, here is what you are to do
In your AM Impl class override the activateState(Element elem) and passivateState(Document doc, Element parent) method in the root AMImpl or each of the AMImpl class.

What we actually do in this method is create an XML structure to store the user defined values during passivation and reading those values back on activation.

Keep following as i will shortly upload a sample example to reproduce the error and the way to fix it.

No comments:

Post a Comment