zoukankan      html  css  js  c++  java
  • [ZZ]The Essential Java Language Library

    还有一篇文章也是关于Java语言相关书籍的,推荐大家阅读。作者认为,这些资源对于读者来说,就是是空气一样(The resources you need like you need air),足见他对这些书籍的推崇。

    Information overload is a real problem for Java™ language developers. Every new programmer is confronted by a daunting challenge to enter a profession with a huge body of knowledge. There is, quite literally, too much to know. The situation improves only slightly for an experienced practitioner. The body of knowledge grows all the time, and just keeping up is a challenge. Wouldn't it be nice if there were a list of the books and Web sites that you must have as a professional? This article is that list. It contains the most important books and Web sites every professional Java language programmer needs on the bookshelf or bookmarked in the browser.

    These are the books that must be on your bookshelf, and the Web links you should use often. Time is a vital resource, and this article should help you bypass the distractions and focus on the sources of information that are most likely to improve your life as a Java language programmer. While there are as many "favorites" as there are programmers, this collection represents best of the best, gleaned from my own well-stocked bookshelves as well as from the recommendations of many Java experts.

    I considered two possibilities for organizing this list of resources. I could have organized the resources by topic area,which may have been helpful, but the list of topics would've gotten unwieldy quickly. Instead, I chose the alternative of organizing the resources by type, books and Web sites.

    Generally speaking, experienced practitioners keep up with the industry using Web sites. Books, articles, and papers can help in the fight to keep up, but they're generally geared more toward foundational learning. That said, every once in a while a groundbreaking book comes along that shakes a foundation or two. Those are on the list also.

    One caveat bears mentioning. The number of Java language focused books and Web sites is immense. Your personal favorites might not be on the lists here. That doesn?t mean they aren?t good. They simply didn?t make the list. In some cases, that?s because I didn?t know about them. In others, it?s because I didn?t think they qualified as essential resources. It is a matter of judgment to exclude some resources, but otherwise the lists would take hours to scroll through, and you would have to spend thousands of dollars on books. If you have excellent resources that you use very often as a professional programmer, by all means let me know. As this list evolves over time, yours might end up on it.

    Books
    Every programmer has certain books that he or she wears out by constantly referencing them as a professional. The following books should be on every Java language programmer's bookshelf. Books can be expensive, so this list is intentionally small, limited to the critical ones.

    Thinking in Java (Bruce Eckel)
    Thinking in Java, 3rd edition (Bruce Eckel; Prentice Hall PTR, 2002)
    Eckel's book is an extremely practical book for learning about how to use object oriented well in a Java language context. Lots of code samples illustrate the concepts as he introduces them. The text is absolutely practical, from a person who doesn't think Java technology is always the right answer. Eckel has lots of experience with lots of languages, and has solid object oriented thinking skills. This book puts those skills in a practical Java language context. He?s also working on a new book called Thinking in Enterprise Java.

    Effective Java (Joshua Bloch)
    Effective Java: Programming Language Guide (Joshua Bloch; Addison-Wesley, 2001)
    This the best book for understanding the principles from which good Java programs are designed. Most of this material is not to be found in other "learning to Java" books. For example, Bloch's chapter on overriding equals() is one of the best I've ever read. He also includes practical advice on using interfaces instead of abstract classes, and using exceptions intelligently. Bloch was Sun's Java platform libraries architect, so he knows the language from the inside out. In fact, he wrote lots of the useful libraries included with the language. This is a must-read.

    The Java Programming Language (Ken Arnold, James Gosling, David Holmes)
    The Java Programming Language (Ken Arnold, James Gosling, David Holmes; Addison-Wesley, 2000)
    This is probably the best Java language primer book available. It?s not a formal specification, but a readable introduction to each language feature. It has the right balance of rigor and pedagogy, enabling someone who understands programming to wrap their head around the Java language (and its copious class libraries) quickly.

    Concurrent Programming in Java: Design Principles and Patterns (Doug Lea)
    Concurrent Programming in Java: Design Principles and Patterns, 2nd edition (Doug Lea; Addison-Wesley, 1999)
    Not every developer needs to know about concurrency in such detail, and not every engineer is up to the level of this book, but there's no better survey of concurrent programming than this. If you?re interested, this is the source. Lea is a professional programmer at SUNY, and his work and ideas related to concurrency have been included in the JDK 5.0 spec (from JSR166), so you can be sure what he has to say about using the Java language effectively is worth listening to. He's a good communicator as well.

    Expert One-On-One J2EE Design and Development (Rod Johnson)
    Expert One-On-One J2EE Design and Development (Rod Johnson)
    For newcomers to J2EE, this is the only book that really tells it like it is. This book is the result of years of experience of what works and what doesn't, and unlike a lot of other authors, Johnson is willing to say what doesn't. J2EE is often used when it's unnecessary overkill. Johnson's book can help you avoid that.

    Refactoring (Martin Fowler, Kent Beck, John Brant, William Opdyke, Don Roberts)
    Refactoring: Improving the Design of Existing Code (Martin Fowler, Kent Beck, John Brant, William Opdyke, Don Roberts; Addison-Wesley, 1999)
    Fowler has written some of the most popular programming books ever published, including Analysis Patterns. His book on refactoring is the seminal work on the subject. Refactoring code is a neglected programmer discipline, but an intuitive programmer idea. Refactoring is improving the design of existing code without changing its results. It's the best way to keep your code clean, which keeps it easy to change over time. When do you refactor? Whenever your code 'smells'. Fowler?s book is full of example Java language code. Many Java language integrated development environments (IDEs), including IBM's Eclipse, incorporate Fowler's refactorings, using his names for each one, so it pays to be familiar with things like extract method.

    Design Patterns (Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides)
    Design Patterns: Elements of Reusable Object Oriented Software (Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides; Addison-Wesley, 1997)
    This is one of the more famous books among professional programmers, and has become known as "the Gang of Four (GOF) book," based on the collective nickname of the authors. Patterns are reusable ways of thinking about and solving common programming problems. Learning patterns is a discipline. Using them well (or knowing when not to use them) is a skill. Ignoring them is a mistake. All of the examples in the book are in C++, but the Java language was born from that world, and it?s relatively simple for Java language programmers to relate to how to implement the patterns in the Java language. Being familiar with patterns, and knowing how to use them well, makes programming easier. It also makes communicating with other programmers easier, because patterns are a shortcut way to describe lots of related programming concepts that work together in a common solution to a common problem. Some of the more common ones, like Factory Method, are ubiquitous, even in the Java language itself. On the subject of using patterns wisely, you also might want to read Joshua Kerievsky's Refactoring to Patterns, which says you should let your code tell you when to implement a pattern.

    Patterns of Enterprise Application Architecture (Martin Fowler)
    Patterns of Enterprise Application Architecture (Martin Fowler; Addison-Wesley, 2002)
    Enterprise development certainly presents more challenges than small, one-off projects. That doesn?t mean that all enterprise development challenges are new. In fact, more often than not, it has been done before. In many cases, Fowler's worked on projects that did it. His book talks about some of the common solutions, and offers guidance on usage, compromises, and alternatives. Fowler includes some familiar patterns here, such as Model View Controller (MVC), but he also includes some that may be new to you, like Page Controller for handling requests for specific pages or actions on a Web site. As with most patterns, once you read many of them, you think, 'I knew that already'. Perhaps, but it helps to have a common presentation of the pattern to refer to. That kind of reference is a superb help on large projects with multiple components developed by different people.

    UML Distilled (Martin Fowler)
    UML Distilled: A Brief Guide to the Standard Object Modeling Language (Martin Fowler; Addison-Wesley 2003)
    UML is an important common visual communication language for professional programmers, but it's overused and grossly abused. You don't need to know much to communicate with UML. Martin's distillation gives you the essentials. In fact, the inside front and back covers give you almost everything you'll ever use on a regular basis. All of the code behind the UML examples in the book is Java code.

    Test-Driven Development: By Example (Kent Beck)
    Test-Driven Development: By Example (Kent Beck; Addison-Wesley 2002)
    Test-first programming will revolutionize your programming, and can help you become one of the better programmers out there. Writing tests before you write code is an initially awkward, but powerful development skill. By writing tests first, you can keep your code simpler, and you can be sure it works from the start (practicing what he preaches, Beck co-wrote JUnit, the most prevalent testing framework for the Java language, test-first). Beck?s book is the definitive source, and the extended Money example is in the Java language. Beck walks through how to think test-first, which can be an initial barrier for many programmers.

    The Pragmatic Programmer: From Journeyman to Master (Andy Hunt and Dave Thomas)
    The Pragmatic Programmer: From Journeyman to Master (Andrew Hunt and David Thomas; Addison-Wesley 1999)
    Being an object oriented purist has its advantages. In today?s complex world, you often have to compromise in order to get things done as a Java language developer. The guiding principle is to be pragmatic. Hunt and Thomas talk about how to do that, without compromising what?s really important. This isn?t a Java language book, but it?s a critical mindset book for Java language developers. For example, I don't know of a single programmer who couldn't benefit from the admonition to "fix the problem, not the blame" and to sign your work like a proud craftsman.

    Peopleware: Productive Projects and Teams (Tom DeMarco and Timothy Lister)
    Peopleware: Productive Projects and Teams (Tom DeMarco, Timothy Lister; Dorset House, 1999)
    All of the other books on this list are at least somewhat technical. This one is not. In all of the technical jargon, and in the sea of acronyms, sometimes software developers and managers forget that people make software. DeMarco and Lister remind us of that fact, and why it should make a difference. This isn?t a book about a particular programming language, but every Java language programmer should read it. There are other good books about how killing programmers is counterproductive for managers, but this is one of the best.

    Web sites
    There are more Web sites than you could visit in a lifetime, that is, if you wanted to digest any of their content. An exhaustive list of sites with content about some aspect of the Java language would be ridiculously large. The following sites are tried and true.

    Sun's Java Technology site
    Sun's Java language site
    This is Sun?s main Java language site. You will find yourself visiting this site very frequently as a Java language developer. The following links are particularly important, especially to new Java language developers:

    • New to Java Center
      New to Java Center
      The New to Java Center is a good clearing house for step-by-step links to Java technology resources. If you're new to the language, this is a great place to start.
    • Tutorials and Code Camps
      Java Tutorial
      The infamous Java Tutorial is here, along with other tutorials on various aspects of the Java language (such as Collections).

    IBM developerWorks
    IBM's developerWorks
    This may seem shameless self-promotion, but developerWorks is a great resource for tutorials and articles about Java language tools and techniques. Content ranges from a beginner's guide to learning the language, to advanced concurrency techniques. You can search content by topic, and can browse by type.

    The Apache Software Foundation
    The Apache Software Foundation
    The Apache site is home to many reusable libraries (in the Commons area) and tools to help Java developers. It?s all Open Source, so download what you want. Many extremely popular Java language libraries and tools (such as Struts, Ant, and Tomcat) began as Apache projects. The Jakarta area has most of the emerging Java language stuff.

    Eclipse.org
    Eclipse
    There are several good Java language integrated development environments (IDEs). Eclipse (from IBM) is one of the newest, and is rapidly becoming the premier IDE for Java language development. It?s entirely Open Source, which means it?s free. This site contains all sorts of resources for learning about how to use Eclipse effectively. It also has information about the Standard Widget Toolkit (SWT), a lighter weight alternative to Swing.

    Eclipse Plugin Central and EclipsePlugins
    Eclipse Plugin Central and EclipsePlugins
    Eclipse is based on a plug-in architecture. In fact, the Java language development components of Eclipse are plug-ins. But there are literally hundreds of plug-ins for everything from Web development to playing games within the Eclipse environment. These two sites list most of them, by category, and are searchable. They are excellent resources. If you use Eclipse, and want to do something new in your development environment, odds are good that there?s a plug-in for it, and that you can find it here. Both sites let people review the plug-ins, so you can get some information about which ones are good and which ones aren?t worth your time.

    JUnit.org
    JUnit.org
    JUnit is the seminal unit testing framework for the Java language. The site contains the latest and greatest version, plus a huge number of other resources about testing (in the Java language and others) at various levels, for desktop apps, Web apps, J2EE apps, etc. If you want to find testing resources, this is the best place to start.

    TheServerSide.com
    TheServerSide.com
    If you are (or will be) involved with Java language development on the server side, this site is a vital resource. You can find articles here on JBoss, J2EE, LDAP, Struts, and a host of other topics, and it?s fully searchable. They don't simply describe features of the Java language, or supporting libraries. They take it one step further to describe novel uses of libraries (such as using Jakarta's Velocity as a rules engine, rather than a templating engine). They also provide running commentary on the state of the Java language (a current article is titled Java is boring, by Tim Bray). One of the better common features of the site are matrix comparisons of Java language tools and products (application servers, etc.).

    Bruce Eckel's MindView, Inc.
    Bruce Eckel's MindView, Inc.
    Eckel wrote several books about "thinking in" the Java language, Python, and C++. His Thinking in Java was particularly helpful to me as I was learning the language. It?s practical and to the point, with excellent insights about how to think in objects in a Java language context. You can download free electronic copies of all of his books at this site. He also has written many good articles, and he?s got links to all of them here (including articles on Jython, Java vs. .NET, etc.).

    ONJava.com
    ONJava.com
    O?Reilley has published excellent books about programming languages and tools for years. Their Java-language focused Web site is just as good. It has articles on various Java language tools (like JDOM and Hibernate), different areas for different parts of the Java Platform (like J2SE and J2EE). It?s fully searchable. They have excellent articles and tutorials. The site is arranged by topic. Some examples include Java and XML, Java Security, Wireless Java, and Java SysAdmin. The site also has a link to the O'Reilley Learning Lab, where you can take online courses (Java language-related and otherwise). They aren't free, but many count toward college credit, so you get a convenient way to learn skills, and some credentials as well.

    java.net
    java.net Communities
    There are multiple "communities" here, with subject-specific forums and articles. For example, the Java Desktop community has all sorts of stuff related to Java language development for the desktop. The Java Patterns community might be of particular interest as a portal for pattern resources from a Java language perspective. There is also a community for Java User Groups (JUGs), where you can find information about creating, joining and running a JUG.

    Summary
    Any list of "good" or "critical" or "important" resources is bound to be incomplete. This one is no exception. The number of Java language books is huge and, of course, the World Wide Web is vast. There are many more resources for learning about the Java language than the ones in this article. But if all you had were the books, Web sites, and articles/tutorials mentioned here, you would have a practical library that could get you started well, and help you stay on track.

    In the end, becoming an increasingly capable and effective Java language developer is about working at it, getting your hands dirty and trying things. If there were a tutorial to walk you through every piece of software you need to create, you probably wouldn?t be paid very much. Sometimes you have to blaze your own trail. After you have successfully tried some new things, you may want to write an article, tutorial, or book to share what you have learned.

    Resources

    About the author
    Roy Miller is an independent software development coach, programmer, and author with over ten years' experience developing software and managing projects in challenging, fast-paced consulting environments. He began his career at Andersen Consulting (now Accenture), where he managed teams implementing systems ranging from mainframe billing systems to star schema data marts. He most recently spent three years using Java professionally at RoleModel Software, Inc., in Holly Springs, NC, where he acted as a developer and Extreme Programming (XP) coach. He co-authored Extreme Programming Applied: Playing to Win in the Addison-Wesley XP Series, and most recently authored Managing Software for Growth: Without Fear, Control and the Manufacturing Mindsetto help managers and executives understand why agile development methods like XP usually make more sense than traditional approaches. In 2003, he created his own company, The Other Road, to help companies learn how to transition to XP and to what he calls Extreme Business (XB).

    本文来自于ibm.com。
  • 相关阅读:
    测试报告M2
    11.24Daily Scrum(4)
    11.24Daily Scrum(3)
    11.24Daily Scrum(2)
    11.24Daily Scrum
    11.22Daily Scrum(2)
    11.22Daily Scrum
    Echarts中graph类型的运用求教
    Echarts学习求教
    用node编写自己的cli工具
  • 原文地址:https://www.cnblogs.com/A1240/p/167100.html
Copyright © 2011-2022 走看看