October 2008

ADF BC Tuning I: Entity Objects

This week’s post will be the first of a five-week series about an important but little-discussed topic: Tuning your business components for maximum performance. A lot of projects put very little effort towards business components tuning (usually nothing more than improving the SQL of expert-mode VOs), and because of this, a lot of developers new to the framework come away with the (false) impression that business components perform poorly. Business components actually perform quite well, so long as they’re properly tuned.

This week, I’m going to talk about tuning entity objects. Over the next weeks, I’ll cover associations, view objects, view links, and application modules.

Continue Reading »

ADF Business Components
Performance

Comments (1)

Extreme Reusability on Oracle Wiki

I’ve posted what is now very nearly an exact copy of my Extreme Reusability series (Part I, Part II) to the ADF Methodology section of the Oracle Wiki here. Why am I putting two separate copies up on the web?

Well, I’m going to use the copy on my blog as a version of Extreme Reusability that I have control over. I’m sure my understanding of the methodology will evolve over time, and I’ll continue to post updates as it does; I also hope that you all will continue to post comments on it here. The version on the Wiki, however, is, more or less, a donated snapshot to the community. All I particularly ask is that people maintain the links I’ve put in it to the two blog posts where I first laid the methodology out. Other than that, the content is fair game for anyone who has ideas, responses, etc.

I’m sick, so no actual substantive post this week–this’ll be it until next Monday.

Announcements
Architecture

Comments (0)

The Power of Properties II: The View Object

Hey, did you know that, even if you create a “Programmatic View Object” (rows populated programmatically, not based on a query), you can set “bind variables” for it? Neither did I until very recently. You can’t do it in the Create View Object wizard (because the Query page never appears), but once you’ve got that VO, you can indeed add bind variables in the editor.

“Why on earth would you want to do that?” you ask (or, at least, I imagine you asking). “Bind variables are meant to allow the application or user to specify bind parameters for a query, and a programmatic VO doesn’t have a query.” Indeed, that’s what bind variables are usually for, but here, I’m going to show you, at least in outline, how to use this feature to make the ultimate 100% declaratively customizable framework classes (one view object class, one view definition class) for view object definitions based on REF cursors (i.e., whose instances will call a package function to retrieve their row set, rather than execute a query).

Continue Reading »

ADF Business Components
Architecture
New in 11g

Comments (1)

Extreme Reusability, Part II

Last week, I introduced the ADF development methodology I’m proposing, “Extreme Reusability,” articulated its goals, and discussed the techniques of “Generalize, Push up, and Customize” and “Think Globally, Deploy Locally” that are critical to the methodology. I didn’t, however, describe the actual…well, methodology, meaning the development cycle prescribed by Extreme Reusability.

Notice I didn’t say the application development lifecycle. That’s because developing under Extreme Reusability, like developing under SOA, isn’t primarily about the creation of standalone applications. You should think of the development cycle for extreme reusability as part of an enterprise-wide effort.

Development under Extreme Reusability involves developing along three separate but interacting (and communicating–communication is absolutely vital under this system) tracks: framework development, service development, and application development. These tracks are assigned to different individuals on the team, in (at a guess–remember this is a proposed methodology) somewhere around a 20-60-20 division for a typical organization’s needs.

Continue Reading »

Architecture
New in 11g

Comments (3)