Editorial Reviews:
Java Examples in a Nutshell is full of real-world Java programming examples. The second edition of this bestselling book covers Java 1.3 and contains 164 complete, practical programs: over 17,900 lines of densely commented, professionally written Java code covering 20 distinct Java APIs, including Servlets, JavaServer Pages, XML, Swing, and Java 2D. David Flanagan, the author of Java in a Nutshell, has created an entire book of programs that readers can learn from and modify for their own use. This book is a companion volume to Java in a Nutshell, Java Foundation Classes in a Nutshell, and Java Enterprise in a Nutshell. While those books are quick references at heart, they each include accelerated tutorials on various Java topics. Java Examples in a Nutshell picks up where those books leave off, serving up a suite of example programs for novice Java programmers and experts alike. This book doesn't hold readers' hands or supply detailed explanations of Java syntax or method calls; it simply delivers well-commented working examples for exploring the wide range of what's possible with Java. Each chapter concludes with programming exercises that suggest avenues for building further knowledge. Java Examples in a Nutshell contains the following: - Examples that demonstrate basic Java functionality and the essential Java API's, including I/O, threads, networking, security, reflection, serialization, and security.
- Programs that use the graphical user interface and graphics features of Java, highlighting the Swing, Java 2D, printing, data transfer, JavaBeans, and applet APIs.
- Examples that illustrate key enterprise APIs in Java, including remote method invocation (RMI), database connectivity (JDBC), servlets, JavaServer Pages (JSP), and XML.
- An example index that lets users look up a programming concept or Java class and find any examples in the book that demonstrate that concept or use that class.
Aimed at those who have some previous Java experience, Java Examples in a Nutshell, 2nd Edition provides an outstanding collection of code samples that are designed to help you improve your programming skills--by studying code that works. With over 150 expert examples that illustrate a wide range of Java APIs, this volume definitely can bring your knowledge of Java to the next level. Many programming titles rely on code excerpts to illustrate key programming concepts. This book reverses that approach by emphasizing the code itself, enhancing it with introductory material and explanations. While some short examples illustrate simple algorithms (such as random-number generation and sorting), many of the examples are substantial: for example, how to create a multithreaded Web server, a proxy server, and even a simple Web browser (by using built-in Swing classes for a user interface). These longer examples occupy several pages; generally, they're well-commented models of coding clarity. This second edition adds extensive support for the Java 2 JDK 1.3 standard. Later sections provide sample code on most recent developments in enterprise APIs, including Swing, JDBC, and XML. This text concludes with one of the best short tutorials that you're likely to find anywhere on JSP and servlet programming, including excellent detail on deploying JSP-based Web applications. Although it's designed to be a companion title to Java in a Nutshell and other O'Reilly Java offerings, there's little doubt that this book stands on its own quite well. And, given the short exercises at the end of every chapter that help you expand your command of Java features and APIs, this is a worthy and up-to-date resource for all levels of Java programmers. --Richard Dragan Topics covered: - Library of Java 2 code samples
- A "Hello world" example
- Mathematical calculations and algorithms (the Fibonacci Series, factorials, prime-number generation, sorting, exception handling)
- Basic class design (classes for graphics, random numbers, and a linked list)
- Java file I/O (including opening, reading, and writing files)
- Filtering file streams
- Java threads and multitasking techniques
- Java networking classes (URLs and connections, sending e-mail)
- Sample code for custom Web servers and proxy servers
- Security and cryptography
- Basic internationalization
- The Java reflection APIs
| - Object serialization
- Swing user-interface design
- Code for a simple Web browser, based on Swing
- Tutorial for AWT and Java 2-D graphics
- Printing techniques
- Cutting and pasting data in Java
- JavaBeans (custom components, bean property editors, customizers)
- Applet basics (including JDK 1.0 event handling and JAR files)
- Remote Method Invocation (RMI)
- Sample code for a Multiuser Domain (MUD) server
- Database and JDBC programming
- Servlet and JavaServer Pages (JSPs) tutorial
- XML and Java (including JAXP, SAX 1 and 2, and JDOM)
| |
Customer Reviews:
Displaying 1 to 5 of 36 total reviews (Page 1 of 8):
useless
I have been trying to figure my way around. The code snippets contain several errors which is left to the reader to figure out. It claims to be for beginners, but everyone agree that this book is unsuitable. It contains too many bugs, examples are very badly explained. Good book
The examples of this book are high-applicable, clearly. Essential step-by-step for beginners and handbook for developers. Readers will find everything they need to help them on learning and understand Java generally. If you are new to Java technologies, you will find thoroughly grounded in the basic pieces. Good reference to a reference
This book is a wonderful addition to a java developer's library. This book will greatly complement introductory or textbook-style books with its concrete examples and thorough coverage of concepts in a realistic context. IF you are looking for your first book on java - this book won't be your first choice - but it will be a very strong second to complement your new found java skills and show how to apply those new found skills will interesting, full-functional, "meaty" sample programs that are easy to reference based on topic. Great Reference! If you are found of the O'Reilly style of reference a great first java book would be "Learning Java" by Niemeyer and Knudsen. Very Useful
Most programmers learn by doing. When programming using a new API for the first time, I very often look at sample code to get the real feel for how the code should work. I also sometimes adapt existing code to suit my purposes. In any case, example code is invaluable, and this book has a lot of it. Although this book is tauted as a companion to the other Java "nutshell" books, this book is infinitaly more valuable. In fact, I don't recommend the other books in this series at all. Good cover for Java knowledge
This book absolutely wonderful. It has a many real world examples and good questions which are so similar to the examples in the book. The questions and examples makes your knowledge stronger. If you have a little experience on java and want to keen on the topic, I suggest this book to you... but not forget this is the not the last book that you will be read on java!.. More Customer Reviews: Next Page
|