Java Programming Server Side Basics

Course:  JAVA201
Duration:  5 Days
Level:  I
Course Summary

The Introduction to Java Programming course teaches students: the syntax of the Java programming language; Object-Oriented Programming using Java; exception handling; file input/output (I/O); accessing RDBMS using JDBC; JSP (JavaServer Pages), Servlets; and Java Beans (JBs). Students will learn how to develop Java applications.

Topics:

• Java Basics

• Branching and Looping

• Objects

• Advanced Class Concepts

• Exceptions

• Stream I/O

• JDBC

• Client/Server Processing Overview

• Model-View-Controller

• Servlets 2.4 Specifications

• JavaServer Pages 2.0 Specifications

• JavaBeans

• Threads

Environment

• using Jakarta-Tomcat-4.0.1 Web Server & j2sdk1.4.1

• includes using APIs for Java, Servlets & JSPs

• Each student will receive a CD, which contains a copy of all software, exercises and solutions.

« Hide The Details
Topics Covered In This Course

Introduction

  • Overview
  • History of Java
  • Goals of Java
  • Java Virtual Machine
  • Garbage Collection
  • Hello World Example
  • Source File Layout

Java Basics

  • Overview
  • Comments
  • Semicolon and White Spaces
  • Blocks
  • Keywords
  • Primitive Data Types
  • Identifier
  • Variables
  • Literals
  • Arithmetic Operators
  • Bitwise Operator
  • Assignment Operators
  • Miscellaneous Operators
  • Scope of a Variable
  • Arrays
  • Multidimensional Arrays
  • Reading from the Keyboard

Branching and Looping

  • Overview
  • Conditions
  • The if Statement
  • The if . . . else Statement
  • Logical Operators and if...else Statement
  • The while Statement
  • The do . . . while Statement
  • The for loop
  • Break and Continue

Objects

  • Overview
  • Object-Oriented Programming
  • Methods
  • Overloading
  • Creating an Instance of a Class
  • Constructors
  • Inheritance
  • The super Keyword
  • The this Keyword
  • Overriding
  • Using == vs. equals()
  • The toString() Method
  • Static Initializes
  • Access Modifiers
  • Creating Constructors/Methods

Advanced Class Concepts

  • Overview
  • Abstract Classes
  • Interfaces
  • Working with Interfaces for Java
    • Creating Interfaces
    • Implementing Interfaces

Exceptions

  • Overview
  • What is Exception?
  • Benefits
  • How to work with exception
  • The try . . . catch . . . finally Statement
  • Flow of Program Control
  • Checked Exceptions
  • Unchecked Exceptions
  • Catching Multiple Exceptions
  • Rethrowing Exceptions
  • Exception thrown by a Method
  • The Exception Class
  • Creating your Own Exceptions

Stream I/O

  • Overview
  • File I/O
  • The File Class
    • Methods
    • Example
  • Input Stream
    • Methods
  • Output Stream
    • Methods
  • DataInputStream and DataOutputStream
  • DataInputStream Methods
  • DataOutputStream Methods
  • FileInputStream and FileOutputStream
  • FileInputStream Methods
  • FileOutputStream Methods
  • FileInputStream/DataOutputStream Example
  • FileInputStream/DatInputStream Example
  • Reader and Writer
    • Why Use Readers and Writers
    • Example

JDBC Overview

  • Understand how to use JDBC to Access a RDBMS
  • Understand how to Load a driver, establish a connection to a RDBMS and retrieve records from a Table
  • Write code to access a D/B, place records into a ResultSet and retrieve fields from each record in the ResultSet
  • Understand the functionality of updating, batch processing, prepared statements, and transactional processing
  • Using Scrollable and Updateable ResultSets

Servlets

  • Overview
  • Java Servlets
  • Responsibilities of a Servlet
  • Hello World Servlet
  • Retrieving Form Fields
  • Session Tracking

JavaServer Pages (JSPs)

  • Overview
  • What are JavaServer Pages
  • JSP Benefits
  • How JSP Works
  • Implicit Objects
  • Hello JSP World - an Example
  • JSP Directives
  • Attributes of Page Directive
  • Retrieving Form Fields
  • Session Tracking
  • Servlet to JSP Communication
  • Invoking a JSP

Java Beans

  • Overview
  • Create JB
  • get Properties
  • set Properties
  • Use with Servlets & JSPs

Threads (Optional)

  • Using Thread class vs implementing Runnable
  • Use of synchronized, waite, notify, etc.
What You Can Expect

After completing this course, the student should be able to:

• Apply OOP principles

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

• Create applications

• Use Java Exceptions to guarantee graceful error recovery of your application

• Do input/output using Java

• Use JDBC to access data base tables

• Create Servlets, JSPs, and Java Beans

Who Should Take This Course

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

Recommended Prerequisites

Students should have some basic-level knowledge of programming in any programming language, preferably C or C++, or other OOP languages.

Training Style

Extensive practical exercises take students through all major aspects of the design and development of Java programs.

« Hide The Details
Related Courses
Code Course Title Duration Level
JAVARD
Introduction to Java Programming using RAD 7.5
5 Days
I
Details
JAVA101
Java Development for Non OOP & COBOL Programmers
5 Days
I
Details
JAVAF
Fundamentals of Java Development
5 Days
I
Details

Every student attending a Verhoef Training class will receive a certificate good for $100 toward their next public class taken within a year.

You can also buy "Verhoef Vouchers" to get a discounted rate for a single student in any of our public or web-based classes. Contact your account manager or our sales office for details.

Schedule For This Course
There are currently no public sessions scheduled for this course. We can schedule a private class for your organization just a couple of weeks from now. Or we can let you know the next time we do schedule a public session.
Notify me the next time this course is confirmed!
Can't find the course you want?
Call us at 800.533.3893, or
email us at info@verhoef.com