Landing

Java 9 Revealed
Beginning Java 8 Fundamentals Beginning Java 8 Language Features
Beginning Java 8 APIS, Extensions, and Libraries Scripting in Java
Learn JavaFX 8


Search the contents of Harnessing Java 7 using Google Book Search:  Volume 1   Volume 2   Volume 3

 

 List of books:

Harnessing Java 7 – Volume 1

Read Sample Chapters                 Go to Top

HJ7_V1_Image

This is the first of three volumes in the Harnessing JavaTM 7 book. It provides a comprehensive approach to learning the Java programming language to all levels of Java developers.

It covers the fundamental topics of Java in detail such as Object-Oriented concepts, data types, operators, etc. It contains more than 70 diagrams to help programmers visualize and understand the topics better.

More than 170 complete programs included in this volume help beginners and intermediate level programmers learn the topics faster.

The second chapter, “Writing Java Programs”, has been especially designed for beginners,

which walks you through writing your first Java program step-by-step.

The following topics are covered in this volume.

  • Programming Concepts
  • Data Types
  • Operators
  • Statements
  • Classes and Objects
  • Object and Objects Classes
  • AutoBoxing
  • Exception Handling
  • Assertions
  • Strings & Dates
  • Formatting Objects
  • Regular Expressions
  • Arrays
  • Garbage Collection
  • Inheritance
  • Documentation Comments

It covers the following new features of JavaTM 7 in detail.

  • Binary Numeric Literals
  • Underscores in Numeric Literals
  • Strings in a switch Statement
  • try-with-resources Statement
  • Catching Multiple Exception Types
  • Re-throwing Exceptions with Improved Type Checking
  • The java.util.Objects class

Harnessing Java 7 – Volume  2

Read Sample Chapters                 Go to Top

HJ7_V2_Image

This is the second of three volumes in the Harnessing JavaTM 7 book. It provides a comprehensive approach to learning the Java programming language to all levels of Java developers.

It covers the essential topics of the Java programming language such as Inner Classes, Threads, I/O, Collections, etc.

Each topic in the book starts with the topic’s background discussion. A step-by-step process with small snippets of Java code provides easy to follow instructions. At the end of a topic, a complete and ready-to-run Java program is provided.

This volume contains 50 diagrams to help programmers visualize and understand the topics better. More than 290 complete programs included in this volume help the readers practice and learn the topics faster.

The chapter on Threads discusses from the very basic concepts of a thread to the most advanced topics such as synchronizers, executor framework, fork/join framework, atomic variables, etc.

This volume contains an unmatched coverage of Java I/O.  It devotes four chapters on Java I/O topic.  NIO 2.0, which is a Java 7 feature, has been covered in detail in a separate chapter. Besides other topics of NIO 2.0, the Path API, the FileVisitor API, the watch service and asynchronous file I/O of NIO 2.0 have in-depth coverage. It contains at least one complete Java program on every NIO 2.0 topic discussed in this volume.

The following topics are covered in this volume.

  • Interfaces
  • Annotations
  • Inner Classes
  • Enum
  • Reflection
  • Generics
  • Threads
  • Input/Output
  • Archive Files
  • NIO
  • NIO 2.0
  • Collections

It covers the following new features of JavaTM 7 in detail.

  • Generic Type Inference
  • Heap Pollution
  • Improved Compiler Warnings & Errors for Non-Reifiable Varargs Parameters
  • Improved File and Channel Closing Mechanism Using a try-with-resources Statement
  • New Input/Output 2.0 (NIO 2.0)
  • Fork/Join Framework
  • Phaser Synchronizer
  • TransferQueue Collection

Harnessing Java 7 – Volume 3

Read Sample Chapters                            Go to Top

HJ7_V3_Image

This is the third of three volumes of the Harnessing JavaTM 7 book. It provides a comprehensive approach to learning the Java programming language for intermediate and advanced level Java programmers. If you are new to the Java programming language, you are suggested to read the first and second volumes of this title before this volume.

This volume covers the advanced topics of Java programming language such as Swing, Network Programming, and JDBC. Each topic in the book starts with a discussion of the topic’s background. A step-by-step process, with small snippets of Java code, provides easy to follow instructions. At the end of a topic, a complete and ready-to-run Java program is provided.

This volume contains over 130 images and diagrams to help programmers visualize and better understand the topics. More than 130 complete programs, included in this volume, allow the readers to practice and quickly learn the topics.

The chapter on Swing uses a unique approach to building an application with a graphical user interface (GUI). It discusses various aspects, from the very basic concepts of developing a Swing application, to the most advanced topics, such as decorating a Swing component with a JLayer, Drag-and-Drop features, Synth Skinnable L&F, etc. The chapter starts with an introduction to the GUI, using only one line of Java code, and builds to the most advanced concepts of GUI, one-step at a time. The chapter devotes over 55 pages to describe, at length, the different kinds of layout managers. At each step, it includes images to help the reader visualize how the application will look at runtime. Images at every step of the GUI building help the readers finish the chapter more quickly, with a vivid, detailed understanding of each topic.

The chapter on network programming covers the basics of network technologies first, and then, the advanced topics of network programming, using Java class library. It covers IPv4 and IPv6, addressing schemes, subnetting, supernetting, multicasting, TCP/IP sockets, UPD sockets, asynchronous socket I/O, etc.

The chapter on JDBC provides one of a kind coverage of database programming using the JDBC API. It provides the details of connecting and working with databases from all major database vendors such as Oracle, Microsoft, IBM, Sybase, etc. Wherever applicable, the chapter provides the database scripts to work with examples in the following databases: Oracle, SQL Server, MySQL, DB2, Java DB (Apache Derby), Sybase, Adaptive Server Anywhere, etc. It contains a complete discussion on processing a ResultSet and a RowSet. It discusses how to use the RowSetFactory, which is a new feature of JavaTM 7, to obtain a RowSet object of a specific type. Working with Large Objects (LOBs), such as Blob, Clob, and NClob, is covered in detail with Java code examples and database scripts.

The following topics are covered in this volume.

  • Swing
  • Applets
  • Network Programming
  • JDBC API
  • Remote Method Invocation
  • Java Native Interface

It covers the following new features of JavaTM 7 in detail.

  • JLayer Swing Component
  • Translucent Window
  • Shaped Window
  • Asynchronous Socket IO
  • Multicast DatagramChannel
  • RowSetFactory

Java 7 New Features

 Go to Top

J7NF_ImageThis book contains the language-level new features in Java 7 spread across thirteen chapters. The decision to create many chapters was based on the fact that the new features in Java 7 belong to different topics. Spreading new Java 7 features across multiple chapters helps the readers find all related new features at one place. For example, new features related to Swing have been covered in a chapter named Swing.

Throughout the book, it is assumed that readers are familiar with the prior versions of Java (at least with Java 5).

The book discusses from the simple additions in Java 7, e.g., underscore in numeric literals, Strings in a switch statement, etc., to the most complex additions such as JLayer Swing component, asynchronous socket I/O, etc. A separate and complete chapter has been devoted on NIO 2.0, which discusses topics like Path API, Watch Service API, File Tree API, etc.

The chapter on Threads discusses new additions to Java 7 such as Phaser synchronizer, Fork/join framework, and ThreadLocalRandom class.

The new features in Java 7 related to the following topics have been covered in this book.

  • Data Types
  • Statements
  • The Objects Class
  • Exception Handling
  • Generics
  • Threads
  • Input/Output
  • New Input/Output
  • New Input/Output 2.0
  • Swing
  • Network Programming
  • JDBC API
  • Internationalization

Comments are closed.