Next Level Java 9 Programming (Intermediate Java)

Trivera Technologies LLC
Training overview
Professional Course
4 days

Course description

Next Level Java 9 Programming (Intermediate Java)

Next Level Java 9 Programming is a four-day, hands-on fast-track course geared for experienced developers who have prior working knowledge of basic Java 8 or Java 9 who want to take advantage of the newest features of Java 9 that can help them improve performance and functionality of their Java 9 applications. Students will explore and learn how to leverage Modules, scale applications into multi-core environments, improve performance, and become a more effective Java 9 developer.

Want to find out more?

Who should attend?

This is an intermediate level Java SE (JSE) developer course, designed for basic-level Java developers comfortable with Java 8 or should have a working knowledge in developing basic Java 9 applications.

Training content

Session: Java 9 Updates

Lesson: Review of What is New in Java 9

  • Overview of 'smaller' Java 9 topics
  • Java versioning
  • The JDK/JRE file structure
  • Deprecation
  • The jdeprscan tool
  • Multi-Release JAR Files
  • HTML 5 compliant JavaDoc
  • Lab: Creating a MRJar

Lesson: Milling Project Coin

  • Changes made to the language since Java 6
  • Multi-catch
  • Using effectively final variables in try-with-resources
  • Suppressed Exceptions
  • Binary literals
  • Reserved underscore (Java 9)
  • Type inference in anonymous classes (Java 9)
  • @SafeVargs (updates in Java 9)
  • Default and static methods in interfaces (Java 8)
  • Private methods in interfaces (Java 9)
  • Lab: Try-With-Resources

Session: The Java Module system (Jigsaw)

Lesson: Why JigSaw?

  • Problems with Classpath
  • Encapsulation and the public access modifier
  • Application memory footprint
  • Java 8’s compact profile
  • Using internal JDK APIs

Lesson: Introduction to the Module System

  • Introduce Project Jigsaw
  • Classpath and Encapsulation
  • The JDK internal APIs
  • Java 9 Platform modules
  • Defining application modules
  • Define module dependencies
  • Implicit dependencies
  • Implied Readability
  • Exporting packages
  • Lab: Defining Modules

Lesson: The Module Descriptor

  • Define module requirements
  • Explain qualified exports
  • Open modules for reflection
  • Use ServiceLoader
  • The provides and uses keywords
  • Lab: Modules and the ServiceLoader
  • Lab: Using Reflection on modules

Lesson: Working with Modules

  • Being backwards compatible
  • The ModulePath and ClassPath
  • Unnamed Modules
  • Automatic Modules
  • The JLink tool
  • Lab: Migrating to modules

Session: JShell

Lesson: JShell

  • Introduction to JShell
  • Running Expressions in JShell
  • Importing packages
  • Defining methods and types
  • Using the JShell editor
  • Save and loading state
  • Lab: Working with JShell

Session: More Java 9

Lesson: Other New Java 9 Features

  • Enhancements on the Optional class
  • Improvements made in the Process API
  • The Stack-Walking API
  • The HTTP2 Client
  • The Multi-Resolution API
  • Lab: Working with Native processes
  • Lab: HTTP Clients

Lesson: Performance Optimizations

  • Performance in Java 9
  • Compact Strings
  • String deduplication
  • Ahead-Of-Time Compilation
  • Hotspot Diagnostic commands
  • The G1 Garbage collector
  • Variable and Method Handles

Lesson: Memory Management (Optional)

  • Understand memory management in Java
  • Discuss the various garbage collectors
  • The Garbage-First (G1) Garbage Collector

Session: Multithreading and Concurrency

Lesson: Multithreading

  • Principles of Multithreading
  • Creating a Threaded Class
  • Basic Features of the Thread Class
  • Thread Scheduling
  • Thread Synchronization
  • Lab: Simple Thread Class
  • Lab: Simple Runnable Class

Lesson: Concurrent Java

  • Concurrent Locks are Explicit and Flexible
  • Executor Interfaces Provide Thread Management
  • Challenges for Concurrent Use of Collections
  • Concurrent Collections
  • Atomic Variables Avoid Synchronization
  • Lab: Working with Concurrent Java
  • Lab: Sleeping Threads
  • Lab: Safe Data Access
  • Lab: Producer/Consumer

Lesson: Java 8 Concurrency Updates

  • The common thread pool
  • Atomic variables
  • LongAdder and LongAccumulator
  • CompletableFuture
  • Non-blocking asynchronous tasks
  • Lab: CompletableFuture

Session: Reflection and References

Lesson: Introspection and Reflection

  • Reflection classes
  • Introspection
  • Dynamic invocation of methods
  • Using annotations
  • Type annotations
  • Receiver parameter
  • Lab: Introspection and Reflection
  • Lab: Reflection Server

Lesson: Reference Objects

  • List the kinds of object references available in Java
  • Introduce Weak, Soft and PhantomReference
  • Explain the ReferenceQueue

Session: Effective Java

Lesson: Objects, Declarations, and Initializations

  • Abstraction and Responsibilities
  • Low Coupling
  • Programming principles
  • Inheritance

Lesson: Exceptions

  • Proper use of Exceptions
  • Managing state in exceptional situations
  • Checked vs. Unchecked Exceptions

Session: Writing High-Performance Applications

Lesson: Profiling and Benchmarking

  • List and describe the two types of benchmarks
  • Describe the criteria that should be considered when constructing a benchmark plan
  • Name the three most useful targets for profiling
  • List four common tools/techniques for profiling
  • Describe two strategies for improving performance as a result of profiling data
  • List and explain the five most common problem areas for good performance with Java

Lesson: Profiling Tools

  • Use the JDK to collect runtime profiling data
  • Successfully read the profiling data generated by the JDK to detect performance bottlenecks
  • Instrument your own code to collect method execution time data
  • Lab: Using the JVM Profiling Tools and Visual VM

Lesson: Code Optimization Techniques

  • List three potential problems with strings
  • List two ways to optimize loops
  • Describe the advantages of private and final methods
  • List two advantages of collections over vectors and hashtables
  • List 4 other code and system optimizations
  • Lab: Code Optimizations

Lesson: Code Optimization Myths

  • Debunk several myths of Java performance tuning
  • Synchronization trade-offs
  • Setting methods to be final
  • String is not always bad
  • Revisit the fundamentals of Java code performance
  • How to detect a performance myth

Lesson: Design Optimization Techniques

  • List five ways to optimize Java program design
  • Lab: Design Optimizations Lombok

Costs

  • Price: $2,495.00
  • Discounted Price: $1,621.75

Why choose Trivera Technologies LLC?

Over 25 years of technology training expertise.

Robust portfolio of over 1,000 leading edge technology courses.

Guaranteed to run courses and flexible learning options.

About Trivera Technologies LLC

Trivera Technologies

Trivera Technologies is a IT education services & courseware firm that offers a range of wide professional technical education services including: end to end IT training development and delivery, skills-based mentoring programs,new hire training and re-skilling services, courseware licensing and...


Read more and show all training delivered by this supplier

Contact this provider

Before we redirect you to this supplier's website, do you mind filling out this form so that we can stay in touch? You can unsubscribe at any time.

Country *

Contact info

Trivera Technologies LLC

7862 West Irlo Bronson Highway
STE 626
Kissimmee FL 34747

 Show phone number
www.triveratech.com

Learn more!

Before we redirect you to this supplier's website, do you mind filling out this form so that we can stay in touch? You can unsubscribe at any time.

View again
Supplier Directory
Join our Supplier Directory to:
- Gain Traffic
- Get Noticed
- Showcase Your Services
- Free Listing Available