SCJA Sun Certified Java Associate Study Guide (Exam CX-310-019)

Book description

  • The SCJA certification is for entry-level Java programmers interested in pursuing a career in application development or software project management

Table of contents

  1. Cover Page
  2. SCJA Sun® Certified Java™ Associate Study Guide
  3. Copyright Page
  4. CD Page
  5. About the Authors
  6. Contents
  7. Acknowledgments
  8. Preface
  9. Introduction
  10. Part I Fundamental Java Elements
    1. 1 Packaging, Compiling, and Interpreting Java Code
      1. Understanding Packages
        1. Package Design
        2. package and import Statements
        3. Exercise 1-1: Replacing Implicit import Statements with Explicit import Statements
      2. Understanding Package-Derived Classes
        1. Java Utilities API
        2. Java Basic Input/Output API
        3. The Java Networking API
        4. Java Abstract Window Toolkit API
        5. Java Swing API
        6. Exercise 1-2: Understanding Extended Functionality of the Java Utilities API
      3. Compiling and Interpreting Java Code
        1. Java Compiler
        2. Java Interpreter
        3. Exercise 1-3: Compiling and Interpreting Packaged Software
        4. Two-Minute Drill
        5. Self Test
        6. Self Test Answers
    2. 2 Programming with Java Statements
      1. Understanding Fundamental Statements
        1. Assignment Statements
        2. Conditional Statements
        3. Iteration Statements
        4. Exercise 2-1: Iterating Through an ArrayList While Applying Conditions
        5. Exercise 2-2: Performing Code Refactoring
      2. Implementing Statement-Related Algorithms from Pseudo-code
        1. Pseudo-code Algorithms
        2. Exercise 2-3: Knowing Your Statement-Related Keywords
        3. Pseudo-code Algorithms and Java
        4. Exercise 2-4: Implementing Pseudo-code Algorithm #1
        5. Exercise 2-5: Implementing Pseudo-code Algorithm #2
        6. Exercise 2-6: Implementing Pseudo-code Algorithm #3
        7. Two-Minute Drill
        8. Self Test
        9. Self Test Answers
    3. 3 Programming with Java Operators and Strings
      1. Understanding Fundamental Operators
        1. Assignment Operators
        2. Exercise 3-1: Using Compound Assignment Operators
        3. Arithmetic Operators
        4. Relational Operators
        5. Logical Operators
      2. Developing with String Objects and Their Methods
        1. Strings
        2. The String Concatenation Operator
        3. Exercise 3-2: Uncovering Bugs that Your Compiler May Not Find
        4. Methods of the String Class
        5. Two-Minute Drill
        6. Self Test
        7. Self Test Answers
  11. Part II Object-Oriented Basic Concepts
    1. 4 Working with basic Classes and Variables
      1. Understanding Primitives, Enumerations, and Objects
        1. Primitives
        2. Objects
        3. Exercise 4-1: Compile and Run an Object
        4. Arrays
        5. Enumerations
        6. Java Is Strongly Typed
        7. Naming Conventions
      2. Practical Uses of Primitives, Enumerations, and Objects
        1. Literals
        2. Examples of Primitives, Enumerations, and Objects
        3. Two-Minute Drill
        4. Self Test
        5. Self Test Answers
    2. 5 Understanding Variable Scope and Class Construction
      1. Understanding Variable Scope
        1. Local Variables
        2. Method Parameters
        3. Instance Variables
        4. Constructing Methods
        5. Method Inputs
        6. Method Outputs
        7. Two-Minute Drill
        8. Self Test
        9. Self Test Answers
    3. 6 Working with Classes and Their relationships
      1. Understanding Class Compositions and Associations
        1. Class Compositions and Associations
        2. Class Relationships
        3. Multiplicities
        4. Association Navigation
      2. Class Compositions and Associations in Practice
        1. Examples of Class Association Relationships
        2. Examples of Class Composition Relationships
        3. Examples of Association Navigation
        4. Two-Minute Drill
        5. Self Test
        6. Self Test Answers
    4. 7 Understanding Class Inheritance
      1. Inheritance and Class Type
        1. Inheritance
        2. Overriding Methods
        3. Abstract Classes
        4. Interfaces
        5. Advanced Concepts of Inheritance
      2. Encapsulation
        1. Good Design with Encapsulation
        2. Access Modifiers
        3. Setters and Getters
      3. Advanced Examples of Classes with Inheritance and Encapsulation
        1. Examples of Java Access Modifiers
        2. Examples of Inheritance with Concrete Classes
        3. Examples of Inheritance with Abstract Classes
        4. Exercise 7-1: Add Functionality to the Plant Simulator
        5. Examples of Interfaces
        6. Two-Minute Drill
        7. Self Test
        8. Self Test Answers
    5. 8 Understanding Polymorphism
      1. Polymorphism
        1. Polymorphism
        2. Programming to an Interface
      2. Practical Examples of Polymorphism
        1. Examples of Polymorphism
        2. Exercise 8-1: Add Functionality to the Describable Example
        3. Examples of Programming to an Interface
        4. Two-Minute Drill
        5. Self Test
        6. Self Test Answers
    6. 9 Representing Object-Oriented Concepts with UML
      1. Recognizing Representations of Significant UML Elements
        1. Classes, Abstract Classes, and Interface Diagrams
        2. Attributes and Operations
        3. Visibility Modifiers
        4. Exercise 9-1: Creating a Basic UML Diagram with a UML Tool
      2. Recognizing Representations of UML Associations
        1. Graphic Paths
        2. Exercise 9-2: Hand-Drawing UML Diagrams from the Java API Specification
        3. Relationship Specifiers
        4. Two-Minute Drill
        5. Self Test
        6. Self Test Answers
  12. Part III Java-Related Platforms and Technologies
    1. 10 Understanding Java-Related Platforms and Integration Technologies
      1. Understanding Java Platforms
        1. Java Platform, Standard Edition
        2. Java 2 Platform, Micro Edition
        3. Java Platform, Enterprise Edition
        4. Exercise 10-1: Embracing Java Technology Forums as Valuable Information Resources
      2. Working with the Java Remote Method Invocation API
        1. The Java Remote Method Invocation API
      3. Working with Database Technologies
        1. Relational Database Management Systems
        2. Structured Query Language
        3. The Java Database Connectivity API
      4. Working with Additional Java Integration APIs
        1. The Java Naming and Directory Interface API
        2. The Java Message Service API
        3. Two-Minute Drill
        4. Self Test
        5. Self Test Answers
    2. 11 Understanding Client-Side Technologies
      1. Using Thin Clients with HTML and the JavaScript API
        1. HyperText Markup Language
        2. JavaScript API
        3. Thin Clients
        4. Thin-Client Disadvantages
        5. Thin-Client Deployment
      2. Using J2ME MIDlets
        1. J2ME and MIDlets
        2. Configurations and Profiles
        3. J2ME Disadvantages
        4. J2ME Deployment
      3. Using Java Applets as Fat Clients
        1. Java Applets
        2. Java Applet Disadvantages
        3. Java Applet Deployment
      4. Using the Java Swing API as a Fat Client
        1. Java Swing API
        2. Java Swing API Disadvantages
        3. Java Swing API Deployment
        4. Two-Minute Drill
        5. Self Test
        6. Self Test Answers
    3. 12 Understanding Server-Side Technologies
      1. Understanding Java EE–Related Tiers and Technologies
        1. Pros and Cons of the Server Side
        2. Enterprise Tiers
      2. Understanding Server-Side Solutions
        1. Java Web Services
        2. SMTP and the JavaMail API
        3. Java API for XML-Based Remote Procedure Call
      3. Understanding Dynamic Web Content Solutions
        1. Java Servlet API
        2. JavaServer Pages API
        3. Exercise 12-1: Creating Servlets, JSP Pages, and JSF Pages
      4. Understanding Enterprise Business Logic Solutions
        1. Enterprise JavaBeans API
        2. Two-Minute Drill
        3. Self Test
        4. Self Test Answers
  13. Part IV Appendixes
    1. A About the CD
    2. B Exam-Related Packages and Classes
    3. C Unicode Standard
    4. D Bracket Conventions
  14. Glossary
  15. Index
  16. MediaCenter Page

Product information

  • Title: SCJA Sun Certified Java Associate Study Guide (Exam CX-310-019)
  • Author(s): Robert Liguori, Edward Finegan
  • Release date: September 2009
  • Publisher(s): McGraw-Hill
  • ISBN: 9780071594844