After 1 week of tinkering with Oracle ADF, there are somethings which I do not understand..
- Why upon creating a Fushion Web Application (ADF), 2 projects are created - a Model project, and another ViewController project?
- Why do I still need to write POJO code to persist data when I already have my Entity Objects (EO) defined in the Model project? Can’t that the code be automatically generated based on the defined EOs?
Something I missed in the tutorial. It’s not actually to persist data. It’s to bind the data from the WEB FORM!
BUT.. How to bind then when I have already bind the <af:selectOnceChoice /> component to populate the data???
And, to persist data, why is the Java class in the ViewController project instead of the Model project?