java left logo
java middle logo
java right logo
 

Home arrow Book Reviews arrow Ivor Horton's Beginning Java 2, JDK 5 Edition
 
 
Main Menu
Home
Java Tutorials
Book Reviews
Java SE Tips
Java ME Tips
Java EE Tips
Other API Tips
Java Applications
Java Libraries
Java Games
Java Network
Java Forums
Java Blog




Most Visited Tips
Java SE Tips
Java ME Tips
Java EE Tips
Other API Tips
Java Applications
Java Libraries
Java Games
Book Reviews
Top Rated Tips
Java SE Tips
Java ME Tips
Java EE Tips
Other API Tips
Java Applications
Java Libraries
Java Games
Book Reviews


Statistics
Registered Users: 4100
Java SE Tips: 614
Java ME Tips: 202
Java EE Tips: 183
Other API Tips: 779
Java Applications: 298
Java Libraries: 209
Java Games: 16
Book Reviews:
 
 
 
Ivor Horton's Beginning Java 2, JDK 5 Edition E-mail
User Rating: / 31
PoorBest 
 Book Information

Image

Authors: Ivor Horton
Paperback: 1512 pages
Publisher: Wrox; 5 edition (December 31, 2004)
Language: English
ISBN: 0764568744
Product Dimensions: 9.3 x 7.4 x 2.2 inches
ImageAmazon.com Link


 Book Review

Ivor Horton blends his vast experience of programming and writing, to give us a great book on Java, Beginning Java 2 JDK 5 Edition. His approach is totally accessible and anyone who can understand plain English can make use of this book to master Java programming as it provides a comprehensive understanding of wide range of concepts in Java.

Each concept is followed by simple but practical examples. The sample programs are first presented and then a section “How it works” follows which explains all the new concepts that the program covers. The examples used are very practical and they provide a solid base to the concepts. The end chapter exercises are the best means to get the real taste of the concepts that are covered in the chapter. The author uses illustrative, simple but effective figures to explain the concepts, which themselves are so much self explanatory.

The first few chapters cover the basic object oriented programming concepts through Java. He has devoted full five chapters for “Streams” and the last among these is about “serialization” which is once again very well presented. The next two chapters deal with advanced topics like Collections, Generic classes.

The heart of the book is the author’s presentation of GUI programming in Java for which he devotes entire five chapters which covers almost all the concepts related to GUI development, right from ‘how to build windows in Java’ to ‘how to add printing support to your applications’. Special emphasis is laid on providing printing support to Java applications in the Chapter 21: Filing and Printing Documents. It is then followed by two chapters on XML with Java, first one explaining how XML works and the second going in detail, explaining how XML and Java works together to build much better applications.

The last two chapters gives us enough understanding of JDBC with which we can get into developing practical, real world applications. The examples used here are very good, because they blend GUI concepts along with JDBC concepts giving us a real feel of practicality.

Not every aspect of Java programming could be covered in a single volume and this book is no exception to that. There are topics like RMI, JavaBeans which should have been added to this book, but the author might have had his own reasons for omitting them.

Like any other Wrox Publications, this one is very exciting to read, but bulky and don’t let the size make you feel that you are going to unnecessary advanced levels, instead get ready to explore several areas of Java Programming. If you are a seasoned programmer looking for a reference or a novice trying to learn Java from a good source, don’t think twice to buy this book.


 Table of Contents

  • Chapter 1: Introducing Java
  • Chapter 2: Programs, Data, Variables and Calculation
  • Chapter 3: Loops and Logic
  • Chapter 4: Arrays and Strings
  • Chapter 5: Defining Classes
  • Chapter 6: Extending Classes and inheritance
  • Chapter 7: Exceptions
  • Chapter 8: Understanding Streams
  • Chapter 9: Accessing Files and Directories
  • Chapter 10: Writing Files
  • Chapter 11: Reading Files
  • Chapter 12: Serializing objects
  • Chapter 13: Generic Class types
  • Chapter 14: The Collections framework
  • Chapter 15: A Collection of Useful Classes
  • Chapter 16: Threads
  • Chapter 17: Creating Windows
  • Chapter 18: Handling Events
  • Chapter 19: Drawing in a Window
  • Chapter 20: Extending the GUI
  • Chapter 21: Filing and Printing documents
  • Chapter 22: Java and XML
  • Chapter 23: Creating and modifying XML documents
  • Chapter 24: Talking to databases
  • Chapter 25: JDBC in Action

 Overview of Chapters

