Bookmark Topic Watch Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Studying for the Java 8 OCP upgrade exam? First pick the right exam. 1Z0-810 is for upgrading from Java 7 OCPJP to Java 8 OCPJP. 1Z0-813 is for upgrading from any SCJP/OCJP Java 6 or earlier.

This table shows what type of book covers the material for each objective. You'd think this would just boil down to "use a Java 8 cert book", but it is more involved that that. Neither upgrade exam is a direct subset of the OCP 8 exam. (Thanks Oracle). Ideally your cert review book has this information in an intro or appendix so you can map directly to the right chapters. It is still useful to have online in general.

1Z0-813- from Java 6 or earlier to Java 8

ObjectiveTextWhere to find material
Section 1: Language Enhancements
1.1Develop code that uses String objects in the switch statement, binary literals, and numeric literals, including underscores in literalsJava 7 or 8. Note: Make sure your Java 8 book covers this topic as it is only on the upgrade exam.
1.2Develop code that uses try-with-resources statements, including using classes that implement the AutoCloseable interfaceJava 7 or 8
1.3Develop code that handles multiple Exception types in a single catch blockJava 7 or 8
1.4Use static and default methods of an interface including inheritance rules for a default methodJava 8 specific
Section 2: Concurrency
2.1Use collections from the java.util.concurrent package with a focus on the advantages over and differences from the traditional java.util collectionsJava 7 or 8
2.2Use Lock, ReadWriteLock, and ReentrantLock classes in the java.util.concurrent.locks and java.util.concurrent.atomic packages to support lock-free thread-safe programming on single variablesJava 7 or 8. Note: Make sure your Java 8 book covers this topic as it is only on the upgrade exam.
2.3Use Executor, ExecutorService, Executors, Callable, and Future to execute tasks using thread poolsJava 7 or 8
2.4Use the parallel Fork/Join FrameworkJava 7 or 8
Section 3: Localization
3.1Describe the advantages of localizing an application and developing code that defines, reads, and sets the locale with a Locale objectJava 7 or 8
3.2Build a resource bundle for a locale and call a resource bundle from an applicationJava 7 or 8
3.3Create and manage date- and time-based events by using LocalDate, LocalTime, LocalDateTime, Instant, Period, and Duration, including a combination of date and time in a single objectJava 8 specific
3.4Format dates, numbers, and currency values for localization with the NumberFormat and DateFormat classes, including number and date format patternsJava 7 or 8. Note: Make sure your Java 8 book covers this topic as it is only on the upgrade exam.
3.5Work with dates and times across time zones and manage changes resulting from daylight savingsJava 8 specific
Section 4: Java File I/O (NIO.2)
4.1Operate on file and directory paths by using the Path classJava 7 or 8
4.2Check, delete, copy, or move a file or directory by using the Files classJava 7 or 8
4.3Recursively access a directory tree by using the DirectoryStream and FileVisitor interfacesJava 7 or 8. Note: Make sure your Java 8 book covers this topic as it is only on the upgrade exam.
4.4Find a file by using the PathMatcher interface, and use Java SE 8 I/O improvements, including Files.find(), Files.walk(), and lines() methodsJava 7 or 8
4.5Observe the changes in a directory by using the WatchService interfaceJava 7 or 8. Note: Make sure your Java 8 book covers this topic as it is only on the upgrade exam.
Section 5: Lambda
5.1Define and write functional interfaces and describe the interfaces of the java.util.function packageJava 8 specific
5.2Describe a lambda expression; refactor the code that uses an anonymous inner class to use a lambda expression; describe type inference and target typingJava 8 specific
5.3Develop code that uses the built-in interfaces included in the java.util.function package, such as Function, Consumer, Supplier, UnaryOperator, Predicate, and Optional APIs, including the primitive and binary variations of the interfacesJava 8 specific
5.4Develop code that uses a method reference, including refactoring a lambda expression to a method referenceJava 8 specific
Section 6: Java Collections
6.1Develop code that uses diamond with generic declarationsJava 7 or 8. Note: Make sure your Java 8 book covers this topic as it is only on the upgrade exam.
6.2Develop code that iterates a collection, filters a collection, and sorts a collection by using lambda expressionsJava 8 specific
6.3Search for data by using methods, such as findFirst(), findAny(), anyMatch(), allMatch(), and noneMatch()Java 8 specific
6.4Perform calculations on Java Streams by using count, max, min, average, and sum methods and save results to a collection by using the collect method and Collector class, including the averagingDouble, groupingBy, joining, partitioningBy methodsJava 8 specific
6.5Develop code that uses Java SE 8 collection improvements, including the Collection.removeIf(), List.replaceAll(), Map.computeIfAbsent(), and Map.computeIfPresent() methodsJava 8 specific. Note: Make sure your book covers all four of these. They weren't all on the main OCP exam so whether they are covered depends on when the authors looked at the objectives and how literally they took them.
6.6Develop code that uses the merge(), flatMap(), and map() methods on Java StreamsJava 8 specific. Note: Make sure your book covers all four of these. They weren't all on the main OCP exam so whether they are covered depends on when the authors looked at the objectives and how literally they took them.
Section 7: Java Streams
7.1Describe the Stream interface and pipelines; create a stream by using the Arrays.stream() and IntStream.range() methods; identify the lambda operations that are lazyJava 8 specific
7.2Develop code that uses parallel streams, including decomposition operation and reduction operation in streamsJava 8 specific


