Upgrade to Java SE 7 Programmer (1Z0-805) Guide

Mikalai Zaikin



Belarus
Minsk

Redistribution of this document is permitted as long as it is not used for profits.

April 2012

Revision History
Revision $Revision: 115 $$Date: 2012-06-15 01:02:15 +0300 (пт, 15 Чэр 2012) $$Author: mzaikin $
$Id: ocpjp7-upgrade.xml 115 2012-06-14 22:02:15Z mzaikin $

Abstract

The purpose of this document is to help in preparation for Upgrade to Java SE 7 Programmer Exam (1Z0-805).

This document should not be used as the only study material for Upgrade to Java SE 7 Programmer Test. It might cover not all objective topics, and it might be not enough. I tried to make this document as much accurate as possible, but if you find any error, please let me know.


Preface
I. Exam Objectives
1. Language Enhancements
1.1. Use String in the switch statement
1.2. Use binary literals, numeric literals with underscores
1.3. Use try-with-resources
1.4. Use multi-catch in exception statements
1.5. Use the diamond operator with generic declarations
1.6. Use more precise rethrow in exceptions
2. Design Patterns
2.1. Design a class using the Singleton design pattern
2.2. Identify when and how to use composition to solve business problems
2.3. Write code to implement the DAO Pattern
2.4. Design a class that uses the Factory design pattern
2.5. Database Applications with JDBC
3. Describe the JDBC API
3.1. Identify the Java statements required to connect to a database using JDBC
3.2. Use the JDBC 4.1 RowSetProvider, RowSetFactory, and new RowSet interfaces
3.3. Use JDBC transactions
3.4. Use the proper JDBC API to submit queries and read results from the database
3.5. Use JDBC PreparedStatement and CallableStatement
4. Concurrency
4.1. Identify potential threading problems
4.2. Use java.util.concurrent collections
4.3. Use atomic variables and locks
4.4. Use Executors and ThreadPools
4.5. Use the parallel Fork/Join framework
5. Localization
5.1. Describe the advantages of localizing an application
5.2. Define what a locale represents
5.3. Read and set the locale by using the Locale object
5.4. Build a resource bundle for each locale
5.5. Call a resource bundle from an application
5.6. Select a resource bundle based on locale
5.7. Format text for localization by using NumberFormat and DateFormat
6. Java File I/O (NIO.2)
6.1. Use the Path class to operate on file and directory paths
6.2. Use the Files class to check, delete, copy, or move a file or directory
6.3. Read and change file and directory attributes
6.4. Recursively access a directory tree
6.5. Find a file by using the PathMatcher class
6.6. Watch a directory for changes by using WatchService
Bibliography
II. Appendices
1. Language Enhancements
1.1. Use String in the switch statement - Source Code
1.2. Use binary literals, numeric literals with underscores - Source Code
1.3. Use try-with-resources - Source Code
1.4. Use multi-catch in exception statements - Source Code
1.5. Use the diamond operator with generic declarations - Source Code
2. Design Patterns
2.1. Design a class using the Singleton design pattern - Source Code
2.2. Identify when and how to use composition to solve business problems - Source Code
2.3. Write code to implement the DAO Pattern - Source Code
2.4. Design a class that uses the Factory design pattern - Source Code
2.5. Database Applications with JDBC - Source Code
3. Describe the JDBC API
3.1. Identify the Java statements required to connect to a database using JDBC - Source Code
3.2. Use the JDBC 4.1 RowSetProvider, RowSetFactory, and new RowSet interfaces - Source Code
3.3. Use JDBC transactions - Source Code
3.4. Use the proper JDBC API to submit queries and read results from the database - Source Code
3.5. Use JDBC PreparedStatement and CallableStatement - Source Code
4. Concurrency
4.1. Identify potential threading problems - Source Code
4.2. Use java.util.concurrent collections - Source Code
4.3. Use atomic variables and locks - Source Code
4.4. Use Executors and ThreadPools - Source Code
4.5. Use the parallel Fork/Join framework - Source Code
5. Localization
5.1. Describe the advantages of localizing an application - Source Code
5.2. Define what a locale represents - Source Code
5.3. Read and set the locale by using the Locale object - Source Code
5.4. Build a resource bundle for each locale - Source Code
5.5. Call a resource bundle from an application - Source Code
5.6. Select a resource bundle based on locale - Source Code
5.7. Format text for localization by using NumberFormat and DateFormat - Source Code
6. Java File I/O (NIO.2)
6.1. Use the Path class to operate on file and directory paths - Source Code
6.2. Use the Files class to check, delete, copy, or move a file or directory - Source Code
6.3. Read and change file and directory attributes - Source Code
6.4. Recursively access a directory tree - Source Code
6.5. Find a file by using the PathMatcher class - Source Code
6.6. Watch a directory for changes by using WatchService - Source Code
7. Additional material
7.1. SAMPLE Derby Database DDL (for chapter 3 examples)
Professional hosting         Free 'Oracle Certified Expert Web Services Developer 6' Guide     Free SCDJWS 5.0 Guide


webhosting provided by ixvar inc