OCPJP 7 Upgrade Exam Objectives

Section 1: Language Enhancements
  1. Use String in the switch statement
  2. Use binary literals, numeric literals with underscores
  3. Use try-with-resources
  4. Use multi-catch in exception statements
  5. Use the diamond operator with generic declarations
  6. Use more precise rethrow in exceptions
Section 2: Design Patterns
  1. Design a class using the Singleton design pattern
  2. Identify when and how to use composition to solve business problems
  3. Write code to implement the DOA Pattern
  4. Design a class that uses the Factory design pattern
  5. Database Applications with JDBC
Section 3: Describe the JDBC API
  1. Identify the Java statements required to connect to a database using JDBC
  2. Use the JDBC 4.1 RowSetProvider, RowSetFactory, and new RowSet interfaces
  3. Use JDBC transactions
  4. Use the proper JDBC API to submit queries and read results from the database.
  5. Use JDBC PreparedStatement and CallableStatement
Section 4: Concurrency
  1. Identify potential threading problems
  2. Use java.util.concurrent collections
  3. Use atomic variables and locks
  4. Use Executors and ThreadPools
  5. Use the parallel Fork/Join framework
Section 5: Localization 
  1. Describe the advantages of localizing an application
  2. Define what a locale represents
  3. Read and set the locale by using the Locale object
  4. Build a resource bundle for each locale
  5. Call a resource bundle from an application
  6. Select a resource bundle based on locale
  7. Format text for localization by using NumberFormat and DateFormat
Section 6: Java File I/O (NIO.2)
  1. Use the Path class to operate on file and directory paths
  2. Use the Files class to check, delete, copy, or move a file or directory
  3. Read and change file and directory attributes
  4. Recursively access a directory tree
  5. Find a file by using the PathMatcher class
  6. Watch a directory for changes by using WatchService