Product Details
Java Examples in a Nutshell: A Tutorial Companion to "Java in a Nutshell"

Java Examples in a Nutshell: A Tutorial Companion to "Java in a Nutshell"
By David Flanagan

Price:

This item is not available for purchase from this store.
Click here to go to Amazon to see other purchasing options.


28 new or used available from £0.01

Average customer review:

Product Description

This text provides real-world example programs that not only serve as great learning tools, but can also be modified for individual use. The second edition 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 API's, including Servlets, JavaServer Pages, XML, Swing, and Java 2D. The 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. This text picks up where those books leave off, serving up a suite of example programs for novice Java programmers and experts alike. It delivers 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; and 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.


Product Details

  • Amazon Sales Rank: #629288 in Books
  • Published on: 2000-10-11
  • Original language: English
  • Number of items: 1
  • Binding: Paperback
  • 582 pages

Editorial Reviews

Amazon.co.uk Review
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

Ray Blackie, Calgary Oracle Users Group, April 3, 2002.
Whether you are new to Java or not, this book is sure to provide practical advice.

From the Publisher
Java Examples in a Nutshell is full of real-world example programs that not only serve as great learning tools, but can also be modified for individual use. The second edition 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 API's, including Servlets, JavaServer Pages, XML, Swing, and Java 2D.


Customer Reviews

Not for beginners.3
Somewhat outdated. Mostly covers J1.2, but weak at J1.3. It may have some historical value in order to show how Java programming was done at the good old days. Not recommended for Java2 v.1.3 beginner.

Get this along with Java In A Nutshell4
The Networking example of a multi-threaded socket server proved a life-saver on a past project so I'm sold on this book. It backs up Java In A Nutshell nicely and usually saves wading through a library of Java books to find a relevant example.

Shallow, and with a couple of errors too many3
Java Examples tries to cover too much in too few pages. It's usefull, yes, but I actually find a few of the examples to be to easy. They do not delve to the heart of the matter.

Also, a few of the actual examples contain errors, e.g. "Animation with images p. 67-69" uses Applet.getDocumentBase() when the correct method is getCodeBase().

This was trivial, but other examples also do not work and the solution is sometimes harder to find.

So, I was disappointed, because "Java in a nutshell" is reliable and extremely usefull.