Home > Store > Programming > Java

larger cover

Add To My Wish List

Core Java, Volume II--Advanced Features, 8th Edition

Register your product to gain access to bonus material or receive a coupon.

  • Description
  • Extras
  • Reviews
  • Sample Content

Product Author Bios

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.


Gary Cornell has been writing and teaching programming professionals for more than twenty years and is the cofounder of Apress. He has written numerous best-selling books for programming professionals, was a cofinalist for a Jolt Award, and won the Readers' Choice award from Visual Basic Magazine.

The revised edition of the classic Core Java™, Volume II–Advanced Features, covers advanced user-interface programming and the enterprise features of the Java SE 6 platform. Like Volume I (which covers the core language and library features), this volume has been updated for Java SE 6 and new coverage is highlighted throughout. All sample programs have been carefully crafted to illustrate the latest programming techniques, displaying best-practices solutions to the types of real-world problems professional developers encounter.

 

Volume II includes new sections on the StAX API, JDBC 4, compiler API, scripting framework, splash screen and tray APIs, and many other Java SE 6 enhancements. In this book, the authors focus on the more advanced features of the Java language, including complete coverage of 

  • Streams and Files
  • Networking
  • Database programming
  • XML
  • JNDI and LDAP
  • Internationalization
  • Advanced GUI components
  • Java 2D and advanced AWT
  • JavaBeans
  • Security
  • RMI and Web services
  • Collections
  • Annotations
  • Native methods

For thorough coverage of Java fundamentals–including interfaces and inner classes, GUI programming with Swing, exception handling, generics, collections, and concurrency–look for the eighth edition of Core Java™, Volume I–Fundamentals (ISBN: 978-0-13-235476-9).

Related Article

Nonlinear Code Management in EJB3

Author's Site

Visit the author's website at horstmann.com/corejava.

Customer Reviews

20 of 21 people found the following review helpful
5.0 out of 5 stars Outstanding programming resource, and a massive one., May 20, 2008
This review is from: Core Java, Vol. 2: Advanced Features, 8th Edition (Paperback)
In my review of Professional Java JDK 6 Edition, I said I didn't think one book could cover such a wide variety of topics and expect to do a good job overall. This volume is, I think, an exception that proves the rule.

It is indeed a monster book, easily several months of steady work to get through, and an useful reference afterwards as well. It is well put together, clearly written, methodically presented. I wouldn't put it down if that were possible. The coverage is broad and the examples are interesting. The topics also feel complete, not because they are thorough, but because they leave off right where intermediate-level programmers could work out most details on their own.

I read the first and second editions years ago, and I must say this title has become a case study in steady, disciplined, tireless improvement... Read more
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


