首页 新闻 论坛 群组 Blog 文档 下载 读书 Tag 网摘 搜索 开源 FAQ 第二书店 博文视点 程序员
频道: 研发 数据库 中间件 信息化 视频 .NET Java 游戏 移动 服务: 人才 外包 培训

       
热门搜索: ASP.NET Ajax Spring Hibernate Java
Amazon 翻译:也许仅仅适合初学者
 
2007-2-24 22:30:41     来自: Lycinefo   
评论: Robust Java 中文版——Java异常处理、测试与调试   
  【原书评内容】
Maybe OK for newbies

Unfortunately I am disappointed with this book. I guess I had high hopes that it was going to provide a lot of information that I didnt know and principles (backed by examples) that would help me learn some really valuable exception handling patterns.

Im not sure who the intended audience is. The book is probably ok if you are relatively new to Java and its exception handling features, but on the whole it did not add much to my skill set. But then there are also a couple of sections that reference concepts from Servlets/JSP and EJB, so if you are a newbie you might be confused.

In my opinion most of the book covers basic topics that you will already know or just as easily get from the API docs. For example, chapters 7-9 (130 pp.) talks about 'core' Java classes, Collections, I/O, distributed APIs, and J2EE. It describes the various types of exceptions that can occur and what they mean. Unless you dont know how to read the javadocs, there is no new, useful info there.

It also seems to lack focus throughout. Too much of the book covers material outside of the scope of exceptions. For example, it discusses common software patterns and then just throws in a couple of sentences about exception handling to tie it back in. However, for the most part the exception handling techniques are not described well enough and lack thorough, concrete examples.

I wish the author would have made chapter 12, exception handling patterns, the bulk of the book. Then maybe I would feel closer to the books claims of 'Master application-wide exceptyion handling startegies' and 'Learn proven design patterns for handling exceptions in code'.

Maybe I was just expecting too much. After reading the books description I was expecting something like 'Core J2EE Patterns' for the exception realm - something that would get me excited about applying a bunch of new patterns/techniques. But I really got a book of general information.

If you already have a solid grasp on exceptions (e.g. concepts like chaining, when to handle vs declare, custom application exceptions, multi-tier environments, etc) then I dont recommend this book.

【翻译内容】
也许仅仅适合初学者

很不幸,我对这本书感觉很失望。也许是应为期望值过大,想着此书会提供很多我不知道的信息以及有价值且能帮助我学习异常处理(exception handling)模式的原理(并且还会通过例题来解释)。

我不确定作者是打算给那一类的读者写的。虽然这本书对JAVA及其异常处理特征的初学者来说还算适用,但总得来说我从中并没有得到什么太大的长进。而且书中有几节是参考Servlets/JSP 与 EJB 的概念,这对初学者来说似乎有点杂乱无章。

我认为书中的大部分内容包括的要么就是你很可能已经知道的,要么就是从API文档中轻而易举就能掌握的几个基本话题。比如,第七章至第九章(130页)讲的是关于JAVA的那几个核心(core)类,Collections, I/O, Distributed API, 以及J2EE。 书中还描述了多个可能出现的异常种类的含义。除非你不会看javadoc,否则此书中没有什么新的,有用的信息。

整本书看上去还缺乏焦点。有太多的内容都超出了异常处
 
此评论对0人有用 对你 有用   没用      
2007-2-24 22:38:56: Lycinefo
整本书看上去还缺乏焦点。有太多的内容都超出了异常处理的范围。比如当它在讨论一些常见的软件模式时会靠突然扔进几句关于异常处理的话来跳回主题。无论如何,这本书总

得来说并没有很好地解释异常处理,尤其是缺乏透彻,具体的范例。

我真希望作者能够把第十二章,异常处理模式,作为全书的主要内容来讲解。只有这样我才会觉得此书离其所声称的“精通应用程序异常处理策略”和“学习编码中异常处理的确凿设

计模式”口号距离能近一些。

也许只是因为我期望得过高。当我读过此书的介绍后我期望的是“异常领域中的J2EE核心模式(Core J2EE Pattern)” 或是至少能令我兴奋的一些新的应用模式或技巧。而我却得到只是一

本总说明书。

如果你已经对异常有了一定的了解(比如类似于链接(chaining),什么时候handle什么时候declare,Custom Application Exceptions,Multi-tier Environments,等)那么我不推荐这本书。
您的回应。。。。。。
验证码:   请先登录再留言