My presentation title was - "Oracle JDeveloper and Oracle ADF: deeper sight". During the presentation I have talked about Oracle JDeveloper functionality and about Oracle ADF features. The main focus was to show for the auditory how it is simple to use Oracle ADF, I have described steps needed to create standard CRUD type WEB application. I should say, presentation has received quite big attention - there was something about 100 people auditory. Presentation title slide - "Oracle JDeveloper and Oracle ADF: deeper sight":
As it was mentioned, I have described steps needed when using Oracle ADF. Described steps were:
- Entity objects development
- Use Case implementation - View objects and Application Module
- Developed Application Module testing
- Business logic implementation - adding data validation functionality to Entity object
- View layer development using Oracle ADF Faces
- Application running using Oracle JDeveloper embedded OC4J
Page flow diagram - available pages and navigation cases between them:
When running sample application, don't forget to add adf-faces-impl.jar and jsf-impl.jar to application's WEB-INF\lib directory.
The example was quite intresting. Can you you please explain about how the selected jobid is passed to page showing employees with that job.
ReplyDeleteHi,
ReplyDelete1). In viewJobs.jspx for 'View employees' button af:setActionListener is created. This listener stores #{row.JobId} value to #{processScope.jobId}
2). In viewEmployees.jspx page-definition file ExecuteWithParams action is defined. This action accepts #{processScope.jobId} and executes EmployeesView View Object.
3). ExecuteWithParams is invoked each time when page is opened - this is defined in 'setJobParam' invokeAction available in viewEmployees.jspx page-definition file.
Regards,
Andrejus
Thank you Andrejus,
ReplyDeleteI am a newbee to ADF, I am not able to follow the step.2, i.e defining ExecuteWithParams and setCurrentRowWithKey. Can you please give me some more details on this step or a link where these details are available.
Thanks in advance
Hi Seshu,
ReplyDeleteYou can find detailed descriptions of ExecuteWithParams and setCurrentRowWithKey in Duncan Mills's weblog:
1) ExecuteWithParams My New Best Buddy
2) ADF - InvokeAction -immediately flitering Employees by a Department Name drop down list
Hope this will be useful. I can help if something will be unclear.
Regards,
Andrejus