Für diesen Artikel ist leider kein Bild verfügbar.

The Way of JAVA

(Autor)

Buch | Softcover
416 Seiten
1997
Prentice Hall (Verlag)
978-0-13-491978-2 (ISBN)
39,95 inkl. MwSt
  • Titel ist leider vergriffen;
    keine Neuauflage
  • Artikel merken
Appropriate for courses in Java-based programming.

This is an intermediate-advanced book for Java programmers and developers. The core of the book is about creating user-fun, powerful, and efficient Java applets and Java stand-alone applications.
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.
Author of The Tao of Objects, Secrets of the Visual Basic Masters, and The Way of Delphi, Gary Entsminger is a frequent contributor to many computing journals and a contributing editor for the Delphi Informant. He is currently working on a National Science Foundation Grant to develop user-friendly modeling systems based on the Delphi object model.

Gary Entsminger is technical editor and columnist for Delphi Informant, and author of several books on programming, including The Tao of Objects and Secrets of the Visual Basic Masters. His articles have appeared in DBMS, Dr. Dobb's Journal, Computer Language, and many other publications.

Preface.


Acknowledgments.


Foreword.


1. Approaching Java—Classes, Objects, Patterns, and Strategies.


What's Special about a Class?



Why an Object-Oriented Java?



Events.



Reusing Code.



The Applications in The Way of Java.



Dynamic Design.



Selected Class Descriptions.



Code Design Patterns.



A Few Symbols and Boldface.



2. A Class Act, An Object-Oriented Philosophy.


Where We're Headed.



Types.



Classes—The Big Difference.



Access Specifiers.



Applet or Stand-Alone.



A Hierarchy of Derived Classes.



A Distinction—Primitive and Reference Types.



Balancing Class Functionality and Reuse.



Composing Classes.



A Few Words about Class Scope.



A Taste of Inheritance.



Polymorphism—Many Shapes.



A Class Hierarchy.



A New Version of the Applet paint() Method.



Constructors and Destructors.



Some OOP Design Guidelines.



Looking Ahead.



3. Objects, Events, Applications, and the .AWT.


Creating Applications.



CommandCalc(s).



Creating an Application—First Steps.



Create a Constructor and a main() Method.



Events.



Actions Speak Louder.



Strings.



CommandCalc(3)—A Few More Additions.



4. A Few Exceptions.


Exception (But Not Error!) Handling.



Hierarchyl.



First Revision—Hierarchy.



Class Hierarchies—Hierarchy.



Deriving a Form and Packaging.



Summing up Requires an Experiment.



5. Graphically Friendly Canvases and Menus.


Random1—First Things First.



Create a Constructor and a main() Method.



Plotting Results on a Canvas.



Random2—A Few Changes.



Implementing a Menu-Driven User Interface.



Random3



Summing up (Again) Leads to a Theme Variation.



Finally.



6. Process, Runtime, and a First Thread.


Runtime.



Create a Constructor and a main() Method.



Building a Friendlier Interface.



Threads and a New Runtime.



7. Data, Data Everywhere—Lists, Streams, and File I/O.


Lists.



Create a Constructor and a main() Method.



List2—Revise a User Interface.



List3—Streams, Streams, and More Streams.



List4—Some Additional Functionality.



List5—Using the StringTokenizer Class.



List6—Task Processing.



8. A Few More Threads.


Threads1.



Create a Constructor and a main() Method.



Threads2—The Problem of Re-Entrance.



Threads3—Modest Variation.



9. Applets—A Special Case.


Erector: Create an Applet.



From an Applet to a Stand-Alone Application.



The Other Way Around: From Stand-Alone to Applet.



10. A Thread for Exploring Strange Attractors.


Strange Attractors.



Project: Attractors.



Create a Constructor and a main() Method.



Appendix A Selected Java Developers' Kit Class Method Reference.


Index.

Erscheint lt. Verlag 10.3.1997
Verlagsort Upper Saddle River
Sprache englisch
Maße 180 x 230 mm
Gewicht 780 g
Themenwelt Informatik Programmiersprachen / -werkzeuge Java
Mathematik / Informatik Informatik Theorie / Studium
Mathematik / Informatik Informatik Web / Internet
ISBN-10 0-13-491978-5 / 0134919785
ISBN-13 978-0-13-491978-2 / 9780134919782
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich
mit über 150 Workouts in Java und Python

von Luigi Lo Iacono; Stephan Wiefling; Michael Schneider

Buch (2023)
Carl Hanser (Verlag)
29,99
Einführung, Ausbildung, Praxis

von Christian Ullenboom

Buch | Hardcover (2023)
Rheinwerk (Verlag)
49,90