Buy Used
$4.53
Condition: Used: Good
Comment: Eligible for Amazon's FREE Super Saver/Prime Shipping, 24/7 Customer Service, and package tracking. 100% Satisfaction Guarantee. Cover has some edge wear. Cover has some rubbing.
Access codes and supplements are not guaranteed with used items.
Have one to sell? Sell on Amazon
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See this image

Core Java 2 , Volume 2: Advanced Features (4th Edition) Paperback – December 27, 1999

ISBN-13: 007-6092006466 ISBN-10: 0130819344 Edition: Pap/Cdr

Used
Price: $4.53
25 New from $3.28 54 Used from $0.01 2 Collectible from $9.96
Amazon Price New from Used from
Paperback
"Please retry"
$3.28 $0.01

There is a newer edition of this item:

Free Two-Day Shipping for College Students with Amazon Student Free%20Two-Day%20Shipping%20for%20College%20Students%20with%20Amazon%20Student


Get Up to 80% Back When You Sell Us Your Books
NO_CONTENT_IN_FEATURE

Shop the New Digital Design Bookstore
Check out the Digital Design Bookstore, a new hub for photographers, art directors, illustrators, web developers, and other creative individuals to find highly rated and highly relevant career resources. Shop books on web development and graphic design, or check out blog posts by authors and thought-leaders in the design industry. Shop now

Product Details

  • Series: Core Java 2
  • Paperback: 952 pages
  • Publisher: Prentice Hall PTR; Pap/Cdr edition (December 27, 1999)
  • Language: English
  • ISBN-10: 0130819344
  • ISBN-13: 978-0130819345
  • Product Dimensions: 9.2 x 7 x 2.5 inches
  • Shipping Weight: 4.1 pounds
  • Average Customer Review: 3.8 out of 5 stars  See all reviews (25 customer reviews)
  • Amazon Best Sellers Rank: #2,955,325 in Books (See Top 100 in Books)

Editorial Reviews

Amazon.com Review

Picking up where the authors' first volume on Java left off, Core Java 2, Volume 2 covers the more advanced features of the Java 2 platform that can add polish and power to your Java programs. The authors' accessible--yet thorough--coverage of essential Java APIs help make this book an attractive choice for any working Java developer.

Several chapters here are especially useful for getting control of new and important Java 2 features. Sections on the new Java 2 collection classes and using advanced Swing classes (like tables and trees) are particularly good. (While many other books just list Swing APIs, this volume provides short examples and effective commentary, which will let you master these complex Swing controls.) When it comes to Java2D graphics, the authors do a nice job of comparing the old AWT to the new Java2D, including drawing basic shapes and doing text output. (These operations are surprisingly tricky in this new API). A section on the new JDBC 2 standard shows off new features like ResultSets and scrollable cursors to good effect.

