Options for creating POC mockups in ADF

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
Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

logo
A blog maintained by the JDeveloper product management team. We'll use it to post announcements, occasional how-to's and any other relevant information around JDeveloper and ADF.

See other PM Blogs

Shay, Frank, Grant, Duncan, Chris, Steve ,Joe, Dana, Many more in our blog feed
Follow JDeveloper on Twitter and Facebook

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today