Java 1.4 Logging API

When the Java 2 SDK version 1.4 is released, it will be the first time that logging has been a part of the core language. Although the API does seem to be missing some key features, it does have all the necessary essentials that an enterprise application might need. In some respects, it’s similar to the API discussed previously in this chapter.

Several types of logging handlers will be present in the logging API. The types of logging available are

  • Logging to OutputStreams

  • Logging to the System.err

  • Logging to files

  • Logging to sockets

  • Logging to memory

As with just about everything else in the Java language, you’ll be able to plug in logging APIs from other vendors if you need more than what’s provided in the 1.4 release.

Get Special Edition Using Enterprise JavaBeans™ 2.0 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.