Zoom Outline PDF View  or  Email Back to Schedule for Nevada


Java Programming Server Side Basics




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.

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

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

DURATION:   5 Days

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

OBJECTIVES:   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

COURSE CONTENT:  
  1. Introduction
    • Overview
    • History of Java
    • Goals of Java
    • Java Virtual Machine
    • Garbage Collection
    • Hello World Example
    • Source File Layout
  2. 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
  3. 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
  4. 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
  5. Advanced Class Concepts
    • Overview
    • Abstract Classes
    • Interfaces
    • Working with Interfaces for Java
      Creating Interfaces
      Implementing Interfaces
  6. 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
  7. 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
  8. 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
  9. Servlets
    • Overview
    • Java Servlets
    • Responsibilities of a Servlet
    • Hello World Servlet
    • Retrieving Form Fields
    • Session Tracking
  10. 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
  11. Java Beans
    • Overview
    • Create JB
    • get Properties
    • set Properties
    • Use with Servlets & JSPs
  12. Threads (Optional)
    • Using Thread class vs implementing Runnable
    • Use of synchronized, waite, notify, etc.



    WM/2006

© 2007 Verhoef Training, Inc.

Schedule Dates

Course offered as
Inhouse or Public

Date Location State

Copyright © 2007 - Verhoef Group of Companies - All Rights Reserved