16 of 17 people found the following review helpful
4.0 out of 5 stars Clear but brief overview of advanced features of J2SE 1.5, May 28, 2006
By 
calvinnme - See all my reviews
(HALL OF FAME REVIEWER)    (TOP 500 REVIEWER)    (VINE VOICE)   
Amazon Verified Purchase(What's this?)
This book does not substitute for all of the specialized books on the subjects that it covers, and it is by no means encyclopedic in scope. However, even in its 7th edition it is still the best and the clearest overview of advanced features of the language for Java 1.5. What is particularly nice is that the author has split his Core Java series up such that if your goal is just to learn the language you need only buy volume one, and if your goal is to get a handle on the changes in the advanced features of the language you need only buy volume 2. They are pretty much independent of one another. Add to that the fact that both of these volumes can be found used for about $20 each, and it is definitely worth the purchase. The writing style is very clear with much sample code. The author even gives a little bit of background showing how each feature of the language has changed over the years. I notice that Amazon only shows the table of contents for the previous edition, so I show the... Read more
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


18 of 20 people found the following review helpful
4.0 out of 5 stars Walkthroughs of the core APIs, January 9, 2005
By 
This is a nice set of walkthroughs on the basic APIs that are just outside of the core Java language presented in the first book. These include threading, Swing, AWT, JDBC, Networking, JavaBeans and JNI. Some of the coverage is more in-depth than in other parts. In particular Swing and AWT are covered richly, while networking and JNI get shorter shrift.

Given that Swing and AWT are not at the core of modern Java development I would have liked to have seen more of this tome sized book spent on threading, JDBC and networking. And it would have been nice to see some serious coverage of EJB. That being said, what is there is well written, has good example code, and effective illustrations.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


Share your thoughts with other customers:
 See all 37 customer reviews...

Online Sample Chapter

Core Java Security: Class Loaders, Security Managers, and Encryption

Table of Contents

Preface xv

Acknowledgments xix

 

Chapter 1: Streams and Files 1

Streams 2

Text Input and Output 11

Reading and Writing Binary Data 23

ZIP Archives 32

Object Streams and Serialization 39

File Management 59

New I/O 65

Regular Expressions 75

 

Chapter 2: XML 87

Introducing XML 88

Parsing an XML Document 93

Validating XML Documents 105

Locating Information with XPath 129

Using Namespaces 136

Streaming Parsers 138

Generating XML Documents 146

XSL Transformations 157

 

Chapter 3: Networking 169

Connecting to a Server 170

Implementing Servers 177

Interruptible Sockets 184

Sending E-Mail 191

Making URL Connections 196

 

Chapter 4: Database Programming 217

The Design of JDBC 218

The Structured Query Language 222

JDBC Configuration 227

Executing SQL Statements 232

Query Execution 242

Scrollable and Updatable Result Sets 254

Row Sets 260

Metadata 263

Transactions 273

Connection Management in Web and Enterprise Applications 278

Introduction to LDAP 279

 

Chapter 5: Internationalization 297

Locales 298

Number Formats 303

Date and Time 310

Collation 318

Message Formatting 324

Text Files and Character Sets 328

Resource Bundles 329

A Complete Example 333

 

Chapter 6: Advanced Swing 351

Lists 352

Tables 370

Trees 405

Text Components 442

Progress Indicators 479

Component Organizers 492

 

Chapter 7: Advanced AWT 521

The Rendering Pipeline 522

Shapes 524

Areas 540

Strokes 542

Paint 550

Coordinate Transformations 552

Clipping 557

Transparency and Composition 559

Rendering Hints 568

Readers and Writers for Images 575

Image Manipulation 585

Printing 601

The Clipboard 635

Drag and Drop 652

Platform Integration 668

 

Chapter 8: Javabeans Components 685

Why Beans? 686

The Bean-Writing Process 688

Using Beans to Build an Application 690

Naming Patterns for Bean Properties and Events 698

Bean Property Types 701

BeanInfo Classes 710

Property Editors 713

Customizers 723

JavaBeans Persistence 732

 

Chapter 9: Security 755

Class Loaders 756

Bytecode Verification 767

Security Managers and Permissions 771

User Authentication 790

Digital Signatures 805

Code Signing 822

Encryption 828

 

Chapter 10: Distributed Objects 841

The Roles of Client and Server 842

Remote Method Calls 845

The RMI Programming Model 846

Parameters and Return Values in Remote Methods 856

Remote Object Activation 865

Web Services and JAX-WS 871

 

Chapter 11: Scripting, Compiling, and Annotation Processing 883

Scripting for the Java Platform 884

The Compiler API 895

Using Annotations 905

Annotation Syntax 911

Standard Annotations 915

Source-Level Annotation Processing 919

Bytecode Engineering 926

 

Chapter 12: Native Methods 935

Calling a C Function from a Java Program 936

Numeric Parameters and Return Values 942

String Parameters 944

Accessing Fields 950

Encoding Signatures 954

Calling Java Methods 956

Accessing Array Elements 962

Handling Errors 966

Using the Invocation API 970

A Complete Example: Accessing the Windows Registry 975

 

Index 991

Sample Pages

Download the sample pages

 
Best Value

Book + eBook Bundle  $107.98  $64.79

Book Price $47.99
eBook Price $16.80
eBook formats included

Buy

This book includes free shipping!

Buy

Book  $59.99  $47.99

Usually ships in 24 hours.

This book includes free shipping!

Buy

eBook (Watermarked)  $47.99  $38.39

Includes EPUB, MOBI, and PDF
About eBook Formats

This eBook includes the following formats, accessible from your Account page after purchase:

ePubEPUBThe open industry format known for its reflowable content and usability on supported mobile devices.

MOBIMOBIThe eBook format compatible with the Amazon Kindle and Amazon Kindle applications.

Adobe ReaderPDFThe popular standard, used most often with the free Adobe® Reader® software.

This eBook requires no passwords or activation to read. We customize your eBook by discretely watermarking it with your name, making it uniquely yours.

Purchase Reward: One Month Free Subscription
By completing any purchase on InformIT, you become eligible for an unlimited access one-month subscription to Safari Books Online.

Get access to thousands of books and training videos about technology, professional development and digital media from more than 40 leading publishers, including Addison-Wesley, Prentice Hall, Cisco Press, IBM Press, O'Reilly Media, Wrox, Apress, and many more. If you continue your subscription after your 30-day trial, you can receive 30% off a monthly subscription to the Safari Library for up to 12 months. That's a total savings of $199.