Course JAV101
Java Programming
Java Programming
Duration: 5 Days
Course Synopsis
This is a first level comprehensive introduction to Java Programming. The course concentrates on the fundamental aspect of Java programming and the core Java API packages. It covers Java platforms up to version 6.
Java multi-threading and Java GUI programming using ths Swing classes is also covered. Delegates will learn how to develop Java systems that use various core API packages.
Practical exercise will include
- Java Language - using the Eclipse IDE
- Building Applets and Applications
- Handling Exception and Errors
- Working with I/O Streams and Files
- Object Serialization
- Multi-threaded programming
- Exploiting the Java collection classes
- Using Event Models
- GUI programming - using both AWT and Swing
- Overview of Java and Internet programming
- Building JAR files
- Using JDBC
Course Objectives
On completion of the course a student should :
- Have a clear understanding of the Java architecture
- Be familiar with the standard Java packages
- Be able to create, build, and debug Java projects
- Know how to build and release Java applets and applications
- Be able to implement code to store objects using Java's Collection framework
- Understand Exception handling and know how to use it to make for robust applications
- Know how to realise I/O using Stream and File classes
- Develop GUI systems using the Abstract Windowing Toolkit (AWT) and using Java Swing classes (JFC)
- Have a good understanding of the JavaBeans component architecture
- Be able to implement multi-threading applications
- Know how to best use and synchronise Java threads
- Know how to implement TCP/IP applications in Java
- Know how to use JDBC to implement database oriented applications
- This course is aimed at anyone needing to learn Java who already has experience with some other programming language.
Publicly scheduled dates, locations, and prices
A schedule of dates for this subject is not currently available. Please call Ajay Patel on 02086471939 to enquire about places and availability.
Course Contents
Java Overview
- The Java Eclipse Development Environment
- The Java Runtime Environment
- Compiling and Executing Java Programs
- The structure of Java Programs
- Introduction to Java Security
- Packages
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
- switch case
- while ... and do ... while loops
- for ... loops
- break and continue statements
- Comments
- Strings
Objects and Classes
- Objects
- Encapsulation
- Classes
- Class Member Data
- Defining and Using Constructors
- Static Initializers
- Garbage Collection
- Object Lifecycle
Inheritance
- Classes and Inheritance
- Methods in the Sub Class
- Polymorphism
- Converting Reference Types
- Wrapper Classes
Abstract Classes and Interfaces
- Abstraction and Abstract classes
- Abstract Class References
- Abstract Methods
- Interfaces - defining and implementing
- Defining and Implementing an Interface
Collections
- The java.util Package
- Lists
- Maps
- Generics
- The Enhanced for Loop
- Variable Method Arguments
- Auto Boxing
Exceptions
- Syntax, Runtime and Logical Errors
- Exception Objects
- Exception Handling
- User-Defined Exception Classes
GUIs - Using AWT
- Introduction
- AWT Example
- AWT Components
- Layout Managers
Events
- The Java Event Model
- Types of Event
- Event Examples
Creating GUIs with Swing
- Swing Packages Overview
- Swing Applets
- Swing Containers
- Swing Components
- Swing Layouts
Files and Network Input/Output
- Byte Oriented Input and Output Streams
- Decoration
- Character Oriented Streams
- Standard I/O Streams
- Examples Using I/O Streams
- The File Class
- Java and URLs
Specialised Classes
- The StringBuffer and StringBuilder classes
- Enumerations
- Static Imports
- The Java Beans Component Model
- Component Properties
- Designing a JavaBean Class
Threads
- What are Threads?
- Creating Threads
- Implementing the Runnable Interface
- Synchronizing Access to Resources
- Inter Thread Communication
Database Connection with JDBC
- Adding JDBC Libraries
- Registering the JDBC Driver
- Connecting to the Database
- Creating and Executing Statements
Jar Files And Java Web Start
- Deploying Applets
- Creating Jar Files
- The Jar Manifest
