Course 439:
Developing Applications with Java 8

(2 days)

 

Course Description

Java 8 is a revolutionary release of Java and presents a significant evolution of the language. A number of new functional style language features have been introduced as well as new libraries, enhancements to existing libraries, and performance improvements.

To effectively use the new language features requires a deep understanding of how they work because the style of programming is very different. This course aims to provide a deep dive into the new language features introduced in Java 8 illustrating how they can be used to build efficient clean code.

Learning Objectives

  • The new language features introduced to Java and how to use them effectively
  • Lambda expressions for functional programming
  • Process data with Streams
  • Process large data in parallel
  • Work with the new Data and Time library
  • Define default methods in interfaces

Who Should Attend

This course is suitable for anybody who is working with Java and wishes to learn and begin using effectively the new features introduced in Java 8. These new features including Lambdas and Streams result in cleaner code, higher application performance, and increased productivity for developers.

Prerequisites

A working knowledge of Java SE is required and assumed for those attending the course.


Course Outline

 

Lambda Expressions

  • What Are Lambda Expressions?
  • Formal Syntax of Expressions
  • Simple Syntax
  • Returning a Value from a Lambda
  • Lambdas and Scope
  • Reactive Style Programming

Method Enhancements

  • References to Methods
  • Constructor References
  • Default Methods in Interfaces
  • Static Methods in Interfaces

Functional Interfaces

  • The Role and Working with Functional Interfaces
  • Function
  • Predicate
  • BinaryOperator

Streams

  • Sequential Streams
  • Parallel Streams
  • Immediate Operations
  • Terminal Operations
  • Lazy Evaluation
  • Collectors

Data Time Library

  • Shortcomings with Existing Libraries
  • Core Library Classes
  • Dealing with Timezones

Please Contact Your ROI Representative to Discuss Course Tailoring!