Java Programming - A 5 Day Course
Course Synopsis
This course focuses on the fundamentals of the Java language, object oriented development and the structure of Java applets and applications. It covers Java Platform 2 up to version 5.0.
Delegates will learn how to develop Java systems that use various core API packages. They will develop systems that support multi-threading and networking. Java has always been associated with GUI development and this course shows delegates how to develop graphical applets and applications using the JFC (AWT and Swing).
The delegate will practise:
- Programming Using the Java Language
- Using Applets and Applications
- Handling Exception and Errors
- Using I/O Streams and Files
- Object Serialization
- Multi-threaded Development
- Using Collections
- Using Event Models
- AWT development
- Using Swing Classes
- Internet integration
- Building JAR files
- Creating Visual Component Beans
- Designing Business Object Beans
- Assembling Systems with Builder Applications
Course Objectives
By the end of the course delegates should be able to:
- Explain the Java architecture
- List and describe the standard Java packages in various versions
- Create, build, and debug Java projects
- Build and release Java applets and applications
- Store objects using Java's Collection framework
- Write robust applications using Exception handling
- Perform a variety of I/O using Stream and File classes
- Develop GUI systems using the Abstract Windowing Toolkit (AWT)
- Develop GUI systems using the Swing classes (JFC)
- Understand the JavaBeans component architecture
- Raise and respond to events
- Create Java programs with concurrent threads
- Create Network aware applications
Suitable for
- This course is aimed at anyone who needs to learn how to develop in Java.
Prerequisites
- Experience with another programming language
Examinations
This course helps delegates to prepare for Sun Certified Java Programmer Exam CX-310-055 Version 5.0.
Before taking any exam, ensure you have the recommended experience. The Sun Microsystems website lists all exam requirements and these are updated regularly.
Exams are not included as part of the course.
Publicly scheduled dates, locations, and prices
London — £1595 (+VAT)
- 15–19 Mar 2010
- 7–11 Jun 2010
- 9–13 Aug 2010
- 27 Sep–1 Oct 2010
- 8–12 Nov 2010
- 13–17 Dec 2010
Manchester — £1595 (+VAT)
- 26–30 Apr 2010
- 26–30 Jul 2010
- 13–17 Sep 2010
- 15–19 Nov 2010
Course Contents
Introducing Java
- The Java Development Environment
- The Java Runtime Environment
- Compiling and Executing Java Programs
- Java Programs
- Introduction to Java Security
- Packages
- Practical Exercises
The Java Language
- Variables
- Data Types
- Declaring Variables
- Primitive Variables
- Reference Variables
- Declaring, Initializing and Releasing Reference Variables
- Arithmetic and Comparison Operators
- Shortcut Operators
- Short-Circuit Operators
- Converting Data Types
Code Blocks
- Statements and Semi-Colons
- IF... ELSE
- IF... ELSE... IF
- SWITCH CASE
- WHILE...
- DO... WHILE
- FOR...
- BREAK
- The CONTINUE Statement
- Comments
- Strings
- Practical Exercises
Objects and Classes
- Objects
- Encapsulation
- Classes
- Class Member Data
- Defining and Using Constructors
- Static Initializers
- Static Imports
- Garbage Collection
- Object Lifetime
- Practical Exercises
Inheritance
- Classes and Inheritance
- Methods in the Sub Class
- Polymorphism
- Other Inheritance Issues
- Converting Reference Types
- Wrapper Classes
- Practical Exercises
Abstract Classes and Interfaces
- Abstraction
- Abstract Classes
- Abstract Class References
- Abstract Methods
- Abstraction Rules and Guidelines
- Interfaces
- Defining and Implementing an Interface
- Type Conversions and Interfaces
- Summary
- Practical Exercises
Collections
- The java.util Package
- Lists
- Maps
- How to Choose a Collection Class
- Generics
- The Enhanced FOR Loop
- Variable Method Arguments
- Auto Boxing
- Practical Exercises
Exceptions
- Syntax Errors
- Runtime Errors
- Logical Errors
- Exception Handling
- Exception Objects
- Handling Exceptions
- User-Defined Exception Classes
- Exception Handling Guidelines
- Practical Exercises
Creating GUIs with the Abstract Windowing Toolkit
- Introduction
- AWT Example
- AWT Components
- Layout Managers
- Practical Exercises
Events
- The Java Event Model
- Types of Event
- Event Examples
- Practical Exercises
Creating GUIs with Swing
- Swing Packages Overview
- Swing Applets
- Japplet
- Swing Components
- Swing Layouts
- Practical Exercises
Files and Stream Input/Output
- Byte Oriented Input and Output Streams
- Decoration
- Character Oriented Streams
- Standard I/O Streams
- Examples Using I/O Streams
- The File Class
- Practical Exercises
Object Serialization
- Introduction
- Examples
- Serialization Issues
- The Externalizable Interface
- Version Serialized Files
- Practical Exercises
Java Beans
- What is a Component?
- The Java Beans Component Model
- Properties
- Designing a JavaBean Class
- Practical Exercises
Threads
- What are Threads?
- Creating Threads
- Implementing the Runnable Interface
- Synchronizing Access to Resources
- Communicating Between Threads
- Practical Exercises
Networking and the URL Class
- The TCP/IP Network Model
- TCP/IP Protocols
- Uniform Resource Locator (URL)
- Java and URLs
- Examples
- Practical Exercises
Java Archives - Jar Files
- Deploying Applets
- Creating Jar Files
- The Jar Manifest
- Transmission Control Protocol (TCP)
