• Post Reply Bookmark Topic Watch Topic
  • New 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Java 17 (829) vs Java 11 (819)

 
author & internet detective
Posts: 41905
909
Eclipse IDE VI Editor Java
  • Likes 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It's often helpful to be able to map objectives between exams.

Note: Oracle makes changes to the objectives. These Java 17 objectives are as of when the 829 exam launched and may vary slightly from the latest. The gist is the same.

OCP 17 829 ObjectiveOCP 17 829 TextJava 11 Objective
Handing date, time, text, numeric and boolean values
1.1Use primitives and wrapper classes including Math API, parentheses, type promotion, and casting to evaluate arithmetic and boolean expressions1.1+ new Math
1.2Manipulate text, including text blocks, using String and StringBuilder classes1.2 + new text blocks
1.3Manipulate date, time, duration, period, instant and time-zone objects using Date-Time APInew (was on Java 8)
Controlling Program Flow
2.1Create program flow control constructs including if/else, switch statements and expressions, loops, and break and continue statements2.1 + new switch expressions
Utilizing Java Object-Oriented Approach
3.1Declare and instantiate Java objects including nested class objects, and explain the object life-cycle including creation, reassigning references, and garbage collection3.1
3.2Create classes and records, and define and use instance and static fields and methods, constructors, and instance and static initializers3.2 + new records
3.3Implement overloading, including var-arg methods3.2
3.4Understand variable scopes, apply encapsulation, and make objects immutable. Use local variable type inference, including using it to define lambda parameters3.4
3.5Implement inheritance, including abstract and sealed classes. Override methods, including that of an Object class. Utilize polymorphism and type casting, and differentiate object type versus reference type. Identify object types using instanceof operator and pattern matching3.X (various) + new sealed classes, pattern matching
3.6Create and use interfaces, identify functional interfaces, and utilize private, static, and default interface methods3.7
3.7Create and use enumerations with fields, methods and constructors3.8
Handling Exceptions
4.1Handle exceptions using try/catch/finally, try-with-resources, and multi-catch blocks, including custom exceptions4.1, 4.2
Working with Arrays and Collections
5.1Create Java arrays, List, Set, Map and Deque collections, and produce, remove, update, retrieve and sort their elements5.1, 5.2, 5.3
Working with Streams and Lambda expressions
6.1 Use Java object and primitive Streams, including lambda expressions implementing functional interfaces, to produce, filter, transform, consume, and sort data6.1, 6.2
6.2Perform decomposition, concatenation and reduction, and grouping and partitioning on sequential and parallel streams6.3
Package and deploy Java code and use the Java Platform Module System
7.1Define modules and expose module content including through the use of reflection, and declare module dependencies, define services, providers and consumers7.1, 7.2
7.2Compile Java code, produce modular and non-modular jars, runtime images, and implement migration using unnamed and automatic modules7.1, 7.2 + new creating images
Manage concurrent code execution
8.1Create worker threads using Runnable and Callable, manage the thread lifecycle, including automations provided by different Executor services and concurrent API8.1
8.2Develop thread-safe code, using different locking mechanisms and concurrent API8.2
8.3Process Java collections concurrently and utilise parallel streams.8.1, 8.2
Use Java I/O API
9.1Read and write console and file data using I/O Streams9.1
9.2Serialize and de-serialize Java objects9.2
9.3Construct, traverse, create, read, and write Path objects and their properties using java.nio.file API9.3
Access databases using JDBC
10.1Create connections, create and execute basic, prepared and callable statements, process query results and control transactions using JDBC API11.1 + new transactions
Implement Localization
11.1 Implement localization using locales, resource bundles, parse and format messages, dates, times, and numbers including currency and percentage values13.1
OCP 11 819 ObjectiveOCP 11 819 TextJava 17 Objective
Working with Java data types
1.1Use primitives and wrapper classes, including, operators, parentheses, type promotion and casting1.1
1.2Handle text using String and StringBuilder classes1.2
1.3Use local variable type inference, including as lambda parameters3.4
Controlling Program Flow
2.1Create and use loops, if/else, and switch statements2.1
Java Object-Oriented Approach
3.1Declare and instantiate Java objects including nested class objects, and explain objects' lifecycles (including creation, dereferencing by reassignment, and garbage collection)3.1
3.2Define and use fields and methods, including instance, static and overloaded methods3.2
3.3Initialize objects and their members using instance and static initialiser statements and constructors3.2
3.4Understand variable scopes, apply encapsulation and make objects immutable3.x (various)
3.5Create and use subclasses and superclasses, including abstract classes3.x (various)
3.6Utilize polymorphism and casting to call methods, differentiate object type versus reference type3.x (various)
3.7Create and use interfaces, identify functional interfaces, and utilize private, static, and default methods3.6
3.8Create and use enumerations3.7
Exception Handling
4.1Handle exceptions using try/catch/finally clauses, try-with-resource, and multi-catch statements4.1
4.2Create and use custom exceptions4.2
Working with Arrays and Collections
5.1Use generics, including wildcards5.1
5.2Use a Java array and List, Set, Map and Deque collections, including convenience methods5.1
5.3Sort collections and arrays using Comparator and Comparable interfaces5.1
Working with Streams and Lambda expressions
6.1Implement functional interfaces using lambda expressions, including interfaces from the java.util.function package6.1
6.2Use Java Streams to filter, transform and process data6.1
6.3Perform decomposition and reduction, including grouping and partitioning on sequential and parallel streams6.2
Java Platform Module System
7.1Deploy and execute modular applications, including automatic modules7.1, 7.2
7.2Declare, use, and expose modules, including the use of services7.1, 7.2
Concurrency
8.1Create worker threads using Runnable and Callable, and manage concurrency using an ExecutorService and java.util.concurrent API8.1, 8.3
8.2Develop thread-safe code, using different locking mechanisms and java.util.concurrent API8.2, 8.3
Java I/O API
9.1Read and write console and file data using I/O Streams9.1
9.2Implement serialization and deserialization techniques on Java objects9.2
9.3Handle file system objects using java.nio.file API9.3
Secure Coding in Java SE Application
10.1Develop code that mitigates security threats such as denial of service, code injection, input validation and ensure data integrityremoved from exam
10.2Secure resource access including filesystems, manage policies and execute privileged coderemoved from exam
Database Applications with JDBC
11.1Connect to and perform database SQL operations, process query results using JDBC API10.1
Annotations
12.1Create, apply, and process annotationsremoved from exam
Localization
13.1Implement Localization using Locale, resource bundles, and Java APIs to parse and format messages, dates, and numbers11.1

 
Bartender
Posts: 1737
63
Eclipse IDE Postgres Database C++ Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Jeanne:

