(703) 246-9100 Northern Virginia

(804) 285-5830 Central Virginia

(757) 420-3810 Tidewater Area

(800) 294-7497 Toll Free

(804) 285-3722 Fax

www.ACTisIT.com

Introduction to Java and J2EE using Eclipse IDE

Duration: 5 days

 

Print Outline in PDF format

Course Description

 

This course introduces the Java programming language and how to develop Java applications using Eclipse 3.0. Students learn the syntax of the Java programming language, object-oriented programming using Java, exception handling, file input/output (I/O), along with servlets, Java Beans and Java Server Pages. During the course, students will develop and test Java applications using Eclipse 3.0. The application server of choice is JBoss.

 

What You Will Learn:

 

After completing this course, you should be able to:

  • Apply OOP principles

  • Design OO applications using abstraction, encapsulation, modularity and hierarchy

  • Use Java exceptions to guarantee graceful error recovery for your application

  • Create and use inner classes in your program to make them concise and clear

  • Do input/output using Java

  • Create Java Beans, Servlets and Java Server Pages in conjunction with JDBC

  • Use Eclipse for Java application development

 

Who Needs to Attend:

 

Those with very little programming experience who will be using Java as their first serious programming language.

 

Prerequisites:

 

The students must be familiar with object-oriented principals and the concept of object-oriented programming.

This course is intended for programmers who are interested in adding Java to their skills.

 

Course Content:

 

1. Intro to Java

 

  • What is Java?

  • History of Java

  • Java Virtual Machine

  • "main" Method

  • Java Statements

 

2. Introduction to Eclipse IDE and Open Source Servers

 

  • Objectives

  • The Eclipse Platform

  • Eclipse 3.0 Java IDE

  • Views, Perspective and Editor Areas

  • Basic Operations with Eclipse Views and Perspectives

  • The Java Perspective

  • The Debug Perspective

  • Navigator View

  • Package Explorer

  • Outline View

  • Problems View

  • Tasks View

  • Build and Validation

  • Import and Export Project

  • Templates and Code Completion

  • Searching

  • Setup Compiler Class Path

  • JRE Switching

  • MyEclipse 3.8

  • MyEclipse - Visual HTML Designer

  • MyEclipse JSP Development

  • MyEclipse EJB Support

  • MyEclipse Struts Modeler

  • MyEclipse XML Editor

  • MyEclipse Application Connector

  • The Tomcat Servlet and JSP Web Container

  • The JBoss Application Server

  • Other Open Source Plugins

  • Summary

 

3. Basic Syntax

 

  • Variables

  • Strings

  • Whitespace

  • Statement Blocks

  • Variable Scope

  • Basic I/O with Scanner

  • Lab: Hello World with Prompt

 

4. Numeric Types and Operations

 

  • Integral Types - byte, short, int, and long

  • Floating Point Types - float and double

  • Basic Numeric Operations

  • Conversion Between Numeric Types

  • Lab: Basic Arithmetic Calculator

 

5. Making Decisions

 

  • Boolean Operations

  • boolean Primitive Type

  • if/else Statements

  • Lab: Prevent Division by Zero in Calculator

 

6. Declaring Methods

 

  • Method Signature

  • Parameters

  • Return Types

  • Calling Methods

  • "Overloading" Methods

  • Lab: Refactor Calculator with Method for Output

 

7. Basic Object Concepts

 

  • Objects

  • Classes

  • Instance Variables

  • Reference Variables

  • "null" Values

  • Lab: Define Basic Class

 

8. Organizing Code

 

  • Packages

  • Importing Code

  • Java Documentation

  • Lab: Move Classes Into Package

 

9. Controlling Code Access

 

  • Access Modifiers

  • Encapsulation

  • JavaBeans

  • Lab: Make Instance Variables Private and Add Getters/Setters

 

10. Constructors

 

         Declaring Constructors

         "this" Keyword

         "static" Keyword

         "final" Keyword

         Lab: Add Constructors to Basic Classes

 

11. Advanced Control Structures

 

  • Loops

  • Break/Continue Keywords

  • Switch Statements

  • Lab: Fibonacci Numbers

 

12. Arrays

 

         Declaring Arrays

         Array Index

         Array Length

         Lab: Create a Class to Manage an Array

 

13. Inheritance

 

  • Superclass/Subclass

  • What is (and is not) Inherited?

  • Overriding Methods

  • "super" Keyword

  • Lab: Create a Subclass

 

14. Commonly Overriden Methods

 

         toString

         equals

         Lab: Add toString and equals Methods

 

15. Exceptions

 

         try/catch Statements

         Multiple Catch Statements

         finally Blocks

         Throwing Exceptions

         Java Exception Hierarchy

         Creating Exception Classes

         Lab: Throw and Catch Exception

 

16. Interfaces and Polymorphism

 

  • Concept of Polymorphism

  • Declaring an Interface

  • Implementing an Interface

  • Using Interfaces Effectively

  • Type Casting

  • instanceof Operator

  • Abstract Class

  • Lab: Implement Interface

 

17. Advanced Java Types

 

         Wrapper Types

         Auto-boxing

         Enumerated Types

         Formatting Numbers and Text

         Dates and Calendar

 

18. Collections and Generics

 

  • Collection Hierarchy

  • Advantage of Collections Over Arrays

  • Using Generics for Type Safety

  • Enhanced for Loop

  • Lab: Modify Array Code to Use Collections

 

19. Input and Output

 

  • Java "Streams"

  • Writing Files

  • Serialization

  • Lab: Write Information to a File

 

20. JavaBeans

 

  • JavaBeans

  • Overview

  • Structure

  • Life Cycle

  • Properties

  • Example

  • Making a Bean

 

21. JDBC

 

  • Java Database Connectivity

  • Overview

  • Types of Drivers

  • Making a Connection

  • Statements

  • Execute, Update and ResultSets

  • Prepared Statements

  • Stored Procedures

  • Transactions

  • Connection Pooling

 

22. Java Servlets

 

  • Servlet Class

  • Servlet Life Cycle

  • Testing Servlets with RAD

  • Lab: Create a Servlet

 

23. Java Server Pages (JSP)

 

  • JSP Syntax

  • Relation to Servlets

  • JSP Editor in RAD

  • Lab: Create a JSP

 

24. Intro to EJBs

 

  • EJB Benefits

  • Types of EJBs

  • Components of EJBs

  • Developing EJBs with RAD

  • Improvements of EJB 3 Specification

  • Lab: Create and Test an EJB

 

25. Other Topics

 

  • Annotations

  • Garbage Collection

  • Executable Programs