Just Java 2.0by Peter van der Linden, Peter Vander Linden
If you are looking for a readable, up-to-date overview of the JDK and its libraries, Just Java 2, Fourth Edition is the book for you! You'll find an engaging tutorial complete with clear explanations and challenging examples, and just the right mix of comic relief. Peter van der Linden, the author of the classic Expert C Programming, brings style, personality,
If you are looking for a readable, up-to-date overview of the JDK and its libraries, Just Java 2, Fourth Edition is the book for you! You'll find an engaging tutorial complete with clear explanations and challenging examples, and just the right mix of comic relief. Peter van der Linden, the author of the classic Expert C Programming, brings style, personality, and wit to the challenge of simplifying Java and object-oriented programming for any programmer making the transition to the Java environment.
Because Just Java 2 assumes some programming knowledge, you won't get bogged down with the basics. A unique balance of practical advice and expert insights, this comprehensive guide to Java programming covers all the essentials including:
- Object-Oriented techniques.
- Types & arrays.
- Statements & exceptions.
- Swing components & containers.
- Networking & client-server.
- Threads and more.
This revised and expanded edition includes a concise introduction to the new features and libraries, especially inner classes and the graphical "Swing" components and highlights both the advantages and challenges of programming with Java 2.
The accompanying CD-ROM is a truly awesome resource! It contains extensive sample code from top Java programmers, the complete Java Programmer's FAQ, and tons of great freeware, including Linux, Perl, GNU C/C++, Tcl, Python, Java games (with source code, and more)! Due to an unfortunate error in the manufacturing process of the CD-ROM, a number of defective or cracked CDs were shipped with this book. Prentice Hall PTR will be happy to send you a replacement CD-ROM, which can beobtained by emailing firstname.lastname@example.org
Read an Excerpt
Using the Just Java CD-ROM
About the CD-ROM
Welcome to the Just Java CD-ROMa disk packed with all the Java tools and source code discussed in the book and lots more.
This CD is for any system that can read an ISO 9660 CD with the Rockridge/Joliet extensions (i.e., a system that can handle CDs with deep directories, symbolic links, and more than just 8.3 filenames, on Unix, Windows, and the Macintosh).
There is a huge amount of useful, entertaining, or educational material on this CD. Some of the content (and there is a lot more) is:
- Useful Java Development Kits for Windows, Macintosh, and Solaris.
Java Programmer`s FAQ and Glossary.
Decompilers and obfuscators.
- Educational Translators for Perl, TCL, Eiffel, C, C++, Python, etc.
CIA World Fact Bookyour tax dollars at work.
The Linux operating system for x86 (Debian 2.0 release).
- Entertaining Java program to solve crossword puzzles.
Java Digital Simulator.
The Sherlock Holmes books.
Java Bible Code software. Look for hidden messages.
You can explore the CD-ROM quite effectively using a browser. Mount the CD on your computer, and point your browser at the index.html file in the root.
You'll see a display like that shown above. Notice the three frames.
- The top frame is a list of directories in this directory, plus a shortdescription of each. You can click on a directory name to move the browser into that directory. That's what the arrow above shows.
- The left-hand frame is a list of useful files in this directory. You can click on a filename to display that file in the right-hand frame.
- The right-hand frame is an area for displaying files. Sometimes an applet runs in that frame, as shown in the figure above.
You can drag the frame boundaries around if it helps you to read the contents. If you click on, for example, the "goodies" directory name indicated by the arrow in the previous diagram, the browser will take you to that directory, and the display will now look like this:
You can carry on exploring this way. You can also use the "back" and "forward" buttons in the browser if you want. There are hundreds of megabytes of data of interest to a professional programmer on this CD, including many freeware or shareware compilers for other programming languages.
Before you tackle the other languages, you'll want to install and try Java as explained in the following pages. Choose the latest (highest version number) JDK for your system, and check for a more recent one on the web.
Using the CD-ROM on Windows 95, 98, and NT
Installing the JDK on Windows 95, 98, or NT:
- Put the CD in the CD drive, and in a shelltool go to the directory win95NT.
Your CD drive letter may be d: or e: or something else. You need around 65MB of disk space for the release.
- Choose the highest version number release. If there is a more recent one at ...
Meet the Author
Peter van der Linden currently leads a team of kernel programmers at Sun Microsystem, Inc., developing software for advanced workstations. His books include JustJava, Not Just Java Expert C Programming, Deep C Secrets (Sun Microsystems Press) and The Official Handbook of Practical Jokes (NAL-Penguin).
Most Helpful Customer Reviews
This is the book I always recommend to other programmers who want to learn OOP. The book remains interesting without getting nonsensical. The author is a programmer, not some hack writer hired to spew-out all the common knowledge on the subject. The fact that this book is in its fifth edition and still selling illustrates how many people have found it useful.
This book does include many new java concepts, like EJB and Swing, but it lacks a coherent pace. It's hard to follow the direction of the book, because the more complicated aspects of Object Oriented programming are explained first, before you code anything. The examples in the book are frequently unfinished and aren't explained fully, making it difficult to compile and try them yourself. A person reading the book will not know how to write and implement a java program until the book is almost finished. It would have been nice if the book started with the basics and worked you through to the hard stuff. Instead this book starts with the difficult abstract concepts and never really gets to the basics. I'm very disappointed in this book and plan on purchasing something else soon.
This book covers everything you need to get started programming in Java. I highly recommend it. It is very clear with lots of examples and explanations. I have looked at lots of other Java books and this one is by far the best. It is very simple and easy to understand while still having depth. This one is great, trust me.