Coding Tips for ADF Business ComponentsAuthor: Steve Muench, ADF Development Team
This article is valid for ADF Business Components in JDeveloper 10g and beyond, as well as for Business Components for Java (BC4J) in JDeveloper 9.0.4 and earlier.
TestClient.java class in the example workspace provided here shows various ADF Business Components programming techniques. It's a simple console program that prints messages out to standard out. It is probably most useful to follow the code in the debugger step by step.
Some of the features that it illustrates are:
SQL_TRACEto capture SQL statement into a TKPROF-analyzable trace file on the server
Techniques.jwsworkspace, acknowledging any migration dialogs that might appear.