Oracle Java SE 8 New Features 1.0 Training & Placements in Chennai SQL STAR
Java SE 8 New Features
This
Java SE 8 New Features training highlights the major changes of Oracle Java SE 8. Expert Oracle University instructors teach you
through interactive instruction and hands-on exercises.
This Java SE 8 New Features training delves into the major changes and
enhancements in Oracle Java SE 8. You'll focus on developing an understanding of the basics, then looking at using streams and
lambda expressions with collections.
Learn To:
- Work with the new Java Date and Time API.
- Use the Nashorn Java Script engine.
- Create lambda expressions using the default library interfaces.
- Usenew concurrent lambda features.
Benefits to You By enrolling in this course, you'll expand your knowledge of Java SE 8, while building your Java skill set. It wraps up with an overview
of Mission Control and Java Flight Recorder, which are now included with JDK 8.
Required Prerequisite- Java SE 7 Programming
- Java SE7 Fundamentals
Audience- J2EEDeveloper
- ProjectManager
- JavaDevelopers
- Developer
Course
Objectives- Create lambda expressions using the default library interfaces
- Create lambda expressions using the proper syntax
- Usenew concurrent lambda features
- Use the new Date/Time API
- UseMission Control and Flight Recorder
- Use the new Nashorn Java Script Engine
Course Topics
Course Introduction- Discussing course format and LVC
- Overview of changes in 8
- Discussing course topics planned for coverage
- Getting acquainted with instructor and student
- Reviewing course objectives
Introducing Lambda Expressions- Creating programs that use lambda expressions
- Describing the purpose of an anonymous inner class
- Defining a functional interface
- Describing drawbacks to anonymous inner classes
- Describing the components of a lambda expression
A Case for Lambda Expressions- Discussing the reasons for adding lambda expressions to the Java language
- Refactoring code to use lambda expressions
- Reviewing the standard way of extracting data in Java
- Refactoring code to reduce redundancy
- Listing the benefits of lambda expressions
- Refactoring code to use inner classes
Filtering Collections with Lambdas- Chainingmultiple methods together
- Describing the Stream interface
- Filtering a collection using lambda expressions
- Iteratingthrough a collection using lambda syntax
- Iteratingthough a collection with forEach
- Calling an existing method using a method reference
- Comparing function and imperative programming
- Defining pipelines in terms of lambdas and collections
Using Built in Lambda Types- Generating a new object with Supplier
- Determiningtrue or false with a Predicate
- Processing one object and return another with Function
- Using primitive versions of the base interfaces
- Processing an object and return nothing with Consumer
- Listing the built in interfaces included in java.util.function
- Usingbinary versions of the base interfaces
Collection Operations with Lambda- Sorting a stream
- Describing the types of stream operations
- Describing the Optional class
- Describinglazy processing
- Performing calculations using methods
- Searching for data using search methods
- Extracting data from an object using map
- Saving results to a collection using the collect method
Parallel Streams- Defining reduction
- Calculating a value using reduce
- Reviewing the key characteristics of streams
- Contrasting old style loop operations with streams
- Describing why reduction requires an associative function
- Describing the process for decomposing and then merging work
- Describing how to make a stream pipeline execute in parallel
- Listing the key assumptions needed to use a parallel pipeline
Lambda Cookbook- Modifying a list using removeIf
- Flattening a stream using flatMap
- Updating a map using computeIfAbsent, computerIfPresent, and merge
- Updating a list using replaceAll
- List,walk, and search a directory structure using a stream
- Sending the keys and values from a map to a stream
- Reading a text file into an ArrayList
- Reading a file to a stream
Method Enhancements- Considering the importance of building good libraries
- Usingstatic methods in Interfaces
- Understanding default method inheritance rules
- Using default methods
Using the Date/Time API: Working with Local Dates and Times- Listing the goals of the Date/Time API (JSR-310)
- Combining date and time into a single object
- Creating and manage time-based events
- Creating and manage date-based events
Using the Date/Time API: Working with Time Zones- Working with dates and times across time-zones and manage changesresulting from daylight savings
Using the Date/Time API: Working with Date and Time Amounts- Applying formatting to local and zoned dates and times
- Defining and create timestamps, periods and durations
Java Script on Java with Nashorn: Creating and executing shell scripts- Creating and execute shell scripts using Java Script and Nashorn
Java Script on Java with Nashorn: Writing Java Script Applications- Developing Java Script applications that leverage Java code using Nashorn
Java Script on Java with Nashorn: Writing JavaFX Applications Using Java Script- Running Java Script script from Java applications using JSR-223
- PrototypeJavaFX applications using Nashorn and Java Script
Intro to Mission Control- Monitoring CPU utilization with Mission Control
- Analyzing JVM characteristics with Mission Control
- Analyzing heap memory with Mission Control
- Describing JMX and Manage d Beans with Mission Control
Intro to Flight Recorder- Describing the Java Flight Recorder Architecture
- Managing a Java Flight Recording
- Starting a Java Flight Recording
- Describing the Java Flight Recorder
- Analyzing a Java Flight Recording