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:16:40 PM.)
Tips and tricks from Steve Muench on Oracle ADF Framework and JDeveloper IDE

Search blog with Google:
 

Search BC4J JavaDoc:
 

March 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    
Feb   Apr

Get Firefox!

Wednesday, March 30, 2005

Infoworld has published their latest Java IDE evaluation: Four Java IDE's Duke it Out

JDeveloper 10g scores a "Very Good" rating. Some nice quotes in there about Oracle JDeveloper 10g:

  • "Oracle eschews Borland and IBM's model of multiple, role-based versions and touts one high-end product at a single low price"
  • "The company uses its own GUI, which has an intuitive design that steps around much of the screen clutter of other IDEs."
  • "The interface has another aspect I especially like: It is the only product that feels snappy. With JDeveloper, I feel as though I am working in a taut, highly responsive environment."
  •  If price is a factor at all, then Oracle is the hands-down winner."
  • I suggest that you begin with the Oracle product, which is the easiest to install and, in most cases, will provide most of what you need."
  • "... it is a good point to start any evaluation."

 


10:07:19 PM    



I am working this week, among other things, on putting the finishing touches on the ADF Toy Store whitepaper that will accompany the updated 10.1.2 release of the demo. Some of the interesting things in the 10.1.2 update to the demo are:

  • A new ADF UIX view layer (with custom UIX skin giving the same look and feel as the JSP version)
  • Various changes to incrementally improve performance under stress testing
  • Fixed some reported bugs in the demo
  • Documented the new stuff in the accompanying whitepaper

The cool thing is that the controller, binding, and business service layers were able to remain virtual identical between the two view layer implementations.

 


8:07:32 PM    


Over on OTN forum user 233824 asks an interesting question about how to feed a view object an incoming XML document like:

<EmpView>
  <EmpViewRow>
  <Empno>101</Empno>
    <Ename>STEVE</Ename>
    <Dname>ACCOUNTING</Dname><!-- NOTE: No Deptno value! -->
  </EmpViewRow>
</EmpView>

and have the view object lookup the referenced department number based only on the supplied department name.

I've cobbled together not yet documented example #30 (Looking Up Referenced Deptno Given Only the Referenced Dname) to illustrate how to do it.

This example contains an EmpView that joins editable information related to an Emp entity object, and reference information related to a Dept entity object. It illustrates the overrides necessary to permit a user to type in the Dname of the related department and to have the application lookup that department by name and set the appropriate department foreign key attribute automatically. The TestClient.java program exercises the EmpView view object by "feeding" it an XML message containing a value for Empno, Ename, and Dname, then illustrates that the readXML() API can be used either to create a new row or update an existing row. Finally, it uses the writeXML() API to print out the XML for that new row and show how the related department information like the "Loc" value has been looked up by the built-in ADF view object reference mechanism. See the DeptDefImpl.java class for an example of a custom entity definition class that provides alternative lookup methods to the built-in findByPrimaryKey(). The overridden EmpViewRowImpl.java class uses this lookup method in its setDname() attribute to perform the lookup necessary.


5:58:54 PM    


Oracle Education is offering the Oracle JHeadstart 10g for ADF workshop the week of April 11-15 in the Netherlands. More information here. I took this workshop when it was offered for internal Oracle consultants a couple months back and it was well worth the time. I blogged about it here, here, here, and here.


10:24:16 AM    


© Copyright 2008 Steve Muench.