Intermediate Java 8 Programming

Intermediate Java 8 Programming

Bascom Bridge’s Intermediate Java 8 Programming training course prepares graduates of our Beginning Java Programming class (and those with equivalent expertise) for the next level of Java programming.

This course goes well beyond the basics of Java and OO programming to cover UML, Design Patterns basics, and using composition vs. inheritance. Attendees learn advanced Java topics such as inner classes, the reflection API, and functional programming with lambdas and streams. Finally, students learn how to use useful tools for day-to-day programming such as JUnit, build tools, and logging frameworks.

 

JAVA 8 TRAINING OBJECTIVES

All students will:

  • Solidify Java foundational knowledge, including the important contracts of class Object
  • Understand the uses and consequences of inheritance and composition, and reinforce the role of interfaces
  • Reinforce fundamental OO principles such as cohesion, coupling, and polymorphism
  • Use the JUnit testing framework and become fluent in writing assertions to verify correct program behavior
  • Gain familiarity with UML modeling in class diagrams and sequence diagrams
  • Use advanced techniques for object creation, including factories and singletons
  • Use established design patterns for object composition, including Strategy, Decorator, and Facade
  • Write and use generic classes and methods
  • Learn the use cases for inner classes and refactor existing code to use them when appropriate
  • Create and use custom annotations
  • Be familiar with reflection and how to use it
  • Understand the role of functional interfaces introduced in Java 8
  • Understand lambda expressions and method references, and use them to pass behavior (methods)
  • Use the Stream API to perform complex processing of collections and other input sources
  • Learn the new Date/Time API and use it to solve date-oriented business problems
  • Use Javadoc to write professional-grade API comments for your classes
  • Understand build tools such as Ant and Maven, and how to manage application dependencies
  • Write appropriate log statements in your code and configure logging with Log4j

JAVA 8 TRAINING PREREQUISITES

Students must be able to write, compile, test, and debug simple Java programs, using structured programming techniques, strong data types, and flow-control constructs such as conditionals and loops. Our Beginning Java Application Development class is recommended.

JAVA 8 TRAINING MATERIALS

All students for this Java training course receive a copy of Manning’s Java 8 in Action: Lambdas, Streams, and functional-style programming, which is used as the instructional guide for the course, as well as related courseware.

SOFTWARE NEEDED FOR EACH PC:

  • Core 2 Duo or faster processor with at least 3GB RAM
  • Any operating system that supports Java 1.8 or later
  • JDK 8 (7 could be accommodated upon request but would require some topics to be dropped for compatibility reasons)
  • The Java tool the students are likely to use after the class (Eclipse is recommended, but IntelliJ IDEA, IBM RAD, NetBeans, and other tools are supported)
  • Other free software – please contact us if you have purchased this class
  • For classes delivered online, all participants need either dual monitors or a separate device logged into the online session so that they can do their work on one screen and watch the instructor on the other. A separate computer connected to a projector or large screen TV would be another way for students to see the instructor’s screen simultaneously with working on their own.

