The Way of JAVA

The Way of JAVA

by Gary Entsminger
     
 
Explore Java with a master of OOP (object-oriented programming)


When a new programming language comes along, master programmers have to experiment with it to find the best ways to take advantage of its unique capabilities. Master programmer, Gary Entsminger, shares his discoveries and secrets in The Way of Java.

Overview

Explore Java with a master of OOP (object-oriented programming)


When a new programming language comes along, master programmers have to experiment with it to find the best ways to take advantage of its unique capabilities. Master programmer, Gary Entsminger, shares his discoveries and secrets in The Way of Java.


Organized around the basic elements of OOP and Java, each chapter includes discussions, code, tests, and complete applications. Each application addresses a particular problem the author encountered in his early work with Java. This book recreates each application step by step, leading you through the process and showing you ways to experiment on your own.


For readers unfamiliar with the object model, The Way of Java reviews the basics of OOP as they apply to Java. Even experienced programmers will benefit from Entsminger's insights about Java's special characteristics.


Advanced chapters focus on the intricacies of the GUI, threads, lists, streams, and, of course, applets. Specific topics include:



  • Designing reusable and friendly user interfaces

  • Using and reusing objects, containers, and components

  • Using inheritance to create object hierarchies

  • Accessing classes from other classes

  • Using dynamic programming techniques


An appendix provides a selected reference to the Java Development Kit, and the enclosed diskette contains the code for all projects in this book and JavaOnTheRocks, a Java development environment for Microsoft Windows created by the author.


Product Details

ISBN-13:
9780134919782
Publisher:
Prentice Hall Professional Technical Reference
Publication date:
02/21/1997
Pages:
416
Product dimensions:
7.03(w) x 9.24(h) x 1.35(d)

Read an Excerpt

PREFACE: A Few Words about the State of Java

Although Java seems like it could be the biggest phenomenon to hit the world of computer programming in a long, long time, IÕm going to take a more conservative approach in this book. Applets and the world wide web are important, but I think that when the applet craze dies down, weÕll be faced with Java as a "regular" programming languageÑone that you use to build applications for an existing operating system (other than the world wide web, if that can truly be considered an OS). The operating system that I have focused on since it became widely used is Microsoft Windows and I think itÕs a proven winner. Thus, this book is about the use of Java for Windows programming and here (in The Way of Java) I take a similar approach to exploring the language and developing applications that I took in my previous book, The Way of Delphi. Rather than focus on nuances of the language and fragments of code, I develop many small but complete applications that show you how to get things done in Java.

It turns out that exploring Java with the same expectations as I had when exploring Delphi was not such an easy task, because while Java is designed to allow you to write a program (or application) that runs equally well under all platforms, the current price you must pay is that the graphical user interface looks equally mediocre on all platforms. In addition, many of the controls that are available under Windows cannot be accessed from Java, and the look and feel of a Java application is different from a Windows application. ItÕs still possible to write useful programs in Java, but youÕre limited in the ways you can express yourself, so Iwork within these limitations in this book.

How is this book different from the myriad of "introduction to Java" and "why Java is so great" books? I think my talent is not in dissecting or breaking the language (which is certainly valuable, and someone needs to do itÑsee, for example, my friend Bruce EckelÕs Thinking in Java at ...

Meet the Author

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >