Vous êtes sur la page 1sur 3

The Oracle EBS Developer: June 2007 Page 1 of 3

Share Report Abuse Next Blog» Create Blog Sign In

The Oracle EBS Developer


Blogging my daily experiences as an Oracle e-Business Suite developer. Plus news, views, tips &
tricks on Oracle e-Business Suite customization and extension.

Saturday, 30 June 2007


About Me
OA Framework or ADF?
Andries Hanekom
Cape Town, South Africa
Check out Sara Woodhull's article on OA Framework and ADF.
I am an Oracle EBS consultant
Posted by Andries Hanekom at 8:00 AM 0 comments
with more then 12 years of
experience using Oracle products
and technologies, starting my
Wednesday, 20 June 2007 career as a DBA and currently
specializing in Oracle EBS
OAF Key Do's and Don'ts (Part 1) - "Top 10" Golden Rules extensions and custom
development utilizing the Oracle
I don't know how many of you have come across this in the OAF Devguide, Applications Framework. The
it was only by change that I found it, thought I'd share: views expressed are my own and
not necessarily those of my
employers and there affiliates. The
There's a lot to learn when getting started with the OA Framework, but the
views and opinions expressed by
following list of rules are so universal -- and so fundamental -- they should
visitors to this blog are theirs and
be familiar to anyone who's doing Framework development. do not necessarily reflect mine.
View my complete profile
1) ALWAYS try to declaratively define your UI. Resort to a programmatic
layout only if the UI cannot be implemented declaratively. Programmatic
layouts are difficult to customize (they don't leverage the Personalization
My Links
Framework) and may diverge from the UI Guidelines over
time. View Andries Hanekom's

ESolution Software
2) NEVER change your UI layout properties in processFormRequest().
ALWAYS make changes in processRequest(), even if that means handling
an event in processFormRequest() and then redirecting back to the same Blogs I Like
page. This ensures that the web bean hierarchy is in a stable state when the
Gizmodo
page renders.
Steven Chan

3) NEVER use index numbers to find beans when you want to change their Tom Kyte

properties. ALWAYS search by name. Index numbers can change during


processing.
Blog Archive
4) NEVER change the properties of a parent bean from a child bean. This is ► 2008 (1)
a poor design practice that hampers reuse while introducing fragile code ▼ 2007 (6)
(particularly if the child code executes too late in the page rendering cycle to
► July (1)
properly affect the parent).
▼ June (2)

5) NEVER instantiate Beans using "new OA*Bean()". ALWAYS use the OA Framework or ADF?
createWebBean() factory methods available on the OAControllerImpl class. OAF Key Do's and Don'ts
Not all Bean properties are initialized correctly when you use "new." (Part 1) - "Top 10"
Golden...

6) NEVER create Form Beans in code (this means NEVER add nested ► March (3)
Form beans to a page; your Page Layout region should be the only form
region). Multiple form Beans on a page are not supported and can result in ► 2006 (10)
strange runtime behaviors.

http://andrieshanekom.blogspot.com/2007_06_01_archive.html 19-09-2010
The Oracle EBS Developer: June 2007 Page 2 of 3

7) NEVER count on your Application Module using the same database


connection in subsequent requests. For example, NEVER post and commit
in separate requests. For performance reasons, the Framework will start
pooling and reusing connections in 5.7 instead of holding onto a single
connection throughout the life of an Application Module.

8) NEVER use JDBC directly unless you're calling a PL/SQL routine (you
should use a view object instead, and if possible, the view object should be
defined declaratively and not programmatically).

9) NEVER add member variables UNLESS THEY ARE TRANSIENT OR


FINAL to view objects, Controllers, entity object, view rows and Application
Modules.

10) ALWAYS adhere to the Self-Service Performance Guidelines


Posted by Andries Hanekom at 6:36 PM 0 comments

Newer Posts Home Older Posts

Subscribe to: Posts (Atom)

in.messenger.yahoo.com Ads by Google

Picture Window template by Josh Peterson. Template images by mariusFM77. Powered by Blogger.

http://andrieshanekom.blogspot.com/2007_06_01_archive.html 19-09-2010
The Oracle EBS Developer: June 2007 Page 3 of 3

http://andrieshanekom.blogspot.com/2007_06_01_archive.html 19-09-2010

Vous aimerez peut-être aussi