1Z0-810 - from Java 7 to Java 8

ObjectiveTextWhere to find material
Section 1: Lambda Expressions
1.1Describe and develop code that uses Java inner classes, including nested class, static class, local class, and anonymous classesAny version
1.2Describe and write functional interfacesJava 8 specific
1.3Describe a lambda expression; refactor the code that uses an anonymous inner class to use a lambda expression; describe type inference and target typingJava 8 specific
Section 2: Using Built-in Lambda Types
2.1Describe the interfaces of the java.util.function packageJava 8 specific
2.2Develop code that uses the Function interfaceJava 8 specific
2.3Develop code that uses the Consumer interfaceJava 8 specific
2.4Develop code that uses the Supplier interfaceJava 8 specific
2.5Develop code that uses the UnaryOperator interfaceJava 8 specific
2.6Develop code that uses the Predicate interfaceJava 8 specific
2.7Develop code that uses the primitive and binary variations of the base interfaces of the java.util.function packageJava 8 specific
2.8Develop code that uses a method reference, including refactoring a lambda expression to a method referenceJava 8 specific
Section 3: Java Collections and Streams with Lambdas
3.1Develop code that iterates a collection by using the forEach() method and method chainingJava 8 specific
3.2Describe the Stream interface and pipelinesJava 8 specific
3.3Filter a collection by using lambda expressionsJava 8 specific
3.4Identify the operations, on stream, that are lazyJava 8 specific
Section 4: Collection Operations with Lambda
4.1Develop code to extract data from an object by using the map() methodJava 8 specific
4.2Search for data by using methods such as findFirst(), findAny(), anyMatch(), allMatch(), and noneMatch()Java 8 specific
4.3Describe the unique characteristics of the Optional classJava 8 specific
4.4Perform calculations by using Java Stream methods, such as count(), max(), min(), average(), and sum()Java 8 specific
4.5Sort a collection by using lambda expressionsJava 8 specific
4.6Develop code that uses the Stream.collect() method and Collectors class methods, such as averagingDouble(), groupingBy(), joining(), and partitioningBy()Java 8 specific
Section 5: Parallel Streams
5.1Develop code that uses parallel streamsJava 8 specific
5.2Implement decomposition and reduction in streamsJava 8 specific
Section 6: Lambda Cookbook
6.1Develop code that uses Java SE 8 collection improvements, including Collection.removeIf(), List.replaceAll(), Map.computeIfAbsent(), and Map.computeIfPresent() methodsJava 8 specific. Note: Make sure your book covers all four of these. They weren't all on the main OCP exam so whether they are covered depends on when the authors looked at the objectives and how literally they took them.
6.2Develop code that uses Java SE 8 I/O improvements, including Files.find(), Files.walk(), and lines() methodsJava 8 specific
6.3Use flatMap() methods in the Stream APIJava 8 specific
6.4Develop code that creates a stream by using the Arrays.stream() and IntStream.range() methodsJava 8 specific
Section 7: Method Enhancements
7.1Add static methods to interfacesJava 8 specific
7.2Define and use a default method of an interface and describe the inheritance rules for the default methodJava 8 specific
Section 8: Use Java SE 8 Date/Time API
8.1Create and manage date- and time-based events, including a combination of date and time in a single object, by using LocalDate, LocalTime, LocalDateTime, Instant, Period, and DurationJava 8 specific. Goes beyond what is in OCA 8 books.
8.2Work with dates and times across time zones and manage changes resulting from daylight savings, including Format date and times valuesJava 8 specific. Goes beyond what is in OCA 8 books.
8.3Define, create, and manage date- and time-based events using Instant, Period, Duration, and TemporalUnitJava 8 specific. Goes beyond what is in OCA 8 books.

 
Wait for it ... wait .... wait .... NOW! Pafiffle! A perfect tiny ad!
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
    Bookmark Topic Watch Topic
  • New Topic