Java SE 8 Programming

5 Day

Intended Audience

  • Java EE Developers
  • Developer
  • Java Developers

 

Course Objectives

  • Creating high-performing multi-threaded applications
  • Creating Java technology applications that leverage the object-oriented features of the Java language, such as encapsulation, inheritance, and polymorphism
  • Implementing input/output (I/O) functionality to read from and write to data and text files and understand advanced I/O streams
  • Executing a Java technology application from the command line
  • Manipulating files, directories and file systems using the JDK NIO.2 specification
  • Creating applications that use the Java Collections framework
  • Performing multiple operations on database tables, including creating, reading, updating and deleting using both JDBC and JPA technology
  • Searching and filter collections using Lambda Expressions
  • Implementing error-handling techniques using exception handling
  • Using Lambda Expression concurrency features

Course Outline

  1. Java Platform Overview
    1. Defining how the Java language achieves platform independence
    2. Differentiating between the Java ME, Java SE, and Java EE Platforms
    3. Evaluating Java libraries, middle-ware, and database options
    4. Defining how the Java language continues to evolve
  2. Java Syntax and Class Review
    1. Creating simple Java classes
    2. Creating primitive variables
    3. Using operators
    4. Creating and manipulate strings
    5. Using if-else and switch statements
    6. Iterating with loops: while,do-while, for,enhanced for
    7. Creating arrays
    8. Using Java fields, constructors, and methods
  3. Encapsulation and Subclassing
    1. Using encapsulation in Java class design
    2. Modeling business problems using Java classes
    3. Making classes immutable
    4. Creating and use Java subclasses
    5. Overloading methods
  4. Overriding Methods, Polymorphism, and Static Classes
    1. Using access levels: private, protected, default, and public.
    2. Overriding methods
    3. Using virtual method invocation
    4. Using varargs to specify variable arguments
    5. Using the instanceof operator to compare object types
    6. Using upward and downward casts
    7. Modeling business problems by using the static keyword
    8. Implementing the singleton design pattern
  5. Abstract and Nested Classes
    1. Designing general-purpose base classes by using abstract classes
    2. Constructing abstract Java classes and subclasses
    3. Applying final keyword in Java
    4. Distinguish between top-level and nested classes
  6. Interfaces and Lambda Expressions
    1. Defining a Java interface
    2. Choosing between interface inheritance and class inheritance
    3. Extending an interface
    4. Defaulting methods
    5. Anonymous inner classes
    6. Defining a Lambda Expression
  7. Collections and Generics
    1. Creating a custom generic class
    2. Using the type inference diamond to create an object
    3. Creating a collection by using generics
    4. Implementing an ArrayList
    5. Implementing a TreeSet
    6. Implementing a HashMap
    7. Implementing a Deque
    8. Ordering collections
  8. Collections Streams, and Filters
    1. Describing the Builder pattern
    2. Iterating through a collection using lambda syntax
    3. Describing the Stream interface
    4. Filtering a collection using lambda expressions
    5. Calling an existing method using a method reference
    6. Chaining multiple methods together
    7. Defining pipelines in terms of lambdas and collections
  9. Lambda Built-in Functional Interfaces
    1. Listing the built-in interfaces included in java.util.function
    2. Core interfaces - Predicate, Consumer, Function, Supplier
    3. Using primitive versions of base interfaces
    4. Using binary versions of base interfaces
  10. Lambda Operations
    1. Extracting data from an object using map
    2. Describing the types of stream operations
    3. Describing the Optional class
    4. Describing lazy processing
    5. Sorting a stream
    6. Saving results to a collection using the collect method
    7. Grouping and partition data using the Collectors class
  11. Exceptions and Assertions
    1. Defining the purpose of Java exceptions
    2. Using the try and throw statements
    3. Using the catch, multi-catch, and finally clauses
    4. Autoclose resources with a try-with-resources statement
    5. Recognizing common exception classes and categories
    6. Creating custom exceptions
    7. Testing invariants by using assertions
  12. Java Date/Time API
    1. Creating and manage date-based events
    2. Creating and manage time-based events
    3. Combining date and time into a single object
    4. Working with dates and times across time zones
    5. Managing changes resulting from daylight savings
    6. Defining and create timestamps, periods and durations
    7. Applying formatting to local and zoned dates and times
  13. I/O Fundamentals
    1. Describing the basics of input and output in Java
    2. Read and write data from the console
    3. Using streams to read and write files
    4. Writing and read objects using serialization
  14. File I/O (NIO.2)
    1. Using the Path interface to operate on file and directory paths
    2. Using the Files class to check, delete, copy, or move a file or directory
    3. Using Stream API with NIO2
  15. Concurrency
    1. Describing operating system task scheduling
    2. Creating worker threads using Runnable and Callable
    3. Using an ExecutorService to concurrently execute tasks
    4. Identifying potential threading problems
    5. Using synchronized and concurrent atomic to manage atomicity
    6. Using monitor locks to control the order of thread execution
    7. Using the java.util.concurrent collections
  16. The Fork-Join Framework
    1. Parallelism
    2. The need for Fork-Join
    3. Work stealing
    4. RecursiveTask
    5. RecursiveTask
  17. Parallel Streams
    1. Reviewing the key characteristics of streams
    2. Describing how to make a stream pipeline execute in parallel
    3. List the key assumptions needed to use a parallel pipeline
    4. Defining reduction
    5. Describing why reduction requires an associative function
    6. Calculating a value using reduce
    7. Describing the process for decomposing and then merging work
    8. Listing the key performance considerations for parallel streams
  18. Database Applications with JDBC
    1. Defining the layout of the JDBC API
    2. Connecting to a database by using a JDBC driver
    3. Submitting queries and get results from the database
    4. Specifying JDBC driver information externally
    5. Performing CRUD operations using the JDBC API
  19. Localization
    1. Describing the advantages of localizing an application
    2. Defining what a locale represents
    3. Read and set the locale by using the Locale object
    4. Building a resource bundle for each locale
    5. Calling a resource bundle from an application
    6. Changing the locale for a resource bundle

 

 

You may also be interested in Java SE 8 Fundamentals