Training

 

 

Popular Courses

Browse Our Free Resources

  • whitepapers
  • whitepapers
  • webinars
  • blogs

Our Locations

Training Centres

Vancouver, BC
Calgary, AB
Edmonton, AB
Toronto, ON
Ottawa, ON
Montreal, QC
Hunt Valley
Columbia

locations map

Calgary

550 6th Av SW
Suite 475
Calgary, AB
T2P 0S2

Toronto

821A Bloor Street West
Toronto, ON
M6G 1M1

Vancouver

409 Granville St
Suite 902
Vancouver, BC
V6C 1T2

U.S. Office

436 York Road
Suite 1
Jenkintown, PA
19046

Other Locations

Dallas, TX
Miami, FL

Home > Training > WebSphere Application Server 8.5 Programming > Advanced Java using Rational Application Developer 8.5 Training

Advanced Java using Rational Application Developer 8.5 Training

Quick Enroll

Course#: WA2175
Courseware: Available for sale

This course teaches how to develop advanced Java applications using Eclipse. The advanced features of Java that developers may be using in many different types of programs are covered.

Topics
 
  • JavaBeans
  • JUnit
  • JDBC
  • JPA (Java Persistence)
  • Java Logging API
  • Internationalization
  • The Reflection API
  • Architecture
  • Threads
  • Networking
  • Distributed Objects
  • Parsing XML with SAX
  • Parsing XML with DOM
  • JAXB (Java-XML Binding)
  • JNI
  • Security
  • Summary of Recent Java Changes
Practical Work
  The labs cover many advanced topics that students will encounter when programming Java applications. Together these labs give students practical hands-on experience in creating and deploying advanced Java technologies using Eclipse.
What you will learn
  After completing this course, the student should be able to:
  • Test Java code using JUnit
  • Understand how to connect to databases and work with data
  • Use the logging capabilities built into the Java language
  • Use the support for multiple languages provided by Java
  • Use the reflection API to programmatically obtain details on Java classes
  • Provide better architecture for Java programs
  • Work with multi-threaded Java applications
  • Use networking and distributed technologies of Java
  • Work with XML from Java code
  • Use Java capabilities to intergrate with non-Java code
  • Use the security APIs provided with the Java language
Audience
  This course is intended for programmers who are familiar with Java and want to learn about the advanced features of Java.
Prerequisites
 

A good understanding of object-oriented programming using Java.

Duration
  Five days.

Outline of WA2175 Advanced Java using Rational Application Developer 8.5 Training

Chapter 1. Summary of Recent Java Changes

  • Java 5 – Major New Features
  • Java 5 - Type Safe Enums
  • Java 5 – Generics
  • Java 5 - Generics and Collections
  • Java 5 - Generic Collection Example
  • Java 5 – Autoboxing/Unboxing
  • Java 5 - Enhanced for loop
  • Java 5 - Variable Arguments
  • Java 5 - Variable Arguments Example
  • Java 5 - Static import
  • Java 5 – Annotations
  • Java 5 - Library Additions
  • Java 6 – Major New Features
  • Java 6 - Web Services
  • Java 6 - XML
  • Java 6 - Database
  • Java 7 – Major New Features
  • Java 7 – Generic Diamond Operator
  • Java 7 – Catching Multiple Exceptions
  • Java 7 – Rethrowing Exceptions
  • Java 7 – try-with-resources Statement
  • Java 7 – Suppressed Exceptions in try-with-resources
  • Java 7 – Strings in switch Statement
  • Java 7 – Changes in Numeric Literals
  • Java 7 – Fork & Join Parallel Processing
  • Java 7 – NIO.2 File Systems
  • Summary

Chapter 2. Collections and Generics

  • What are Collections?
  • Arrays vs. Collections
  • Main Collections Interfaces
  • java.util.Collection
  • Main Collection Methods
  • Sets
  • java.util.List
  • java.util.Queue
  • Iteration on a Collection
  • Iterator vs. For-Each Loop
  • Maps
  • java.util.Map
  • Other Maps
  • Collections Implementations
  • Abstract Implementations
  • Choosing a Collection Type
  • Generics
  • Generics and Collections
  • Generic Collection Example
  • Collections and Primitive Types
  • Generic Diamond Operator
  • Summary

Chapter 3. JavaBeans

  • Overview
  • Structure
  • Life Cycle
  • Properties
  • Example
  • Making a Bean

Chapter 4. JDBC

  • Overview
  • Types of Drivers
  • Making a Connection
  • Statements
  • Execute, Update and ResultSets
  • JDBC and try-with-resources
  • SQLException
  • Prepared Statements
  • Stored Procedures
  • Transactions
  • Connection Pooling

