Dive into Oracle ADF

Send me a mail
 Dive into Oracle ADF   Click to see the XML version of this web page.   (Updated: 2/3/2008; 9:17:28 PM.)
Tips and tricks from Steve Muench on Oracle ADF Framework and JDeveloper IDE

Search blog with Google:
 

Search BC4J JavaDoc:
 

July 2005
Sun Mon Tue Wed Thu Fri Sat
          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
31            
Jun   Aug

Get Firefox!

Tuesday, July 19, 2005

I brought three thick books with me on my vacation:

Unfortunately, the first two were thick enough that I never got to the third one. I'll chip away at it in my limited before-bedtime reading over the rest of the summer... The two that I did read were worthwhile reading, though. While reading the second one I needed to come up with some fancy footwork to explain to my wife how reading a computer-related book was not "doing work" on my vacation, but ultimately we agreed to disagree on that point.

I've been aware of the Spring framework since it evolved from the best practices that Rod Johnson wrote about in his original Expert One-on-One J2EE Design and Development book in 2002, and have read various articles on it, but hadn't really gotten a full-breadth introduction to all its capabilities. Rob Harrop and Jan Machacek do a nice job, in a style similar to Tom Kyte who's books I also enjoy, of presenting the different features using examples that are truly minimalistic, letting you focus your attention on a particular capability. In the chapters that discussed different approaches to interacting with the database, it was interesting to see that while the book covers Hibernate, it mentions in several places that its authors find the iBATIS Data Mapper framework to be the one they recommend. Reading the iBATIS chapter I was quite struck by how similar it was to aspects of our ADF view objects, capturing SQL statements and column/attribute maps in XML (but we still make creating, updating, and deleting a lot easier with our view object to entity object collaboration).

I was hoping the book would also have covered the Spring 1.2 support for Oracle TopLink, to understand that interaction better as well, but I guess Pro Spring went to press too early to cover that. The book also didn't get much into web-tier state management or service bean pooling that I was hoping to learn about.

There are definitely a number of areas where technologies in the Oracle ADF framework are solving similar "application infrastructure" problems that Spring tries to tackle, too, often in similar lightweight, XML-configured, factory-created, dependency-injected javabean-based ways, but there are also a number of interesting built-in application-building functionalities (as well as the rich design-time support) that distinguish ADF. It's definitely true that Spring has taken a more generalized approach in places like the AOP support. ADF provides validation "advice" in the form of our validators, and it implements automatic transaction management, but without using a generalized AOP solution to implement it.

After doing some more experimentation, I hope to start writing up some thoughts on Spring and ADF to help people understand what synergies and differences there are. The thing that popped into mind while reading the book were trying to use ADF's JSR 227 data binding (and JDeveloper's visual IDE support for that) against a Spring-based data control. In a weekly team meeting that I'm dialed into right now, it looks like Duncan is already a step ahead of me and experimenting with this... Stay tuned...


7:44:01 PM    



I just saw this Gartner Group Recommendation pop into my blog reader as part of their analysis of our JavaOne announcements around JDeveloper:

Enterprises looking for a full-featured, solid and supported Java IDE: Consider JDeveloper for an enterprise Java development toolset and Oracle Fusion Middleware for a complete SOA platform.

Cool.


5:04:20 PM    


I got a question today from a user:

Is it possible/valid to call one application module from another, i.e. nesting application modules?  We're currently building the core components for our solution using ADF and want to keep the AMs small with logical functional groupings.  Several "root" AMs may access the same core AMs, e.g. to create a widget.  We don't want to duplicate this core logic in several root AMs.

I started a new Nested Application Modules blog article to help clarify the answer to his question. I'll update the article with additional information in the future if I see other recurring questions about nested application modules.


3:53:50 PM    


While I was out on vacation, the JDeveloperLA portal published an interview that I did with them both in Spanish and in English on questions they had about JDeveloper today and in the future...


1:21:17 PM    


© Copyright 2008 Steve Muench.