Java Programming 2

5 Day Course
Hands On
Code JAVA2

Book Now - 2 Delivery Methods Available:

Scheduled Online Onsite

Overview

The Java Programming 2 course is closely aligned with the Oracle Java SE 8 Programmer II exam.

This course focuses on the core language features and Application Programming Interfaces (APIs) you will use to design effective object-oriented and functional programming applications with the Java Standard Edition 8 Platform.

The delegate will learn how to design and develop robust Java code that is easy to test and maintain and can be integrated into multiple applications.

The most important new topics introduced in Java SE 8 are covered, such as Functional Programming and Stream API, that allow you to use the most up to date techniques in your code.

Exercises and examples are used throughout the course to give practical hands-on experience with the techniques covered.

Objectives

The delegate will learn and acquire skills as follows:

  • Implementing code using inheritance and polymorphism
  • Using design patterns to ensure robust design of classes
  • Overriding key methods of the Object class to provide interoperability with collections and other APIs
  • Understanding and using Generics within existing classes and create new Generic classes
  • Creating and using collections including sets, maps and queues
  • Selecting and incorporating standard functional interfaces in code
  • Using Stream API to generate, filter, process and reduce stream data
  • Writing Lambda expressions for use within code including with functional interfaces
  • Declaring try-with-resources blocks and using AutoCloseable classes
  • Working with Java SE8 Date/Time API classes
  • Reading and writing data from/to the Console
  • Managing files and directories
  • Writing concurrent code and using Concurrent API
  • Using parallel streams
  • Building database applications with JDBC

Target Audience

The Java Programming 2 course is aimed at staff and consultants working as part of a Java development team to develop high-quality robust software. Roles include Programmers, Designers, Architects, Testers and anyone who needs a good understanding of the use of the Java language and infrastructure.

Additional Information

The Java Programming 2 course helps delegates prepare for the following exam:

Oracle Certified Professional (OCP) Java SE8 Programmer II exam (1Z0-809)

Attending this course will help delegates gain many of the skills and product knowledge requirements as outlined in the exam objectives. Studying this course and its associated reference materials can form part of the preparation to achieve certification. Experience, practice, self-study and aptitude are also key requirements for exam success.

Before taking any exam, ensure you have the recommended experience. The Oracle website lists all exam requirements and these are updated regularly.

Exams are not included as part of the course.

Notes:

  • Course technical content is subject to change without notice.
  • Course content is structured as sessions, this does not strictly map to course timings. Concepts, content and practicals often span sessions.

Training Partners

We work with the following best of breed training partners using our bulk buying power to bring you a wider range of dates, locations and prices.

Modules

Hide all

Java Class Design (7 topics)

  • Review of Core Java Class Design Principles
  • The instanceof operator
  • Virtual Method Invocation
  • @Override Annotation
  • Overriding equals, hashCode and toString
  • Enums
  • Nested Classes

Java Design Patterns (8 topics)

  • Designing Interfaces
  • Functional Programming
  • Implementing Polymorphism
  • Java Design Principles
  • Singleton Pattern
  • Immutable Objects
  • Builder Pattern
  • Factory Pattern

Generics and Collections (8 topics)

  • Review of Array and ArrayList and Diamond Operator
  • Generic Classes, Interfaces and Methods
  • Lists, Sets, Maps and Queues
  • Comparable and Comparator
  • Searching and Sorting
  • Method References
  • Conditional Removal of Elements
  • Java Map APIs

Functional Programming and Stream API (11 topics)

  • Using Variables in Lambdas
  • Built-In Functional Interfaces
  • Optional Objects
  • Creating Stream Sources
  • Terminal and Intermediate Operations
  • Constructing a Pipeline
  • Primitive Streams
  • Functional Interfaces for Primitives
  • Linking Streams to Underlying Data
  • Chaining Optionals
  • Collecting Results

Dates, Strings and Localisation (12 topics)

  • Date and Time API Classes
  • Creating Dates and Times
  • Manipulating Dates and Times
  • Periods
  • Durations
  • Daylight Saving Time
  • String Class Functionality
  • Internationalisation and Localisation
  • Locales
  • Resource Bundles
  • Formatting Numbers
  • Formatting Dates and Times

Exceptions and Assertions (13 topics)

  • Exceptions Terminology
  • Categories of Exceptions
  • Try Statement
  • Throw Statement
  • Throws Statement
  • Custom Exceptions
  • Multi-Catch Blocks
  • Try-With-Resources
  • AutoCloseable
  • Suppressed Exceptions
  • Rethrowing Exceptions
  • The assert Statement
  • Enabling Assertions

Concurrency (16 topics)

  • Thread Types and Concurrency
  • Runnable Interface
  • Creating Threads
  • Polling with Sleep
  • Using ExecutorService
  • Thread Pools
  • Synchronising Data Access
  • Atomic Classes
  • Synchronised Blocks and Methods
  • Concurrent Collections
  • Memory Consistency Errors
  • Parallel Streams
  • Processing Parallel Reductions
  • CyclicBarrier Class
  • Fork/Join Framework
  • Threading Problems and Race Conditions

IO (9 topics)

  • Conceptualising the File System
  • File Class
  • IO Streams
  • FileInputStream and FileOutputStream
  • FileReader and FileWriter
  • ObjectInputStream and ObjectOutputStream
  • Serialising and Deserialising Objects
  • PrintStream and PrintWriter
  • Console

NIO.2 (6 topics)

  • Path Class
  • Interacting with Paths and Files
  • File Attributes
  • File Attribute View Classes
  • Directory Walking
  • Legacy File vs. NIO.2 Methods

JDBC (8 topics)

  • Relational Databases and SQL
  • JDBC Interfaces
  • Connecting to a Database
  • Statements, ResultSet Types and Concurrency Modes
  • Executing Statements
  • Getting Data from a ResultSet
  • Closing Database Resources
  • Dealing with Exceptions

Prerequisites

Delegates attending this course should have experience programming with an object-oriented language, ideally Java. This knowledge can be obtained by attendance on the pre-requisite Java Programming 1 course.

Additional Learning

The courses below may help you meet the knowledge level required to take this course. If you are unsure please ask a training advisor .

Scheduled Dates

Please select from the dates below to make an enquiry or booking.

Pricing

Different pricing structures are available including special offers. These include early bird, late availability, multi-place, corporate volume and self-funding rates. Please arrange a discussion with a training advisor to discover your most cost effective option.

Code Location Duration Price Sep Oct Nov Dec Jan Feb
JAVA2 5 Days $1,795

or call:408-759-5074

Alternatively you can request a callback or schedule a call with a Training Advisor

Course PDF

Print

Share this Course

+1
Share

Recommend this Course

Sections