-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Developing Web Applications with Oracle ADF Essentials

Beginner programmers tend to litter their code with System.out.println()
calls because that's the print
statement used in the ubiquitous "Hello World" examples. As programmers gain experience, they tire of having to remove all of these statements before putting code into production and start using a proper logging framework.
There are several options for logging in Java—some of the most well-known are log4j
and Logback
. However, in an ADF application, it is recommended to use the ADFLogger
.
The ADFLogger
can write its log output in Oracle Diagnostics Logging (ODL) format that can be read and analyzed by both the developer (in JDeveloper) and by a WebLogic administrator (using Oracle Enterprise Manager Grid Control). If you are running your application in GlassFish, your operations people do not have grid control. However, since ADFLogger
offers all necessary logging functionality, it makes sense to use this logging framework just in case your application will some day be deployed...
Change the font size
Change margin width
Change background colour