X

Oracle JDeveloper and Oracle ADF Blog

  • November 4, 2010

Options for creating POC mockups in ADF

Frank Nimphius
Master Principal Product Manager
Sometimes a working application is only a secondary goal of a job and all you want to prove is the ability to build a specific layout or functionality using Oracle ADF. So what are your options?

One of my favorite option is a POJO model that I created a while ago and that mimics the Oracle HR schema. It does allow CRUD and search operations. Just download the ZIP file and add it to an Oracle JDeveloper workspace. Youcan use this POJO model to

  1. Create a JavaBean Data Control from the SessionFacade class
  2. Create a JAX-WS Web Service from it and the use the Web Service Data Control (in which case you wont be able to persist updates because the WS does not keep state and refreshes the POJO for each request).

This also is a good approach for building simple test cases that don't require a database infrastructure.

Another option built into the ADF product and recently discussed on the OTN forum, is the Placeholder Data Control.

The Placeholder Data Control allows you to construct data structures that are closer to the use case you need to implement than the HR schema possibly is.

To learn more about the Placeholder DataControl, see the following tutorial
http://www.oracle.com/technetwork/developer-tools/jdev/ccset20-all-097735.html

For UI design:
http://st-curriculum.oracle.com/obe/jdev/obe11jdev/ps1/adf_richclient/adfrichclient.htm

Frank

Be the first to comment

Comments ( 0 )
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.Captcha