Java Programming 2 / Java Advanced Developer

5 Day Course
Hands On
Code JAVA2

Book Now - 2 Delivery Methods Available:

Classroom Virtual Classroom Private Group - Virtual Self-Paced Online

Overview

This course is designed for existing Java developers who are comfortable with the fundamentals and who want to take the next step. You will build a series of realistic apps that exploit the more complicated language elements and APIs including generics, lambda expressions and methods references, streams, concurrency, asynchronous and reactive programming, non-blocking IO, and reflection.

Exercises and examples are used throughout the course to give practical hands-on experience with the techniques covered.

Objectives

This course aims to provide the delegate with the skills needed to build complex and modern Java apps by exploiting techniques such as concurrency, and functional and reactive programming.

The delegate will learn and acquire skills as follows:

  • Work with a build tool
  • Configure and apply logging
  • Make sense of and construct generic classes and methods
  • Differentiate between the different types of Collection and Map; choose and use a collection/map appropriately
  • Correctly override hashCode and equals, and compareTo/compare
  • Code and use nested classes
  • Code lambda expressions and method references
  • Define and describe functional programming; make sense of Java's functional interfaces
  • Transform collections using streams with lambdas and method references
  • Produce robust multithreaded code using Executors, synchronisation techniques, concurrent and immutable collections, and parallel streams
  • Exploit CompletableFuture to code asynchronously
  • Define and describe reactive programming; code with Observables using RxJava
  • Read from and write to files in a non-blocking manner
  • Read from and write to a URL/socket; code a custom multithreaded/non-blocking server
  • Declare custom annotations
  • Perform introspection using Java's reflection API

Target Audience

The Java Programming 2 / Java Advanced Developer course is aimed at existing Java developers seeking to take the next step beyond the fundamentals. It may also be of value for those developers migrating to Java from another language, and who feel they need not do a course covering the fundamentals.

Additional Information

Examinations

This Java Advanced Developer course helps to prepare for the following exam:

  • Oracle Certified Professional (OCP) Java SE 8 Programmer II: 1Z0-809

This course together with the Java Programming 1 / Java Developer course helps to prepare for the following exam:

  • Oracle Certified Professional (OCP) Java SE 11 Developer: 1Z0-819

Attending this course will help delegates gain many of the skills and product knowledge requirements as outlined in the exams objectives. Studying these courses and their associated reference materials can form part of the preparation to achieve certification. Experience, practice, self-study and aptitude are also key requirements for exam success.

Before taking any exam, ensure you have the recommended experience. The Oracle website lists all exam requirements and these are updated regularly.

Exams are not included as part of the course.

Training Partners

We work with the following best of breed training partners using our bulk buying power to bring you a wider range of dates, locations and prices.

Modules

Collapse all

BUILD TOOLS (9 topics)

  • What is a build tool
  • Maven
  • Archetypes
  • Directory structure
  • The POM
  • Dependencies
  • RepositoriesLifecycles, phases, and goals
  • Profiles
  • Plugins

LOGGING (9 topics)

  • The Logger
  • Logger hierarchy
  • Log levels
  • Formatters
  • Filters
  • Appenders
  • Log4j2
  • Logback
  • SLF4J

GENERICS (8 topics)

  • Generic types
  • Generic methods
  • Bounded type parameters
  • Generics and inheritance
  • Type inference
  • Wildcards
  • Type erasure
  • Restrictions

COLLECTIONS (8 topics)

  • The Collection interface hierarchy
  • Iterable and Iterator
  • Collection operations and traversal
  • The Collections class
  • Collection types (characteristics and implementations) incl. List, Set, and Queue
  • The Map interface hierarchy
  • Map operations and traversal
  • Map types (characteristics and implementations)

hashCode & equals AND compareTo/compare (8 topics)

  • The Object class
  • Overriding toString
  • Equality and membership testing
  • Hashing collections
  • Overriding hashCode and equals
  • The Comparable and Comparator interfaces
  • Searching and sorting
  • Overriding compareTo and compare

NESTED CLASSES (6 topics)

  • Static nested classes
  • Inner classes
  • Shadowing
  • Local classes
  • Anonymous classes
  • Variable capture and effectively final

LAMBDA EXPRESSIONS & METHOD REFERENCES (6 topics)

  • What is a lambda expression
  • Lambda use case: collection filter
  • Lambda syntax
  • What is a method reference
  • Method reference use case: collection sort
  • Method reference types x 4

FUNCTIONAL PROGRAMMING (7 topics)

  • What is functional programming
  • Functions as first class objects
  • Pure functions
  • Higher order functions
  • Immutable objects
  • Java's functional interfaces
  • Functional composition

STREAMS (8 topics)

  • What is a stream
  • Obtaining/creating a stream
  • Intermediate (non-terminal) operations
  • Terminal operations
  • The Optional class
  • The Collectors class
  • Stream concatenation
  • Primitive streams

CONCURRENCY (9 topics)

  • Low-level threading incl. Runnable, sleep, join
  • The Java memory model
  • Threading problems incl. race conditions, deadlock, and starvation
  • Immutable objects and ThreadLocal
  • Thread synchronization incl. volatile, synchronized, atomic data types, and locks
  • ExecutorService, thread pools, Callable, and Future
  • The fork join framework
  • Concurrent and immutable collections
  • Parallel streams

ASYNCHRONOUS & REACTIVE PROGRAMMING (17 topics)

  • Asynchronous vs. concurrent programming
  • CompletableFuture
  • Executing tasks asynchronously
  • Chaining tasks (synchronously or asynchronously)
  • Specifying callbacks
  • Combining futures
  • Exception handling
  • What is reactive programming?
  • A note about the Flow API
  • RxJavai>
  • Creating and subscribing to an observable
  • Transformaing, filtering, and combining observables
  • Applying back pressure
  • Other observable operators
  • Singles
  • Subjects
  • Schedulers

NON-BLOCKING IO (7 topics)

  • What is non-blocking IO?
  • Channels and buffers
  • Scatter/gather
  • Channel-to-channel transfer
  • Selectors
  • FileChannel
  • Pipes

NETWORKING (4 topics)

  • Reading from and writing to a URL
  • Reading from and writing to a socket
  • Multithreaded ServerSocket
  • Non-blocking ServerSocket

ANNOTATIONS (5 topics)

  • Session 14: ANNOTATIONS
  • What is an annotation?
  • Form and application
  • Standard annotations
  • Declaring an annotation

REFLECTION (7 topics)

  • What is reflection?
  • Modules, classes, constructors, fields, and methods
  • Private members
  • Annotations
  • Generics and arrays
  • Dynamic proxies
  • Dynamic class loading

Prerequisites

Delegates attending this course should be Java developers with a good grasp of the fundamentals. This knowledge can be obtained by attendance on the pre-requisite Java Programming 1 / Java Developer course. Developers familiar with another similar OO language may be suitable candidates but should carefully examine the objectives listed in the prerequisite Java Developer course

Scheduled Dates

Please select from the dates below to make an enquiry or booking.

Pricing

Different pricing structures are available including special offers. These include early bird, late availability, multi-place, corporate volume and self-funding rates. Please arrange a discussion with a training advisor to discover your most cost effective option.

Code Location Duration Price Sep Oct Nov Dec Jan Feb
JAVA2
Virtual Classroom (London)
5 Days $2,190

Course PDF

Print

Share this Course

Share

Recommend this Course

Sections