Was there a formatting error in this part of your post?
I couldn't follow it:

Handling Exceptions
4.1 Handle exceptions using try/catch/finally, try-with-resources, and multi-catch blocks, including custom exceptions 4.1
Working with Arrays and Collections 4.1, 4.2
5.1 Create Java arrays, List, Set, Map and Deque collections, and produce, remove, update, retrieve and sort their elements
Working with Streams and Lambda expressions 5.1, 5.2, 5.3

Also, at the top, in the headers, should it read 11 or 17 there (the first two times)?
OCP 11 829 Objective OCP 11 829 Text Java 11 Objective

Thanks!
 
Enthuware Software Support
Posts: 4828
52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for mapping the objectives. Very helpful  
 
Jeanne Boyarsky
author & internet detective
Posts: 41905
909
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Jesse,
Yes. Fixed all typos. I was tired but trying to get it posted right away.
 
Greenhorn
Posts: 2
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
They removed Annotations? How interesting...
 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Jeanne. I have bought OCP Complete Study Guide for Java SE11 developer exam 6 months ago. I would like to take that exam, but then decided to take OCP17 exam instead. I will order the new study guide. But, I would like only to read the new topics in the study guide. Is it possible to write which pages have been edited/changed comparing to the previous book, so that I don’t need to read 1200 pages again ;) thanks in advance.
 
Jeanne Boyarsky
author & internet detective
Posts: 41905
909
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Mert,
Welcome to CodeRanch!

Ideally I would say only read the new topics. But there are other little changes like static inner classes. If you only read the new topics, you'd get 90% of it though. This table highlights the differences
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can anyone suggest which certification should I complete in 2022, 1Z0-819 (JAVA 11) or 1Z0-829 (JAVA 17) ? which is more valuable

Thank you
 
Jeanne Boyarsky
author & internet detective
Posts: 41905
909
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ripal,
Welcome to CodeRanch!

The Java 17 one is more u p to date and covers records, switch expressions, text blocks, etc. So if you haven't yet purchases study materials, I recommend it over the Java 11 exam.
 
MyExamCloud Software Support
Posts: 734
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Include String methods related to text blocks as well for Java 17 Certification.

String formatted(Object... args)
String stripIndent()
String translateEscapes()
 
Jeanne Boyarsky
author & internet detective
Posts: 41905
909
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes. And more. I was discussing whole new topics. We added those methods and other new ones like Collectors.teeing() in the book
 
Ranch Hand
Posts: 75
1
Eclipse IDE Spring Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Jeanne Boyarsky wrote:Yes. And more. I was discussing whole new topics. We added those methods and other new ones like Collectors.teeing() in the book



Your book helped me pass the exam, though I must admit that I skimmed your book for about a week and did practice exams for three days. The exam was hard!
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Jeanne

I' would like to ask you something about the guide books because im not pretty sure what books should i buy:

I know that your last J17 book covers for the last J17 829 exam but right now im a Java developer with only the 808 Certified so i think i need to pass the 809 to go for the 819 examn.

First i would like to learn Java from what i know right now (Java 8) and level up it till Java 17 so...

A) Should i buy your last J17 Guide Book + Practices and it covers the J11 exam + J8 OCP OR should i buy your J8 Book Guide + Practices + J11 Examn Guide + Practices and finally then buy the J17 Guide Book + Practices to cover the new things of J17

B) Should i buy only your J17 Guide + Practices and it covers ALL the previous guides from 0 to J17? I know coming soon you will release a new developer certification kit that includes J17 Guide + Practices and i dont know if buying only this kit i will learn everything about Java from "0  to hero" hahaha.

Also i would like to ask whats the difference between the books Programmer I and II and the Developer edition? Are they different or both I and II books are covered over the Developer book?

Can you help me? Its a lot of money and i dont want to spend money on books that will be covered on new versions (example if J17 books will cover all J11 books).

Thanks if you can help me
 
Jeanne Boyarsky
author & internet detective
Posts: 41905
909
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Jose,
The 829 does not have any pre-req. If you want to be Professional certified in Java 8, take the 809. If you want to be Professional certified in Java 11, take the 819. If you want to be professional certified in Java 17, take the 829.

You should buy the book that goes with the exam you are taking. The books contain the features from earlier versions of Java that you need to know.

The Java 17 guide covers everything you need for the exam. The Java 17 practice exams are if you want more practice.

The Java 11 exam has two books (programmer I and II) because there were two exams - the 815 and 816 - when it was released. After we published the book. Oracle merged them into one.
 
If somebody says you look familiar, tell them you are in porn. Or in these tiny ads:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic