- A-Z Bookstoreから対象商品を1個以上購入すると、それぞれ5%割引になります。 レジでコードAZBOOKSTORE5を入力してください。 詳細はこちら (細則もこちらからご覧いただけます)
Logging in Java With the Jdk 1.4 Logging Api and Apache Log4J (Books for Professionals by Professionals) ハードカバー – 2003/4/15
Kindle 端末は必要ありません。無料 Kindle アプリのいずれかをダウンロードすると、スマートフォン、タブレットPCで Kindle 本をお読みいただけます。
Logging in Java with the JDK 1.4 Logging API and Apache log4j is the first book to discuss the two foremost logging APIs: JDK 1.4.0 logging API and Apache log4j 1.2.6 logging API for application developers. The internals of each API are examined, contrasted, and compared in exhaustive depth. Programmers will find a wealth of information simply not available elsewherenot even on the Internet.
Each concept explained is accompanied by code example written in Java language. The book also provides guidelines for extending the existing logging frameworks to cater to application-specific needs. This is an essential handbook for logging-related information and techniques needed for developing applications in the Java language.
Samudra Gupta has more than eight years of experience in Java- and J2EE-related technologies. At present, he is working as a Java/J2EE consultant in the United Kingdom through his own company, SSG Solutions Ltd. His domain expertise is in the public sector tax and information content management systems, retail industry, and e-commerce-based applications. He holds a post-graduate degree in information technology and management form All India Management Association, New Delhi. Gupta actively contributes articles to Web sites, magazines, and journals such as JavaWorld and Java Developer's Journal, and is a monthly contributor to JavaBoutique. When not programming, he loves playing contract bridge and 10-pin bowling.
The prose is difficult to follow, the examples not-quite-lucid, the editing noticeably poor. The advice and analysis may not have ever made a lot of sense, but certainly by today's logging standards is off-base. (Treatment of Commons Logging is barely there, despite it being a prevalent logging framework API binding layer. Treatment of alternatives to Log4J addressing some of its classloader complexity is nonexistent. Logging considerations in application containers is absent.)
As much as I despise the pay-for-documentation model of monetizing open source, I have no alternative but to recommend that persons looking for a logging book purchase the log4j PDF, which is more comprehensive, more useful, and better edited than this unhelpful little volume. The log4j PDF largely treats no topics other than log4j, but it treats log4j very effectively. The book reviewed here attempts and fails to treat a broader range of topics.
The book is very well written. The author does a nice job of combining the discussion with code examples to make the topics clear. He uses UML diagrams appropriately to help the reader understand how a log request flows through the many classes. He clearly explains each of the classes in the logging frameworks and how to properly use them. The discussion of log4j ends with a chapter on the log tag library written for use with JSPs.
Overall this is a very good book. If you are doing no more than very basic logging then this book is probably a lot more information than you need. But if you want to incorporate logging into your development projects in more than just a very basic way or if you are interested in comparing in detail the two APIs, you will find this book useful.
What we really need is a practical bridge between javadocs and this book, which is a high level academic overview.
I should have just gotten "The complete log4j manual", but I thought this might have been more extensive. I was wrong.
The only reason it is a 4 star to me is that there can be more on practical application of logging such as in EJB and all.