JAVA 8 TRAINING OUTLINE

  • Introduction
  • Review – Basics
    • Java Environment
    • Classes and Objects
      • Instance Variables, Methods, Constructors, Static Members
      • OO Principles: Data Encapsulation, Cohesion
      • Object Contracts: toString(), equals() and hashCode(), Comparable and Comparator
    • Packages, Enums, Arrays
    • Exceptions
  • Review (Inheritance and Interfaces)
    • UML Overview
    • Inheritance
      • Definition and IS-A Relationship
      • Method Overriding, @Override
      • OO Principles: Principle of Substitutability, Polymorphism and Encapsulation of Type, Coupling, Open-Closed Principle
      • Constructor Chaining
    • Interfaces
      • Defining and Implementing, Interface Types
      • Interface Inheritance
    • New Interface Features in Java 8
      • Default Methods, Static Methods
      • Functional Interfaces
    • Guidelines
  • JUnit
    • Overview
    • Tests, Assertions, and Fixtures
      • Writing and Running Tests
      • Assertions
      • Test Fixtures, @Before and @After, @BeforeClass and @AfterClass
      • Testing for Exceptions
    • Best Practices and Test-Driven Development Overview (TDD)
  • Collections and Generics
    • Collections Overview
      • Generics and Type-Safe Collections
      • Diamond Operator
    • Lists, Sets, and Maps
      • Interfaces and Contracts
      • Iteration and Autoboxing
      • Utility Classes – Collections and Arrays
    • Writing Generic Classes
      • Inheritance with Generic Types
      • Wildcard Parameter Types
      • Type Erasure
  • Techniques of Object Creation
    • Design Patterns Overview
    • Controlling Object Creation
      • Limitations of new Operator, Alternative Techniques
    • Singleton Pattern
    • Simple Factory
    • Factory Method Pattern
    • Other Techniques
      • Named Objects, JNDI
      • Dependency Injection Frameworks
  • Using Composition and Inheritance Effectively
    • Inheritance and Composition – Pros and Cons
      • Composition and Delegation
      • HAS-A, USES Relationships
    • Strategy Pattern
    • Decorator Pattern
    • Façade and Other Patterns
      • Façade, Proxy, Template Method
  • Inner Classes
    • Overview and Motivation
      • Stronger Encapsulation, Rules and Caveats
    • Defining and Using Inner Classes
      • Member-Level, Method-Local, Anonymous Classes
    • Static Nested Classes
      • Nested Classes, Nested Interfaces, Nested Enums
  • Annotations
    • Overview
    • Using Annotations
      • Target and Retention Policy
      • Annotation Parameters, Parameter Shortcuts
    • Writing Custom Annotations
      • Syntax, Using the Meta-Annotations
      • Using a Custom Annotation
  • Reflection
    • Overview and API
      • The Class Called Class
      • Obtaining and Inspecting Class Objects
    • Working with Objects Reflectively
      • Creating Instances, Invoking Methods, Setting Field Values
  • Lambda Expressions
    • Overview
      • Functional Interfaces and Lambdas
      • Target Context
    • Using Lambda Expressions
      • Syntax, Lambda Compatibility
      • Variable Capture
      • Type Inference
    • Method References
      • Three Types of Method References
      • Refactoring Lambdas into Method References
  • Streams
    • Overview
      • Streams vs. Collections
      • Anatomy of a Stream
    • Understanding the Stream API
      • Intermediate Operations and Stream Pipeline
      • Java 8 Functional Interfaces: Predicate, Comparator, Function, Consumer, Supplier
    • Stream Processing
      • Filtering, Sorting, Mapping
      • Terminal Operations
    • Collectors
      • Partitioning and Grouping
      • Reducing and Summarizing
      • Downstream Reductions
  • Date/Time API
    • Overview
    • Dates, Times, and Instants
      • Creating, Parsing, and Formatting
      • Accessing Date and Time Fields
      • Deriving New Values
      • Time Zones
    • Periods and Durations
      • Intervals of Time: Date-Based and Time-Based
      • Adding and Subtracting Intervals
  • Overview of Build Tools(optional)
    • Javadoc
      • Generating API Documentation
      • Doc Comments and Doc Tags
    • Ant
      • History and Overview
      • Buildfiles, Targets, and Tasks
    • Maven
      • Maven Concepts: Project, POM, Artifact, Naming, Dependency, Plugin, Repository
      • Convention over Configuration
      • Lifecycles and Phases
      • Plugins and Goals
  • Logging and Log4j (optional)
    • Overview
      • Popular Logging Frameworks
    • Writing Log Messages
      • Creating Loggers and Writing Log Messages
      • Log Levels
    • Configuration
      • Appenders and Layouts
      • Logger Configuration and Logger Hierarchy
  • Conclusion

Send a Comment

Your email address will not be published.

CONTACT US

+91 9376007676  

INQUIRY NOW


,

Intermediate Java 8 Programming

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...
  • Course No : JAV-101
  •  Theory : 40%
  •  Lab : 60%
  • Duration : 30 hours
Scroll Up
Skip to toolbar