Friday, November 9, 2012

JDev/ADF sample - ADF BC View Accessor To Centralize Business Logic Processing

  • ADF BC View Accessor To Centralize Business Logic Processing. I was implementing today one use case, where it was required to compare current row status with the data returned by another query (no master-detail relationship). Such use case can implemented in many ways in ADF - custom method on AM with combination of expression on ADF UI, etc. I decided to go different path and centralize processing logic into VO itself by using View Accessor (same as LOV's are defined in ADF). This allows to simplify implementation part on ADF UI - only simple access to VO attribute will be required, without calling any custom methods from ADF BC (all the job will be done already on VO level).
    Download - ViewAccessorSampleApp.zip

No comments: