Monday, September 03, 2012

SharedAM Examples

SharedAM VOs can be refreshed using 2 mechanisms.

DataBase Change Notification

SharedAM test(DB Change Notification=>AutoRefresh = true)
  • Make Default AM configuration to Shared
  • grant change notification to fusion
  • Model->Project properties->ApplicationModeul->Shuttle to Application Level
  • For the Shared VO autorefresh=true
  • Create a ViewAccessor of the SharedVO and expose in Client Interface
  • From DataControl Pallete, use 
<af:forEach items="#{bindings.return.attributeDefs}" var="def">
            <af:column headerText="#{bindings.return.labels[]}"
                       sortable="true" sortProperty="#{}" id="c1">
              <af:outputText value="#{row[]}" id="ot1"/>

  • In DataBindings.cpx->AM DatAControl->Use Configuration=Shared
  • For the VA Iterator in pagedef, set ChangeEventPolicy=ppr

TimeOut Feature for refreshing the Query Collection

  • jbo.ampool.timetolive="86400000" jbo.qcpool.maxinactiveage="86400000"
Maintains the SharedAM VO cache for 24 hours and then invalidates.

1 comment:

Anonymous said...

Today many diseases can be treated by a very fine, hair thin,
disposable acupuncture needles which are made up of either stainless
steel or silver or gold or copper. ll understand what you have to do in order
to solve your basic problems. The treatments and care an RT provides to these patients would
be drug and oxygen administration to the lungs which may
also call for cardiopulmonary resuscitation.
Also visit my web-site ... mood swings depression women