Chapter 1: Introducing Java

  • The basic characteristics of Java Language
  • How programs work on your computer
  • Why Java programs are portable between computers
  • The basic ideas behind object-oriented programming
  • How a simple Java program looks and how you can run it using the JDK
  • What is HTML and how it is used to include a Java Program in a web page

Chapter 2: Programs, Data, Variables and Calculation

  • How to declare and define variables of the basic integer and floating point types
  • How to write an assignment statement
  • How integer and floating point expressions are evaluated
  • How to output data from a console program
  • How mixed integer and floating point expressions are evaluated
  • What casting is and when you must use it.
  • What boolean variables are
  • What determines the sequence in which operators in expressions are executed
  • How to include comments in your programs

Chapter 3: Loops and Logic

  • How to compare data values
  • How you can define logical expressions
  • How you can use logical expressions to alter the sequence in which program statements are executed
  • How you can select different expressions depending on the value of a logical expression
  • How to choose between options in a fixed set of alternatives
  • How long your variables last
  • How you can repeat a block of code given number times
  • How you can repeat a block of code as long as a given logical expression is true
  • How you can break out of loops and statement blocks
  • What assertions are and how you use them

Chapter 4: Arrays and Strings

  • What arrays are and how you declare and initialize them
  • How you access individual elements of an array
  • How you can use individual elements of an array
  • How to declare arrays of arrays
  • How you can create arrays of arrays with different lengths
  • How to create String objects
  • How to create and use arrays of String objects
  • What operations are available for String objects
  • What StringBuffer objects are and how they relate to operations on String objects
  • What operations are available for StringBuffer objects

Chapter 5: Defining Classes

  • What a class is and how you define a class
  • How to implement constructors
  • How to define class methods
  • What method overloading is
  • What a recursive method is and how it works
  • How to create objects of a class type
  • What packages are and how you can create and use them
  • What access attributes are and how you should use them in your class definitions
  • What nested classes are and how you use them
  • When you should add “finalize()” to a class
  • What native methods are

Chapter 6: Extending Classes and inheritance

  • How to reuse classes by defining a new class based on an existing class
  • What polymorphism is and how to define your classes to take advantage of it
  • What an abstract method is
  • What an abstract class is
  • What an interface is and how you can define your own interfaces
  • How to use interfaces in your class
  • How interfaces can help you implement polymorphic classes

Chapter 7: Exceptions

  • What an exception is
  • How you handle exceptions in your programs
  • The standard exceptions in Java
  • How to guarantee that a particular block of code in a method will always be executed
  • How to define and use your own types of exceptions
  • How to throw exceptions in your programs

Chapter 8: Understanding Streams

  • What a Stream is
  • What the main classes that Java provides to support stream operations are
  • What stream readers and writers are and what they are used for
  • How to read data from the keyboard
  • How to format data that you write to the command line

Chapter 9: Accessing Files and Directories

  • How you create File objects and use them to examine files and directories
  • How you can use File class methods to examine the contents of the hard drives on your system
  • How to create new files and directories on your hard drive
  • How to create temporary files
  • How you create FileOutputStream objects

Chapter 10: Writing Files

  • The principles of reading and writing files using the new I/O capability
  • How you obtain a file channel for a file
  • How you create a buffer and load it with data
  • What view buffers are and how you use them
  • How you use a Channel object to write the contents of a buffer to a file

Chapter 11: Reading Files

  • How to obtain a file channel for reading a file
  • How to use buffers in file channel read operations
  • How to read different types of a data from a file
  • How to retrieve data from random positions in a file
  • How you can read from and write to the same file
  • How you can do direct data transfer between channels
  • What a memory mapped file and how you can access a memory mapped file
  • What file lock is and how can you lock all or part of a file

Chapter 12: Serializing objects

  • What serialization is and how you make a class serializable
  • How to write objects to a file
  • What transient fields in a class are
  • How to write basic types of data to an object file
  • How to implement the Serializable interface
  • How to read objects from a file
  • How to implement serialization for classes containing objects that are not serializable by default

Chapter 13: Generic Class types

  • What a generic type is
  • How you define a generic type is
  • How you specify type parameters for a generic type
  • What parameter type bounds are and how you use them
  • What wild card type specifications are and how you use them
  • How do you define bounds for a wild card
  • How you define and use parameterized methods

Chapter 14: The Collections framework

  • What sets, sequences, and maps are and how they work
  • What a Vector collection object is and how to use Vector objects in your programs
  • How to manage Vector objects so that storing and retrieving elements is type safe
  • What a Stack collection is and how you use it
  • How you use the LinkedList collections
  • How you store and retrieve objects in a hash table represented by a HashMap(K,V) object
  • How you can generate hash codes for your own class objects

