Java Training Overview|
This course shows Java-1.4 developers the new language features in Java 5 and 6, and, more importantly, illustrates best programming practices as they've been affected by these new features. This is an accelerated course that assumes long experience with earlier versions of Java. Students will leave familiar with various new bits of syntax, and also with an understanding of the exciting new options they have for API design and general-purpose Java 6 coding.
Java Training Prerequisites
Plenty of experience with Java programming using the 1.4 SDK is essential
Java Training Learning Objectives
After successfully completing this course, you will be able to:
Java Training Course duration
- Take advantage of ease-of-use features including the simplified for loop, auto-boxing, and varargs.
- Use and develop enumerated types, including those with their own state and inherent behavior.
- Use generics effectively when coding to the Collections API.
- Develop one's own generic types.
- Use Java annotations as defined by other APIs, and develop one's own.
- Understand issues of compatibility and migration in mixed 1.4/5 environments.
- Develop annotation processors according to the new standard API, and plug them into Java compilers and other tools.
- Use built-in support for XML binding via JAXB.
- Use built-in support for web-service clients via JAX-WS.
Java Training Course outline
Module 1. New Features in Java 5
Chapter 1. Ease-of-Use Features
Chapter 2. Enumerated Types
- Goals of Java 5
- Simplified for Loop
- Variable Parameter Lists
- Formatted Output
- Static Imports
Chapter 3. Generics
- Native Enumerations
- Ordinal and String Representations
- Looping Over Enums
- Stateful and Behavioral Enumerations
Chapter 4. Annotations
- Using Generics
- Generics in the Collections API
- Developing Generic Classes
- Convertability of Generics
- Type Erasure
- Generic Methods
- What You Can't Do
- Strong and Weak Suits
Chapter 5. Compatibility and Migration
- Aspect-Oriented Programming
- Native Annotations
- The Java Annotations Model
- What Can Be Annotated
- Annotations vs. Descriptors
- Java EE Annotation Examples
Module 2. New Features in Java 6
- Compatibility: Compiler and Runtime
- Mixing 1.4 and 5 Classes
- Compatibility with Generics: Type Erasure
- Compatibility with Enumerations and Varargs
- Migrating 1.4 Code to Java 5
- Runtime Type Safety with "Checked" Collections
Chapter 1. Annotation Processors
Chapter 2. XML and Web Services APIs
- Pluggable Annotation Processors
- Processing in Rounds
- Reading the Type Model
- Generating Code
- Reading Resources
- Creating Source Files
- The Java API for XML Binding
- Binding vs. Parsing
- Generating an Object Model
- Working with JAXB Object Models
- JAXB Contexts, Marshallers, and Unmarshallers
- Interoperable Web Services
- SOAP and WSDL
- The Java API for XML Web Services
- Generating Proxies from WSDL
- Using Generated Proxies
- The Role of JAXB
- Building Client Applications
Hardware – minimal
Hardware – recommended
- 1.0 GHz, 512 meg RAM, 500 meg disk space.
- 1.5 GHz, 1 gig RAM, 1 gig disk space.
Network and Security
- Tested on Windows XP Professional. Course software should be viable on all systems which support a Java 6 Developer's Kit.
Limited privileges required
All free downloadable tools