Book Review : Oracle ADF Enterprise Application Development – Made Simple

On my way to Los Angeles (Long Beach) for KScope 2011 (12 Hours in an airplane) I had plenty of time to do some reading and writing.The book I read was an only very recently (june 2011) published ADF Book. This is not a technical deep dive into ADF, but it focuses on the process of application development.
Image

The book is written by Sten Vesterli an Oracle ACE Director and it is absolutely a good read.

When reading I found myself in an environment that I recognize from the many ADF projects that I have been involved in. Many of the questions that newbie ADF Developers have are answered in this book. The book describes the development process, starting with an ADF PoC, all the way to testing, packaging and delivering the application to the end users. You also get hints on how to find more info via google. This might actually work better then providing direct URL’s for reference.
Here’s a short overview of the content.

Chapter 1: The ADF Proof of Concept

The proof of concept chapter gives a brief ADF Primer. Next you learn about how to setup a Proof of Concept for ADF and what goes in that Proof of concept. The chapter continues with actually guiding you through the Proof of Cobcept. While reading you learn how to build your first ADF application, in order to convince your boss that <quote> ADF has what it takes to build the next generation” <end quote>.

Chapter 2: Estimating the Effort

How much will it cost and how long will it take. Boy, do I get that question a lot. Luckily I know by now but I had to find out the hard way. Chapter two provides you with some guidelines on how to make an estimate that is as accurate as possible. A valuable remark is the one where Sten tells you to take only 50% efficiency for every one as long as you don’t have any reliable data on efficiency. Gather that data during your first ADF Projects.

Chapter 3: Getting Organized

When starting on ADF, organizing the team an be tricky. In this chapter Sten describes what expertise is nesecary in an ADF project. You will also learn about the tools you need. No not JDeveloper, but tools like versioning tools, issue tracking tools, tools for collaboration and tools for automating builds. Finally there is a part dedicated to naming conventions.
The part on Graphics User Interface Designers refers to the ADF Rich Client online demo, where they can see how ADF RC components work. Sten doesn’t mention the Visio Stencils provided by oracle at the sample code site. You might want to take a look at these visio stencils. I blogged on this on my personal Blog. You can find that post here http://lucbors.blogspot.com/2011/03/adf-11g-ui-designer-meets-adf-developer.html. These also can give you a helping hand when designing the User Interface.

Chapter 4: Productive Teamwork

This chapter talks about team work, and how you can use the JDeveloper Oracle Team Productivity Center Extension. This makes it very easy to work in a team where not all developers are actually working at the same physical location (hint hint 😉 ). The final part covers the use of subversion from within JDeveloper.

Chapter 5: Prepare to Build

First time that I actually hear (or in this case read) someone say out loud that you should base all your taskflows on taskflow templates. Finally it is written down somewhere. It is something that I strongly advise as well. Read more on this in the first pages of chapter 5. Chapter 5 continuous with more on templates and framework extension classes. You really learn what you need to setup before you can start building. And believe me, you don’t want to be found in a situation where you have to create extension classes after you started building your app.

Chapter 6: Building the Enterprise Application

This chapter describes how to use Framework extension classes that you created in the previous chapter, and how to create and use ADF Libraries for both Model and ViewController (read Taskflows). Read the remark on page 161 very carefully, and don’t you ever forget that remark. I ran into the issue several times, and i t can be very hard to resolve this issue. It is very good that this note is in the book. I’ve never seen this in any book before, and I think you can’t even find it on the forum. The ADF_EMG discussed the issue briefly I think. The chapter also describes how to bring together all Taskflow libraries in the MasterApplication, and how to work with menu’s, dynamic regions and how you can switch between taskflows in this dynamic region.

Chapter 7: Testing your Application

The testing part. Why test software anyway ? Read it and weep. You will learn how to create test for all parts and aspects of your ADF Application. From Business Components with JUnit, to the ADF Faces part with Selenium (which in fact is a very nice tool as long as you don’t use browser popup like the ones invoked by the old fashioned ADF Dialog framework). Also read how to test passivation / activation, and how to use JMeter for stress testing.

Chapter 8: Look and Feel

This chapter is largely devoted to the new Visual Skin Editor, which was released just in time to make it into the book (although based on a pre production release but that doesn’t make it less interesting at all. Also worth mentioning is the passage about resource bundle skinning. Not many starting ADF Developers know that you can actually adjust built-in labels by using this technique.

Chapter 9: Customizing the Functionality

Learn how to use MDS for customization.

Chapter 10: Securing your ADF Application

Here Sten describes how to implement security. Especially the part on “implementing data security” is a valuable section. Also the usability hint on page 313 is nice. Use the #{securityContext} to toggle the visible and/or rendered attribute.

Chapter 11: Package and Deliver

The use of ANT and ojdeploy is described very well. The downside of using ojdeploy is printed in the note at page 338. I have had some customers that didn’t want me to do that at all What strikes me however is that Maven is not mentioned at all in this chapter. As a matter of fact, Maven is only mentioned once in the book, on page 99, where you can find the URL (http://maven.apache.org ) I know that at the time of writing Maven support was not yet integrated in JDeveloper, but neither was the Visual Skin Editor that was described in chapter 8. I really think this is a missed chance. You must try and read some docs about Maven.

Appendix: Internationalization

In the final chapter, or appendix, you learn how to internationalize (i18n) your application. I’m still wondering why this is an appendix instead of a ‘normal’ chapter.

Conclusion.

All in all this is an excellent book, or even better ‘a must read’, if you are about to develop your first (or even 2nd or 3rd) ADF enterprise application. It really helps you to understand how to approach ADF enterprise application development.
By reading this book, it doesn’t get simple but sure becomes a lot less complicated. Thanks Sten for writing this for all of us out here. All in all an excellent addition for the ADF Book Shelf.

One Response

  1. Satish August 2, 2011