did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

We're the #1 textbook rental company. Let us show you why.

9781590595169

SCJD Exam with J2SE 5

by
  • ISBN13:

    9781590595169

  • ISBN10:

    1590595165

  • Edition: 2nd
  • Format: Paperback
  • Copyright: 2005-12-26
  • Publisher: Springer-Verlag New York Inc
  • Purchase Benefits
  • Free Shipping Icon Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • eCampus.com Logo Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $49.99 Save up to $33.11
  • Buy New
    $48.49
    Add to Cart Free Shipping Icon Free Shipping

    USUALLY SHIPS IN 2-3 BUSINESS DAYS

Supplemental Materials

What is included with this book?

Summary

In today's tight job market, certification is an important means for IT professionals to demonstrate their proficiency in a particular skill set. Certification is particularly key in the Java community, where five official exams are maintained by Sun, the creator of the Java language. Developers seeking to obtain such credentials regarding the J2SE component of Java are required to take the Sun Certified Java Developer Exam. This second edition is an indispensable guide for conquering the exam. Updated for the new Java version, J2SE 5.0, this book provides practical instruction for mastering these new features by working through a project with requirements and structure similar to the project found in the Sun Certified Java Developer (SCJD) examination.

Table of Contents

About the Authorsp. xi
About the Technical Reviewerp. xiii
Acknowledgmentsp. xv
Introductionp. xvii
Introduction and General Development Considerations
Introductionp. 3
J2SE 5p. 3
The SCJD Examp. 4
The Certification Processp. 4
Downloading the Assignmentp. 5
Documentation and Questionsp. 5
Who Should Read This Bookp. 6
About This Bookp. 6
Setting Up the J2SE 5 JDK and Environmental Variablesp. 8
Summaryp. 8
FAQsp. 8
Project Analysis and Designp. 11
Implementing a Projectp. 11
Getting Startedp. 12
Gathering Requirementsp. 12
Using Accepted Design Patternsp. 14
Documenting Design Decisionsp. 15
Testingp. 15
Organizing a Projectp. 16
High-Level Documentationp. 17
Design Decisions Documentp. 18
Java Coding Conventionsp. 19
Naming Conventionsp. 20
File Layoutp. 22
Source Code Formattingp. 24
Formatting of Comments Within the Codep. 28
Suggested Coding Conventions for New Features in JDK 5p. 29
Javadocp. 35
Coding Conventionsp. 36
Working with Packagesp. 44
Best Practicesp. 47
Writing Documentation As You Gop. 47
Assertionsp. 49
Loggingp. 50
Summaryp. 54
FAQsp. 54
Project Overviewp. 57
What Are the Essential Requirements for the Sun Certification Project?p. 57
Introducing the Sample Projectp. 59
Application Overviewp. 63
Summaryp. 66
FAQsp. 66
Implementing a J2SE Project
Threadingp. 71
Threading Fundamentalsp. 71
A Brief Review of Threadsp. 72
Multithreadingp. 73
Java's Multithreading Conceptsp. 73
Locksp. 87
Locking in JDK 5p. 96
Locking Summaryp. 98
Understanding Thread Safetyp. 98
Deadlocksp. 98
Race Conditionsp. 100
Starvationp. 102
Understanding Atomic Operationsp. 104
Thread Safety Summaryp. 106
Using Thread Objectsp. 106
Stopping, Suspending, Destroying, and Resumingp. 106
Thread Statesp. 107
More on Blockingp. 108
Synchronizationp. 111
Multithreading with Swingp. 113
Threading Best Practicesp. 114
Summaryp. 116
FAQsp. 116
The DvdDatabase Classp. 119
Creating the Classes Required for the DvdDatabase Classp. 119
The DVD Class: A Value Objectp. 119
Discussion Point: Handling Exceptions Not Listed in the Supplied Interfacep. 126
The DvdDatabase Class: A Facadep. 134
Accessing the Data: The DvdFileAccess Classp. 137
Discussion Point: Caching Recordsp. 148
The ReservationsManager Classp. 148
Discussion Point: Identifying the Owner of the Lockp. 150
Creating Our Logical Reserve Methodsp. 154
The Logical Release Methodp. 155
Summaryp. 160
FAQsp. 160
Networking with RMIp. 163
What Is Serialization?p. 164
Using the serialver Toolp. 165
The Serialization Processp. 166
Customizing Serialization with the Externalizable Interfacep. 169
Introducing RMIp. 171
The Delivery Stackp. 173
The Pros and Cons of Using RMI as a Networking Protocolp. 174
The Classes and Interfaces of RMIp. 175
What Is an RMI Factory?p. 177
Summaryp. 196
FAQp. 196
Networking with Socketsp. 199
Socket Overviewp. 199
Why Use Socketsp. 200
Socket Basicsp. 200
Addressesp. 200
TCP and UDP Sockets Overviewp. 201
TCP Socket Clientsp. 203
The DvdSocketClientp. 205
Socket Serversp. 212
Multicast and Unicast Serversp. 212
Multitaskingp. 212
The Server Socket Classp. 213
The Application Protocolp. 218
Summaryp. 222
FAQsp. 222
The Graphical User Interfacesp. 225
GUI Conceptsp. 226
Layout Conceptsp. 227
Human Interface Conceptsp. 228
Model-View-Controller Patternp. 234
Why Use the MVC Pattern?p. 234
MVC in Detailp. 234
Benefits of MVCp. 236
Drawbacks of MVCp. 236
Alternatives to MVCp. 237
Swing and the Abstract Windows Toolkitp. 237
Layout Manager Overviewp. 237
Look and Feelp. 241
The JLabel Componentp. 244
The JTextField Componentp. 245
The JButton Componentp. 248
The JRadioButton Componentp. 249
The JComboBox Componentp. 251
The BorderFactoryp. 251
The JTable Componentp. 254
The TableModelp. 255
Using the TableModel with a JTablep. 259
The JScrollPanep. 260
Bringing Denny's DVDs Togetherp. 262
Application Startup Classp. 262
The Client GUIp. 263
Specifying the Database Locationp. 273
The Server GUIp. 286
Swing Changes in J2SE 5p. 289
Improve Default Look and Feel of Swingp. 289
Skins Look and Feelp. 290
Adding Components to Swing Containers Has Been Simplifiedp. 290
Summaryp. 291
FAQsp. 291
Wrap-Up
Project Wrap-Upp. 295
Thread Safety and Lockingp. 296
The Choice Between RMI and Socketsp. 296
Benefits of Using a Serialized Objects Over Sockets Solutionp. 297
Benefits of Using an RMI Solutionp. 299
The MVC Pattern in the GUIp. 300
Locating the Code Samplesp. 301
Compiling and Packaging the Applicationp. 301
Creating a Manifest Filep. 303
Running rmic on the Remote Packagep. 304
Packaging the Applicationp. 305
Running the Denny's DVDs Applicationp. 306
Running the Client Application in Stand-alone Modep. 307
Running Denny's DVDs Serverp. 307
Running the Client Application in Networked Modep. 309
Testingp. 309
Packaging Your Submissionp. 318
Summaryp. 321
FAQsp. 322
Indexp. 325
Table of Contents provided by Ingram. All Rights Reserved.

Supplemental Materials

What is included with this book?

The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.

The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.

Rewards Program