Java New Features Training

Course 939

  • Duration: 3 days
  • Labs: Yes
  • Language: English
  • Level: Foundation

This Java New Features training course provides hands-on experience with lambda expressions introduced in Java and many other language and library changes. Attendees will fully appreciate functional-style programming and the new idioms made possible by lambda expressions that make their code easier to read and understand. The course then explores the Streams API, which lets you write robust code that processes a collection of data in a declarative way. Attendees will fully appreciate what streams are and how they can use them in their programs to process data collections concisely and efficiently.

Java New Features Training Delivery Methods

  • In-Person

  • Online

Java New Features Training Course Information

In this Java course, you will learn how to:

  • Pass code as parameters to methods using lambda expressions to make your code simpler and easier to understand.
  • The course assumes a background in Java programming with Java 7.
  • Leverage default methods to achieve evolution of interfaces while maintaining compatibility with older code.
  • Process data with Java streams.
  • Take advantage of stream parallel processing to achieve efficiency.
  • Perform asynchronous programming with CompletableFuture.
  • Read and write files using Java NIO.

Prerequisite

The course assumes a background in Java programming with Java 7.

Java New Features Training Outline

  • Leveraging functional interfaces to pass code as data to methods
  • Contrasting lambda expressions and anonymous classes
  • Method references and constructor references
  • Invoking higher order functions
  • Evolving APIs
  • Employing new usage patterns for default methods
  • Invoking higher order functions
  • Formatting and parsing with the Date and Time API
  • Using Optional as a better alternative to null
  • Expanding the use of annotations
  • Leveraging streams to process data
  • Contrasting external and internal iteration
  • Facilitating common stream operations
  • Invoking higher order functions
  • Implementing Collectors
  • Reducing and summarizing data
  • Enabling grouping and partitioning
  • Collecting data into Maps
  • Executing parallel streams
  • Dividing and conquering with Spliterator
  • Comparing imperative data processing to streams
  • Implementing an asynchronous API Important

Need Help Finding The Right Training Solution?

Our training advisors are here for you.

Course FAQs

This course provides hands-on experience with new features added in version 8 and later of the Java programming language. It covers lambda expressions, the new Date and Time API, default methods for interfaces, streams and the associated techniques for processing data in parallel and asynchronously as well as other changes to the language and libraries.

Anyone developing Java applications who has core Java SE skills and wishes to leverage lambda expressions in their code to make it easier to evolve, simpler to understand and more maintainable, as well as anyone who wishes to leverage Java streams in their programs to process collections of data concisely and efficiently.

The course assumes a background in Java programming with Java 7.

This course is suitable for people who are familiar with core Java programming. It aims to get the attendee to the point where they can take advantage of features in Java and later to:

  • Pass code as data in method calls and returns
  • Evolve APIs while maintaining backward compatibility by using default methods
  • Perform date and time manipulations with the much improved Date and Time API
  • Instantiate streams and user them to process data
  • Perform parallel processing with streams
  • Perform asynchronous processing with streams

This course builds on the basic Java programming constructs. For a person who does not already program in Java the ideal course is the four-day Introduction to Java Programming Training while for best practices and design patterns one would look at Java Best Practices and Design Patterns Training. There is a specialized course for Java Web Services, Building REST and SOAP Web Services with Java Training, as well as one for Spring and Hibernate, Developing Modern Enterprise Java Applications Using Spring Training.

Approximately 40% of time on the course is devoted to hands-on exercises, allowing you to gain extensive experience with lambda expressions. Exercises include:

  • Employing lambda expressions in the Execute Around Pattern
  • Working with different time zones and calendars
  • Evolving APIs by adding default methods to interfaces
  • Filtering and slicing data with streams
  • Employing Collectors for mapping and reducing
  • Turning a sequential stream into a parallel one

Chat With Us