Objectives
This highly acclaimed Hands-On Java programming training course provides delegates who prefer a fast track learning route with intensive practical tuition using Sun’s Java Development Kit (JDK). Coverage of the Java language will focus on the similarities and differences from C++ (some subtle and some not). The topics covered will help prepare delegates for certification tests and should prove invaluable for those planning to build commercial Java applets and applications. Available as a public or closed course at our London training centre, or can be tailored to your team's requirements and delivered onsite as a bespoke, customised training course.
Java for C++ Programmers
Training Course Summary
What You Will Learn
1. Understanding of the Java environment, a useful basis for learning Enterprise Java.
2. The similarities and differences between C++ and Java syntax.
3. The Java Object Model.
4. The essential features of the Swing packages and the Java event model used to process user interaction.
5. The classes for thread and networking programming.
6. An overview of the Enterprise Java platform and web application development.
Hands On Exercises
The completed exercises and solutions provide useful skeletons which can be used as a basis for the development of purpose built applications, including:
1. Building user interface applications
2. Developing a network client and server
3. Creating a simple web interface
Java Training Course Outline
Introduction to Java
History of Java
Java Design Goals & Concepts
Java Tools
- Compilers
- Browsers/Interpreters
A Simple Example
The Java Language (Similarities and differences from C++)
Introduction to Syntax
Comments and Java Docs
Variables and Literals
Primitive and Reference types
Boxing and Unboxing
Statements; Operators and Expressions
Flow of Control (Conditions and Loops)
Arrays
Object Oriented Java Programming (Similarities and differences from C++)
Introduction
- Packages
- Classes and Objects
- Methods
- Inheritance
Classes
- Definition
- Instances Variables
- Class Variables
- Constants
- Constructers
- Finalisers
Objects
- Creation
- References
- Casting/Copying/Comparing
- Libraries (Creating JARs)
Interfaces
Enumerated Data Types
Annotations
Generics and Generic Collections
Java GUI Programming with AWT and Swing
Introduction
- User Interfaces
- Event Driven Programming
Layout Managers
Event Handlers
User Interaction (Mouse Events; Keyboard Events; etc.)
Components
- Windows
- Frames
- Dialog Boxes
- Menus
Swing Action objects
Java Applets
Introduction (WWW and HTML)
Java HTML Interface
Graphics
Fonts
Colour
Animation
Images
Sound
JavaBeans
Overview
Properties; Methods and Events
Exceptions (Similarities and differences from C++)
Introduction to Java Exceptions
- Exception Objects
- Exception Handling
Try/Catch/Finally
Stream IO
Introduction
- Input Streams
- Output Streams
Byte Arrays
Files
Pipes
Strings
Threads
Introduction
Synchronisation
Scheduling
Exercises
Java Database Connectivity
Creating a Data Access Layer
Create/Read/Update/Delete Data
JDBC
Networking with Java
Web Interaction
Sockets
Client/Server Programming
Enterprise Java overview
Servlets
JSP (Java Server Pages)
Sesssion
Redirction
EJB (Enterprise Java Beans)