Chapter 5. Overview of Java Persistence API

  • Data Persistence
  • Java Persistence API 2.0
  • Entities
  • Session EJB vs JPA Entities
  • Entities
  • Persisting and Retrieving Data
  • Accessing Entities
  • EntityManager & Persistence Unit
  • Persistence Context
  • Entities - Example
  • persistence.xml – Hibernate Provider
  • persistence.xml – Open JPA Provider
  • persistence.xml - Toplink
  • Entity Instance Lifecycle
  • Creating EntityManager in Session EJB
  • Creating EntityManager in a Plain Java Class
  • Working With the EntityManager Interface
  • Transaction Basics
  • Summary

Chapter 6. Internationalization

  • Internationalization
  • Adoption Stages
  • Internationalization
  • Locale
  • Dates
  • User Interface design
  • Resource Bundles
  • Other Local Customs
  • How Java Represents Characters
  • Text Files
  • Text files
  • Summary

Chapter 7. The Reflection API

  • Overview
  • Dynamic Facilities In Java
  • What this Dynamic Aspect Implies
  • Considerations
  • The Class class
  • Examining Classes
  • The Example From Last Time
  • An Example
  • Reflection Allows
  • Reflection Also Allows
  • When Not to Use Reflection
  • Examining Classes
  • Manipulating Objects
  • Creating Objects
  • Getting Field Values
  • Setting Field Values
  • An example
  • Arrays
  • Summary

Chapter 8. Annotations

  • The Annotations Model
  • Annotation Types and Annotations
  • Built-In Annotations
  • JSR 250 Common Annotations
  • JSR 250 Common Annotations Example
  • Meta-Annotations
  • Annotations vs. Descriptors (XML)
  • Aspect-Oriented Programming (AOP)
  • Aspect-Oriented Programming and Java
  • @AspectJ Annotations Support

Chapter 9. Threads

  • Overview of Threads
  • Threads in Java Programming
  • Write a Runnable Class
  • Create Threads
  • Another Way of Creating Threads
  • Two ways of creating threads
  • States in a Thread’s Lifetime
  • JVM Scheduler
  • Control and Schedule Thread
  • Coordinating the Concurrency of Multiple threads
  • Synchronization
  • How Does the Object Lock Flag Work
  • Using the synchronized keyword
  • The Implication of Synchronization
  • Example of Synchronization - Producer/Consumer
  • Example of Synchronization – MyStack
  • Example of Synchronization – Producer
  • Example of Synchronization – Consumer
  • Example of Synchronization – SyncTest
  • Why Coordination is Required
  • Coordinating Thread Cooperation
  • wait() and notify()
  • Example of Coordination Producer/Consumer
  • Example of Coordination – MyStack
  • Results
  • Deadlock

Chapter 10. Java Concurrency

  • Java 5 Concurrency
  • Executor Interface
  • Using the Executor
  • Callable<V> Interface
  • Callable Example
  • ExecutorService Interface
  • Future<T> Object
  • Using Executor, Future and Callable
  • Atomic Variables
  • Using Atomic Variables
  • Summary

Chapter 11. Networking

  • Overview
  • URL Connections
  • Browser Example
  • InetAddress
  • Socket Classes
  • Simple Clients and Servers
  • Simple Clients and Servers (cont.)
  • Multithreaded Servers
  • UDP Sockets

Chapter 12. Parsing XML with SAX

  • SAX
  • How it Works
  • Core SAX2 Handler Classes
  • SAX2 DefaultHandler
  • SAX Events
  • Ignorable Whitespace
  • Parsing a Document
  • Using SAXParserFactory
  • Parse XML with SAX – Details
  • Define an Event Handler
  • Create a SAXParserFactory instance
  • Define an Event Handler – startElement()
  • Define an Event Handler – Element Attributes
  • Define an Event Handler – Get Number of Attributes
  • Define an Event Handler – Get Name of Attributes
  • Define an Event Handler – Get Attribute Values
  • Define an Event Handler – An Example
  • Define an Event Handler – characters()
  • Using characters()
  • Define an Event Handler – Error Handling
  • Define an Event Handler – ErrorHandler interface
  • Parse XML Document
  • Simple SAX Parser
  • EntityResolver
  • Locator
  • Document Locator

Chapter 13. Parsing XML with DOM

  • DOM
  • Limitations of SAX
  • XML as an Object Model
  • Nodes
  • The Basic Node Types
  • Less Common Node Types
  • Node Interface
  • Document Interface
  • NodeList Interface
  • Element Interface
  • Attr Interface
  • Text Interface
  • DOM Parsing
  • Parse XML with DOM – Steps
  • Prepare DOM Parser Object
  • Parse XML Document
  • Parse Exceptions
  • Example – SimpleDOMParser
  • Writing DOM

Chapter 14. The Java Architecture for XML Binding (JAXB)

  • Introduction to JAXB
  • Overview of Data Binding
  • JAXB Architecture
  • Binding Example
  • Binding Framework Example
  • Java and XML Mapping Overview
  • Namespace and Package Name Mapping
  • Simple Type Mapping
  • Complex Type Mapping
  • Customizing Complex Type Mapping
  • Property Accessor Customization
  • Property Mapping Customization
  • XML Element Mapping
  • Mapping Java Enums
  • Mapping Collections
  • Generating Java Class and Schema
  • Marshalling and Unmarshalling
  • Summary

