ADF Business Components

If you develop Java applications using data from a database, you will have to map Java objects to relational tables. Additionally, you’ll have to manage transactions and locking, and ensure adequate performance. Because this is a challenge for every Java developer, it is obvious that you should be able to draw on a framework to handle this, instead of building everything yourself. The open source community has produced a large number of more or less complete and robust frameworks for working with databases and Java objects, and Oracle has produced one as well: Oracle Application Development Framework Business Components.

To use Oracle ADF BC, you use wizards in JDeveloper to create:

  • An Entity Object for each table - responsible for CRUD operations.
  • A number of View Objects each pulling together information from one or more Entity Objects representing data views you need in your application.
  • Application modules that map to use-cases in your application and expose the data model, service methods and transaction management operations.
These objects make up the middle tier components of your application. You can access ADF BC programatically with Java code, but the overall ADF framework also provide easy binding of JSF (ADF Faces Components), JSP and Swing (ADF Swing) based user interfaces to ADF BC using the ADF Model layer.you can build both web and Java client applications based on the same middle tier.

Beyond offering an object relational mapping and persistence solution, one unique aspect of ADF Business Components is the event driven approach it offers to coding. ADF BC objects contain hook points for you to inject your code to augment specific operations. Similar to the events offered by Oracle Forms for example, ADF BC offers methods you can easly overwrite to add your behavior. Examples include pre and post commit, DML execution, new record creation and more.


The ADF framework - of which ADF Business Components is a part - is free with the Oracle Application Server. You can deploy ADF middle tier components to other application servers than Oracle, but in that case you will have to license ADF separately (at the same cost per CPU as an Oracle Application Server Java Edition).

Pro
ADF is a complete, solid framework that Oracle has been building and improving for many years. Oracle is using it for Oracle Fusion Applications, ensuring focus on both usability for developers and performance for end users.

Con
If you are building a Java application using a database, there is no reason not to use Oracle ADF. The licensing cost is negligible ($5,000 per CPU for an Application Server Java Edition) compared with the time you would have to spend to build even a simple O-R mapping framework.



bmaier
bmaier
Latest page update: made by bmaier , May 17 2009, 6:10 PM EDT (about this update About This Update bmaier Edited by bmaier

17 words deleted

view changes

- complete history)
More Info: links to this page
There are no threads for this page.  Be the first to start a new thread.

Related Content

  (what's this?Related ContentThanks to keyword tags, links to related pages and threads are added to the bottom of your pages. Up to 15 links are shown, determined by matching tags and by how recently the content was updated; keeping the most current at the top. Share your feedback on Wetpaint Central.)