More advanced topics include multithreading, internationalization, and security. Throughout, this text introduces important concepts illustrated with comprehensible examples. The APIs for individual classes are listed too, making it possible to use this book as a reference, but it is the tutorial sections that stand out here. (The authors also aren't afraid to point out where Java 2 is lacking--for example, in its printing support.)

Readers of the first volume will naturally want the second volume of Core Java 2 too. It's also a great choice for any Java developer with JDK 1.1 experience who wants a tour of new Java 2 features that are essential for serious corporate development. --Richard Dragan

Topics covered: Java 2 advanced APIs, multithreading and synchronization, Java 2 collections, networking, databases and JDBC 2 (cursors and result sets), RMI and remote objects, Swing user interface classes, printing, tables and trees, JavaBeans, security and deployment, internationalization issues, JNI and native methods.

From the Inside Flap

To the reader

The book you have in your hands is the second volume of the fourth edition of Core Java. The first edition appeared in early 1996, the second in late 1996, and the third in 1997/1998. The first two editions appeared in a single volume, but the second edition was already 150 pages longer than the first, which was itself not a thin book. When we sat down to work on the third edition, it became clear that a one-volume treatment of all the features of the JavaTM platform that a serious programmer needs to know was no longer possible. Hence, we decided to break up the third edition into two volumes. In the fourth edition, we again organized the material into two volumes. However, we rearranged the materials, moving streams into volume 1 and collections into Volume 2.

The first volume covers the essential features of the language; this volume covers the advanced topics that a programmer will need to know for professional software development. Thus, as with the first volume and the previous editions of this book, we still are targeting programmers who want to put Java technology to work on real projects.

Please note: If you are an experienced developer who is comfortable with the new event model and advanced language features such as inner classes, you need not have read the first volume in order to benefit from this volume. (While we do refer to sections of the previous volume when appropriate and, of course, hope you will buy or have bought Volume 1, you can find the needed background material in any comprehensive introductory book about the Java platform.)

Finally, when any book is being written, errors and inaccuracies are inevitable. We would very much like to hear about them. Of course, we would prefer to hear about them only once. For this reason, we have put up a web site at horstmann/corejava.html with an FAQ, bug fixes, and workarounds. Strategically placed at the end of the bug report web page (to encourage you to read the previous reports) is a form that you can use to report bugs or problems and to send suggestions for improvements to future editions. About This Book

The chapters in this book are, for the most part, independent of each other. You should be able to delve into whatever topic interests you the most and read the chapters in any order.

Chapter 1 covers multithreading, which enables you to program tasks to be done in parallel. (A thread is a flow of control within a program.) We show you how to set up threads and how to make sure none of them get stuck. We put this knowledge to practical use by example, showing you the techniques needed to build timers and animations.

The topic of Chapter 2 is the collections framework of the Java 2 platform. Whenever you want to collect multiple objects and retrieve them later, you will want to use a collection that is best suited for your circumstances, instead of just tossing the elements into a Vector. This chapter shows you how to take advantage of the standard collections that are prebuilt for your use.

Chapter 3 covers one of the most exciting APIs in the Java platform: the networking API. Java makes it phenomenally easy to do complex network programming. Not only do we cover this API in depth, we also discuss the important consequences of the applet security model for network programming.

Chapter 4 covers JDBCTM, the Java database connectivity API. We show you how to write useful programs to handle realistic database chores, using a core subset of the JDBC API. Please note that this is not a complete treatment of everything you can do with the rich JDBC API. (A complete treatment of the JDBC API would require a book almost as long as this one.)

Chapter 5 covers remote objects and Remote Method Invocation (RMI). This API lets you work with Java objects that are distributed over multiple machines. We also show you where the rallying cry of "objects everywhere" can realistically be used.

Chapter 6 contains all the Swing material that didn't make it into volume 1, especially the important but complex tree and table components. We show the basic uses of editor panes and the Java technology implementation of a "multiple document" interface. Again, we focus on the most useful constructs that you are likely to encounter in practical programming, since an encyclopedic coverage of the entire Swing library would fill several volumes and would only be of interest to dedicated taxonomists.

Chapter 7 covers the Java 2D API that you can use to create realistic drawings. The chapter also covers some advanced features of the Abstract Windowing Toolkit (AWT) that seemed too specialized for coverage in Volume 1 but are, nonetheless, techniques that should be part of every programmer's toolkit. These features include printing and the APIs for cut-and-paste and drag-and-drop. We actually take the cut-and-paste API one step further than Sun Microsystems itself did: We show you how to cut and paste serializable Java objects between different programs in the Java programming language via the system clipboard.

Chapter 8 shows you what you need to know about the component API for the Java platform-JavaBeansTM. You will see how to write your own beans that other programmers can manipulate in integrated builder environments. (We do not cover the various builder environments that are designed to manipulate beans, however.) The JavaBeansTM component technology is an extraordinarily important technology for the eventual success of Java technology because it can potentially bring the same ease of use to user interface programming environments that ActiveX controls give to the millions of Visual Basic programmers. Of course, since these components are written in the Java programming language, they have the advantage over ActiveX controls in that they are immediately usable across other platforms and capable of fitting into the sophisticated security model of the Java platform.

In fact, Chapter 9 takes up that security model. The Java platform was designed from the ground up to be secure, and this chapter takes you under the hood to see how this design is implemented. We show you how to write your own class loaders and security managers for special-purpose applications. Then, we take up the new security API that allows for such important features as signed classes.

Chapter 10 discusses a specialized feature that we believe can only grow in importance: internationalization. The Java programming language is one of the few languages designed from the start to handle Unicode, but the internationalization support in the Java platform goes much further. As a result, you can internationalize Java applications so that they not only cross platforms but cross country boundaries as well. For example, we show you how to write a retirement calculator applet that uses either English, German, or Chinese-depending on the locale of the browser.

Chapter 11 takes up native methods, which let you call methods written for a specific machine such as the Microsoft Windows API. Obviously, this feature is controversial: Use native methods, and the cross-platform nature of the Java platform vanishes. Nonetheless, every serious programmer writing Java applications for specific platforms needs to know these techniques. There will be times when you need to turn to the operating system's API for your target platform when you are writing a serious application. We illustrate this by showing you how to access the registry functions in Windows.Definitions

A Java object is an object that is created by a program that was written in the Java programming language.

A Java application is a program that was written in the Java programming language and that is launched by a Java virtual machine (that is, a virtual machine for the Java platform).

Customer Reviews

In short-- a must have for any serious java programmer.
Virat Chopra
The thick stock makes this 700 page book thicker than other 1100 to 1200 page books I own.
B. A. Langdon
I found this book a very complete guide to professional developement.
Oscar Carriles

Most Helpful Customer Reviews

41 of 41 people found the following review helpful By A Customer on October 7, 2000
Format: Paperback
This book is great for it's intended purpose, but some seem to have confused what that purpose is. Some feel that because the subtitle is "Advanced Features", this book would unravel the mysteries of the most advanced features of Java 2. Not so! You have to understand that this is nothing but a volume 2 of the Core Java 2 duo! The volume 1 has the fundamentals and this volume 2 goes to MORE advanced topics, compared to the first volume. This talks about JDBC, Corba, Swing, etc, but not very deeply, just advanced for those who have just finished volume 1.
I think the two books are the best option if you don't already have other similar books. If you have the previous 1.1 edition, or other very similar books like Just Java or Thinking in Java, then you'd probably get very little for your money from this one.
After finishing both Core Java 2 vols 1 & 2 you have a very good basic knowledge of using Java 2 for different purposes and then you can buy a more indepth book on some aspect that you especially need (JDBC, Beans...).
A Very good book when combined with volume 1.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
13 of 13 people found the following review helpful By Gary Thomas on May 30, 2000
Format: Paperback
I am a professional developer, recently switched from C++ and VB to Java. For my purposes, as an experienced OO programmer this book, and its companion volume could not be bettered. Every subject is covered sufficiently for me to write code, at a professional level. I cannot recommend this book highly enough as a reference. I would not suggest that anyone try and learn Java (much less OO) from it - that is not its purpose.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
12 of 12 people found the following review helpful By Thomas L. McQueary on October 11, 2001
Format: Paperback
I am now using this book for the second semester in an Advanced Java course I teach at the local community college. The purpose of this book is not an in-depth discussion of each topic, but rather a look at the essential features of many advanced features in Java. I like the authors' stlye of starting with the simplest possible program that illustrates some concept. For example, in the RMI chapter a simple console application is used to present a complete RMI client-server application. A similar application is then written using CORBA. The database chapter is similar. Simple programs illustrate basic concepts.
So the book is not intended for say the JDBC specialist or the CORBA specialist who needs to understand every facet of the technology. Instead this book is for those who need to know the major features of the advanced Java technologies. The book is not for Java beginners. This volume assumes you know the Java language, with knowledge equivalent to having passed the Sun Certified Java Programmer exam. Those who have difficulty with the text and with the examples may be blaming the authors when the fault actually rests with the reader.
I have found the examples to work although the configuration of your system must be precise. All in all a 5 star book. I'm looking forward to the 5th edition, since I admit the binding on my book is broken and pages are falling out - a tribute to the fact that I refer to this book daily.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
51 of 63 people found the following review helpful By A Customer on January 5, 2000
Format: Paperback
I bought this book thinking that there will be a lot of new stuff as compared to the previous version - Core Java 1.1 Advanced features. Although a couple of new chapters have been added, the book basically presents the material and examples from the previous edition wrapped with "Swing" wherever applicable. If you already have a copy of Core Java 1.1 advanced edition and you been curious to visit the Sun's Java tutorial Web site for Swing and Java 2D examples, it is really not worthwhile buying this "Swing" wrapped edition.
Plus, with books available in today's market that exclusively cover each of the topics presented in this book, I wonder what is it that is "advanced" one would learn from this book.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
20 of 23 people found the following review helpful By A Customer on January 15, 2000
Format: Paperback
The authors make this book appear as an extension to Java tutorial available on the web. The depth of coverage is just enough to understand the basic concepts of the "advanced" topics.
But as a whole, it is a good book to understand the fundamentals of topics like JDBC, RMI, (a little bit of CORBA-idl), and Java 2 security.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
40 of 51 people found the following review helpful By JM on January 6, 2000
Format: Paperback
Covers all advanced Java topics but the coverage is preliminary.Wasted two chapters trying to cover Advanced swing and Advanced AWT. Graphic Java 2 does a much better job.A bit dissapointed when compared to Vol I . Vol II doesnt have the VB code snippets and C++ analogies which was an irritating feature of Vol I. But as the book is available on great discounts at most online stores its worth the money spent.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
9 of 10 people found the following review helpful By Robert A Hansen on May 1, 2000
Format: Paperback
I have read both the Volume one and Volume two of this series and I must say that this book lacked some of the excitement of the first book. The first book did a great job of getting one involved in JAVA and provided clear examples for those that have written C and VB. Gone are the VB/C++ user tips. Some sections are just very unclear like JDBC where I had to resort to other materials to figure out driver configurations and how to actually get a driver for the database I am using.
The book is still otherwise well written and does retain some of the magic of it's first volume. The networking chapter in particular was very good as was the coverage of Advanced Swing concepts.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again

Most Recent Customer Reviews


More About the Author

Cay S. Horstmann is also coauthor of Core JavaServer Faces, Second Edition (Prentice Hall, 2007). Cay is a professor of computer science at San Jose State University, a Java Champion, and a frequent speaker at computer industry conferences.

What Other Items Do Customers Buy After Viewing This Item?