Java Examples in a Nutshell is chock full of practical real-world Java programming examples. The author of the bestsellingJava in a Nutshell has created an entire book of example programs that you can learn from and modify for your own use. If you learn best "by example," this is the book for you.This book is a companion volume to Java in a Nutshell. WhileJava in a Nutshell is a quick-reference at heart, it also includes an accelerated introduction to Java programming. Java Examples in a Nutshell picks up where that book leaves off, providing a suite of example programs for novice Java programmers and experts alike. This book doesn't hold your hand or supply detailed explanations of Java syntax or method calls; it simply delivers well-commented working examples that help you explore the wide range of what is possible with Java 1.1. Each chapter concludes with programming exercises that suggest further avenues for building on what you have learned.Java Examples in a Nutshell contains all of the example programs from the first edition of Java in a Nutshell, completely updated for Java 1.1. In addition, the I/O, networking, and GUI chapters have been augmented to include even more practical examples. It also expands on the examples from the second edition of Java in a Nutshell that demonstrate the new features in Java 1.1, including the new AWT event handling model, the JavaBeans API, internationalization, object serialization, and reflection.In addition, this book provides never-before-published programming examples for remote method invocation, database connectivity, and security -- important elements of the Java Enterprise APIs. Finally, the book offers a glimpse of the features of "Swing," the set of new components that are part of the forthcoming Java Foundation Classes (JFC).
David Flanagan looks to be trying to corner the market in Java titles.
Java Examples in a Nutshell is his fourth and is designed to be read in conjunction with the earlier books in which he says, it proved impossible to include all the example code he would have liked.
Like all good coding books it starts with "Hello world", used in this case to illustrate how to correctly set up your Java environment. After a few more basic examples there is a set of exercises which test your grasp of the material. From then on Flanagan tends to refer you to other books in the series to provide background and reference material relevant to the examples under discussion--a great marketing tool. In practice, any basic Java reference will provide this information. What they won't do is provide so many or such well thought out code examples for you to play with.
After the first few chapters you will be glad all the code is available for download as the examples become longer and more complex with ever less text between them. The simple Web browser example alone goes on for many pages.
Despite starting at the absolute beginning Java Examples In A Nutshell goes to the limits with sections on using RMI, JDBC, XML, servlets, JSP and lots more. It covers GUI programming, sound, encryption, internationalisation and other technologies essential for creating practical programs--all with exercises to ensure you really do understand.
While Java code is available from many Net sites the combination of organisation, examples and exercises make this a massively useful book for any budding or working Java programmer. --Steve Patient