Chapter 15. Java Logging API

  • Java Logging API
  • Control Flow of Logging
  • Logging Levels
  • Logging Handlers
  • Loggers
  • Logging Example
  • Logging Formatters & Log Manager
  • Logging Configuration File
  • Example Logging Configuration File
  • Logging Filters

Chapter 16. Distributed Objects

  • Serialization
  • Externalizable
  • Remote Method Invocation
  • Steps to implement RMI
  • RMI – Remote Object Registry
  • RMI – Dynamic class loading
  • Summary

Chapter 17. Security

  • Overview of JDK Security Features
  • Java Cryptography Architecture (JCA)
  • Java Cryptography Extension
  • Using the MessageDigest Class
  • Example of Using the MessageDigest Class
  • Using the Signature Class
  • Java Security Architecture
  • Security Model – Sandbox
  • Security Model – Trusted Signed Code & Security Policy
  • JDK 1.4 Security Enhancement
  • Protection Domains and Security Policies
  • ProtectionDomain Class
  • Permission Classes
  • Using Permission Classes
  • Policy Class
  • Policy Configuration File
  • AccessController Class
  • SecurityManager Class
  • Using the SecurityManager Class
  • Java Authentication and Authorization Service - JAAS
  • JAAS – Common Classes
  • JAAS - Authentication
  • JAAS – Authentication Configuration
  • JAAS - Authorization
  • Java Security Tools
  • Using Java Security Tools – Code Signing
  • Summary

Chapter 18. Java NIO and NIO.2

  • NIO and NIO.2 Overview
  • The java.nio.file.Path Interface
  • Obtaining a Path Instance
  • Path Operations
  • Converting Paths
  • Operations With Two Paths
  • Working With Files
  • File Attributes
  • Working With File Attributes
  • FileVisitor API
  • Finding Files
  • Watching Directories
  • WatchService Example
  • Buffers
  • Channels
  • Using Buffers and Channels - Write Example
  • Using Buffers and Channels - Read Example
  • Working With Legacy java.io.File Code
  • Summary

Chapter 19. JUnit

  • What is JUnit?
  • Why JUnit?
  • The xUnit Philosophy
  • Test-Driven Design
  • A JUnit Test
  • Running the Tests
  • Swing-based Test Runner
  • Text-based Test Runner
  • JUnit Basics
  • assertTrue
  • assertEquals
  • assertSame
  • assertNull
  • The Failure Message
  • The Test Class
  • The Test Method
  • The Test Suite
  • JUnit with Annotations
  • JUnit 4 Test Suite
  • JUnit Design
  • Testing Strategies
  • Specific Techniques
  • Testing Simple Java classes
  • Testing with Databases
  • Testing Web Applications
  • Testing Java EE Web Applications
  • JUnit with Ant
  • Summary
  • JUnit with Eclipse
  • Create a Test Case
  • Test Case "Stubs"
  • Running Tests
  • Eclipse Test Runner Icons
  • Rerun an Individual Test
  • Failure Trace
  • Debug with JUnit
  • Test Suite Wizard

Chapter 20. Mockito

  • The Problem
  • Old Solutions
  • Bad Solutions?
  • What's the other choice?
  • Choices
  • Mocking stubs
  • Mocking Mocks
  • Mostly Done
  • Other Features
  • Spy
  • Annotations
  • Summary

Chapter 21. JNI

  • Overview
  • JNI Architecture
  • Calling C Functions
  • The Header File
  • Passing Simple Parameters
  • Mapping Java Types
  • Calling Java Methods
  • The Invocation API
  • Exception Handling
  • Native Exception to Java
  • Java Exception In Native Code
  • Code Sample
Address Start Date End Date
Instructor Led Virtual 08/21/2017 08/25/2017
Instructor Led Virtual 10/02/2017 10/06/2017
We regularly offer classes in these and other cities. Atlanta, Austin, Baltimore, Calgary, Chicago, Cleveland, Dallas, Denver, Detroit, Houston, Jacksonville, Miami, Montreal, New York City, Orlando, Ottawa, Philadelphia, Phoenix, Pittsburgh, Seattle, Toronto, Vancouver, Washington DC.
*Your name:

*Your e-mail:

*Phone:

*Company name:

Additional notes:

We have received your message. A sales representative will contact you soon.

Thank you!.

more details
buy this course

08/21/2017 - Online Virtual
$2,495.00
Enroll

10/02/2017 - Online Virtual
$2,495.00
Enroll

Other Details

Register for a courseware sample

It's simple, and free.

 

Thank You!

You will receive an email shortly containing a link to download the requested sample of the labs for this course.