You are previewing NetBeans IDE Programmer Certified Expert Exam Guide (Exam 310-045).
O'Reilly logo
NetBeans IDE Programmer Certified Expert Exam Guide (Exam 310-045)

Book Description

The Best Fully Integrated Study System AvailableWith hundreds of practice questions and hands-on exercises, NetBeans IDE Programmer Certified Expert Exam Guide covers what you need to know--and shows you how to prepare--for this challenging exam.

Table of Contents

  1. Cover Page
  2. NetBeans IDE Programmer Certified Expert Exam Guide (Exam 310-045)
  3. Copyright Page
  4. Contents
  5. Preface
  6. Acknowledgments
  7. Introduction
  8. Part I NetBeans IDE Fundamentals
    1. 1 General Configurations
      1. Configuring IDE Functionality
        1. Options Window
        2. Plugin Manager
        3. Exercise 1-1: Installing the Sun SPOT NetBeans Plugin
      2. Working with Configuration Files and Directories
        1. Exercise 1-2: Changing the Default Java Heap Size
      3. Debugging with External Libraries
        1. Classpath Types
        2. Library Manager
        3. Project Libraries
        4. Library Sharing
        5. Exercise 1-3: Configure a Global Library and Import
      4. Developing with the JDK
        1. Exercise 1-4: Configuring a Second JDK
      5. Two-Minute Drill
      6. Q∓A Self Test
      7. Self Test Answers
    2. 2 Builds and Controls
      1. Understanding Free-Form Projects
        1. Creating a Project
        2. Editing Project Properties
        3. Integrating JUnit
        4. Profiling
        5. Debugging
        6. Exercise 2-1: Creating a Free-Form Project
      2. Using Version Control Systems
        1. Visual Feedback
        2. File Diff Utility
        3. CVS
        4. Subversion
        5. Exercise 2-2: Checking Out a Subversion Project
        6. Mercurial
        7. Exercise 2-3: Creating a Mercurial Project and Cloning
        8. Local History
        9. Exercise 2-4: Experimenting with Local History
      3. Working with Build Files and Processes
        1. Project Structure
        2. Running Targets
        3. Customizing Ant Scripts
        4. Exercise 2-5: Creating a Free-Form Project
      4. Configuring the JDK into the Project
        1. Exercise 2-6: Back in Time to an Older JDK
      5. Two-Minute Drill
      6. Self Test
      7. Self Test Answers
    3. 3 Java SE Desktop Applications
      1. Creating Desktop Applications from Existing Sources
        1. Step 1: Choose Project
        2. Step 2: Name And Location
        3. Step 3: Existing Sources
        4. Step 4: Includes & Excludes
        5. Exercise 3-1: Creating a Java Program with Existing Sources
      2. Managing Classpaths for Compilation and Debugging
        1. Understanding Classpath Types
        2. Editing Java SE Project Classpaths
        3. Understanding Project Classpath Differences
        4. Configuring Classpath Variables
        5. Exercise 3-2: Managing the Classpath
      3. Creating Forms with the GUI Builder
        1. Touring the Editor
        2. Creating Forms and Adding Components
        3. Working with Layouts
        4. Exercise 3-3: Free Design Layout
        5. Exercise 3-4: Free Design Layout Using GridBag Layout
        6. Navigating Generated Code
        7. Generating Event Listeners
        8. Understanding Beans Binding
        9. Exercise 3-5: Beans Binding and JavaBeans
        10. Exercise 3-6: Beans Binding and Swing Components
        11. Understanding Internationalization Support
      4. Packaging and Distributing Java Desktop Projects
        1. Creating an Executable JAR
        2. Deploying via Java Web Start
        3. Exercise 3-7: Using Java Web Start
        4. Exercise 3-8: Creating an Executable JAR
      5. Two-Minute Drill
      6. Self Test
      7. Self Test Answers
  9. Part II NetBeans IDE Development Support
    1. 4 Java EE Web Applications
      1. Creating Web Applications from Existing Sources
        1. Step 1: Choose Project
        2. Step 2: Name And Location
        3. Step 3: Server And Settings
        4. Step 4: Existing Sources And Libraries
        5. Exercise 4-1: Creating a Web Program with Existing Sources
      2. Adding and Using NetBeans-Available Web Frameworks
        1. Adding Web Frameworks
        2. Understanding Web Frameworks
        3. Exercise 4-2: Making Use of JavaServer Faces Libraries
      3. Understanding the Visual Web JSF Framework
        1. Visual Web Frameworks
        2. Exercise 4-3: Working with a Visual Web JSF Sample Application
        3. Deployment Descriptor Visual Editors
      4. Working with Server Instances
        1. Registration
        2. Exercise 4-4: Integrating an Application Server with a NetBeans Server Plugin
        3. IDE/Server Integration
      5. Building and Deploying Web Applications
        1. Common Development Tasks
        2. Configuring Build Settings
        3. Deployment Processes
      6. Two-Minute Drill
      7. Self Test
      8. Self Test Answers
    2. 5 Database Connectivity
      1. Working with Databases in the IDE
        1. Database Explorer
        2. Exercise 5-1: Registering a JDBC Driver
        3. Database Support Components
        4. Exercise 5-2: Interfacing with the Sakila Database Through the Database Explorer
      2. Two-Minute Drill
      3. Self Test
      4. Self Test Answers
    3. 6 Source Editor
      1. Modifying Behavior of the Source Editor
        1. Editor Panel Configurations
        2. Fonts & Colors Panel Configurations
        3. Keymap Panel Configurations
        4. Exercise 6-1: Changing Behavior of the Source Editor
      2. Understanding Error Highlighting and Correction
        1. Projects Window Diagnostic Icons
        2. Source Editor Left Margin Annotation Diagnostic Glyphs
        3. Source Editor Diagnostic Highlighting
        4. Exercise 6-2: Highlighting Errors in Source Code and Related Files
        5. Error Stripe Diagnostic Marks
        6. Output Window Diagnostic Messages
      3. Using Editor Hints
        1. Class Importing Hints
        2. Missing Methods, Fields, and Variable Hints
        3. Inherited Methods Implementation Hints
        4. Exercise 6-3: Inserting a Cast from an Editor Hint
        5. Exercise 6-4: Producing Annotation Glyph Icons in the Left Margin
      4. Generating Code
        1. Code Completion
        2. Code Templates
        3. Exercise 6-5: Creating a HelloWorld Project in 30 Seconds
        4. Live Code Templates
        5. Exercise 6-6: Writing Descriptions for Code Templates
      5. Two-Minute Drill
      6. Self Test
      7. Self Test Answers
    4. 7 Refactoring Support
      1. NetBeans Refactoring Architecture
        1. Exercise 7-1: Understanding the NetBeans Refactoring Process
      2. Refactoring Source Code
        1. Best Practices Refactorings
        2. Simplification Refactorings
        3. Generalization and Realization Refactorings
        4. Organizational Refactorings
        5. Refactoring Management
        6. Exercise 7-2: Becoming Familiar with the Refactoring Catalog
      3. Two-Minute Drill
      4. Self Test
      5. Self Test Answers
  10. Part III NetBeans IDE Application Tools
    1. 8 HTTP Server-Side Monitor
      1. Using the HTTP Server-Side Monitor
        1. The HyperText Transfer Protocol Standard
        2. HTTP Server-Side Monitor Setup
        3. Exercise 8-1: Monitoring HTTP Requests Against GlassFish
        4. HTTP Server-Side Monitor Usage
      2. Two-Minute Drill
      3. Self Test
      4. Self Test Answers
    2. 9 Local and Remote Debuggers
      1. Debugging Local Applications
        1. Session Establishment
        2. Breakpoint Settings
        3. Exercise 9-1: Applying Conditions to Breakpoints
        4. Code Stepping
        5. Debugging Support Windows
      2. Debugging Remote Applications
        1. Differences Between Local and Remote Debugging
        2. Web Application Debugging
        3. Exercise 9-2: Debugging Various Files in a Web Application
      3. Two-Minute Drill
      4. Self Test
      5. Self Test Answers
    3. 10 Testing and Profiling
      1. Testing Applications with JUnit
        1. Understanding JUnit Basics and Versions
        2. Creating JUnit Tests and Suites
        3. Managing Testing Classpath
        4. Running JUnit Tests
        5. Exercise 10-1: Running Unit Tests
        6. Exercise 10-2: Creating Unit Test
        7. Configuring Continuous Integration Support
        8. Exercise 10-3: Unit Testing with Hudson
      2. Using the NetBeans Profiler
        1. Optimizing Java Applications
        2. Launching the Profiler
        3. Attaching a Profiler to a Local Application
        4. Exercise 10-4: Attaching the Profiler
        5. Monitoring a Desktop Application
        6. Exercise 10-5: Deadlocking Thread
        7. Understanding CPU Performance
        8. Using Profiling Points
        9. Understanding Memory Usage
        10. Exercise 10-6: Memory Profiling
        11. Using the HeapWalker
        12. Exercise 10-7: Memory Profiling
      3. Two-Minute Drill
      4. Self Test
      5. Self Test Answers
  11. Part IV Appendixes
    1. A NetBeans Versions
      1. NetBeans IDE Versions
        1. Supported Technologies
        2. New Features
    2. B NetBeans Installations
      1. NetBeans IDE Installations
        1. Microsoft Windows
        2. OpenSolaris
        3. Mac OS X
        4. Linux
        5. OS Independent Zip
    3. C NetBeans Keymap
      1. NetBeans IDE 6.1 Keymap
        1. File Shortcuts
        2. Code Folding Shortcuts
        3. Navigation Shortcuts
        4. Source Shortcuts
        5. Refactoring Shortcuts
        6. Run Shortcuts
        7. Debugging Shortcuts
        8. Debugging Window Shortcuts
        9. Profiling Shortcuts
        10. Window Shortcuts
        11. Traditional Editor Functions Shortcuts
        12. Miscellaneous
        13. Help Shortcuts
        14. Function Key Shortcuts
        15. Shortcut Reference Documentation
    4. D NetBeans Code Templates
      1. NetBeans IDE 6.1 Code Templates
        1. Java Code Templates
    5. E About the Download
      1. About the Download
        1. Steps to Download MasterExam
        2. System Requirements
        3. MasterExam
        4. Bonus Appendixes
        5. NetBeans IDE Installation Bundles
        6. Help
        7. Removing Installation
        8. Technical Support
        9. LearnKey Technical Support
  12. Glossary
  13. Index