Chapter 15: A Collection of Useful Classes

  • How to use static methods in the Arrays class for filling, comparing, sorting and searching arrays
  • How to use the Observable class and the Observer interface to communicate between objects
  • What facilities the Random class provides
  • How to create and use Data and Calendar objects
  • What regular expressions are and how you can create and use them
  • What a Scanner class does and how you use it

Chapter 16: Threads

  • What a thread is and how to create Threads in your programs
  • How to control interactions between threads
  • What synchronization means and how to apply it in your code
  • What Deadlocks are and how to avoid them
  • How to set Thread priorities
  • How to get information about the Threads in your programs

Chapter 17: Creating Windows

  • How you create and display a resizable window
  • What components and containers are
  • How you can add components to a Window
  • How you can control the layout of components
  • How you create a menubar and menus for a window
  • What a menu shortcut is and how you can add a shortcut for a menu item
  • What the restrictions on the capabilities of an applet are
  • How to convert an application into an applet

Chapter 18: Handling Events

  • What an event is
  • What an event-driven program is and how it is structured
  • How events are handled in Java
  • How events are characterized in Java
  • How components handle events
  • What an event listener is and how you create one
  • What an adapter class is and how you can use it to make programming the handling of events easier
  • What actions are and how you use them
  • How to create a toolbar

Chapter 19: Drawing in a Window

  • What components are available for creating a GUI
  • How coordinates are defined for drawing on a component
  • How you implement drawing on a component
  • How to structure the components in a window for drawing
  • What kinds of shapes you can draw on a component
  • How you implement mouse listener methods to enable interactive drawing operations

Chapter 20: Extending the GUI

  • How to create a status bar
  • How to create a dialog
  • What a modal dialog is and how it differs from a non-modal dialog
  • How to create a message box dialog
  • How you can use components in dialog to receive input
  • What a pop-up menu is
  • How you can apply and use transformations to the user coordinate system when drawing on a component
  • What context-menus are and how you can implement them

Chapter 21: Filing and Printing documents

  • How to use the JFileChooser class
  • How to save a sketch in a file as objects
  • How to implement the save As menu mechanism
  • How to open a sketch stored in a file and integrate it into the application
  • How to create a new sketch and integrate it into the application
  • How to ensure that the current sketch is saved before the application is closed or a new sketch is loaded
  • How printing in Java works
  • How to print in landscape orientation rather than the portrait orientation
  • How to implement multi page printing
  • How to output components to a printer

Chapter 22: Java and XML

  • What a well formed XML document is
  • What constitutes a valid XML document
  • What the components in an XML document are and how they are used
  • What a DTD is and how it is defined
  • What namespaces are and why you use them
  • What the SAX and DOM APIs are and how they differ
  • How you read documents using SAX

Chapter 23: Creating and modifying XML documents

  • What a Document Object Model is
  • How you create a DOM parser
  • How you access the contents of a document using DOM
  • How you create and update a new XML document
  • How to modify sketcher to read and write sketches as XML documents

Chapter 24: Talking to databases

  • What databases are
  • What the basic SQL statements are and how you apply them
  • What the rationale behind JDBC is
  • How to write a simple JDBC program
  • What the key elements of JDBC API are

Chapter 25: JDBC in Action

  • How you map relational data onto Java objects
  • The mapping between SQL and Java data types
  • How you limit the data created in a ResultSet
  • How you constrain the time spent on executing a query
  • How you use a PreparedStatement object to create a parameterized SQL statement
  • How you can execute database update and delete operations in your Java programs
  • How you can get more information from SQLException objects
  • What an SQLWarning object is and what you can do with it

Reviewer: Krish Bhargav


 Related Tips

 
< Prev   Next >

Page 1 of 0 ( 0 comments )

You can share your information about this topic using the form below!

Please do not post your questions with this form! Thanks.


Name (required)


E-Mail (required)

Your email will not be displayed on the site - only to our administrator
Homepage(optional)



Comment Enable HTML code : Yes No



 
       
         
     
 
 
 
   
 
 
java bottom left
java bottom middle
java bottom right
RSS 0.91 FeedRSS 1.0 FeedRSS 2.0 FeedATOM FeedOPML Feed

Home - About Us - Privacy Policy
Copyright 2005 - 2008 www.java-tips.org
Java is a trademark of Sun Microsystems, Inc.