Java Course Content

Course Duration:80 hours

Sessions: Weekdays; Weekends; Crash Course

 

                            Course Outline: Java/J2EE Training

 

Course Contents

 

Introduction of Java

 

§  What is Java? 

§  How to Get Java 

§  A First Java Program 

§  Compiling and Interpreting Applications

§  The JDK Directory Structure  

 

Data types and Variables

 

§  Primitive Datatypes ,Declarations 

§  Variable Names

§  Numeric Literals,Character Literals

§  String, String Literals

§  Arrays, on-Primitive Datatypes, the Dot Operator

 

Operators and Expressions

 

§  Expressions 

§  Assignment Operator

§  Arithmetic Operators 

§  Relational Operators 

§  Logical Operators 

§  Increment and Decrement Operators 

§  Operate-Assign Operators (+=, etc.) 

§  The Conditional Operator 

§  Operator Precedence 

§  Implicit Type Conversions 

§  The Cast Operator 

 

Control Flow Statements

 

§  Statements

§  Conditional (if) Statements 

§  Data types and Variables 3

§  Adding an else if 

§  Conditional (switch) Statements   

§  While and do-while Loops 

§  for Loops 

§  A for Loop Diagram

§  Enhanced for Loop 

§  The continue Statement     

§  The break Statement 

 

Methods

 

§  Methods

§  Calling Methods

§  Defining Methods 

§  Method Parameters 

§  Scope 

§  Method Parameters 

§  So, Why All the static? 

 

Object-Oriented Programming

 

§  Introduction to Object-Oriented Programming 

§  Classes and Objects 

§  Fields and Methods 

§  Encapsulation 

§  Access Control 

§  Inheritance

§  Polymorphism 

Review -OOP as a programming style: manifestos -Encapsulation, Isolation, Abstraction -Separating

Interface and Implementation -constructors -destructors (lack of in Java) -accessors and mutators (cloning

issues on contained instances) -basic OOP design: choosing class and method -Interfaces vs classes

-Polymorphism and down casting -more examples

 

 

Objects and Classes

 

§  Defining a Class 

§  Creating an Object 

§  Instance Data and Class Data 

§  Methods 

§  Constructors 

§  Access Modifiers 

§  Encapsulation

 

Using Java Objects

 

§  Printing to the Console 

§  Print Format Strings 

§  String Builder and String Buffer 

§  Methods and Messages 

§  ToString 

§  Parameter Passing 

§  Comparing and Identifying Objects, Destroying Objects 

 

Inheritance in Java

 

§  Inheritance 

§  Inheritance in Java 

§  Casting 

§  Method Overriding 

§  Polymorphism

§  super

§  The Object Class    

 

Packages

 

§  The import Statement 

§  Static Imports 

§  Casting 

§  CLASSPATH and Import 

§  Defining Packages 

§  Package Scope 

 

Exception Handling

 

§  Exceptions Overview

§  Catching Exceptions 

§  The finally Block 

§  Exception Methods 

§  Declaring Exceptions 

§  Defining and Throwing Exceptions

§  Errors and Runtime Exceptions

§  Assertions

 

Input/Output Streams

 

§  Overview of Streams 

§  Bytes vs. Characters 

§  Converting Byte Streams to Character Streams 

§  File Object 

§  Binary Input and Output

§  PrintWriter Class 

§  Reading and Writing Objects 

§  Basic and Filtered

 

Collection Framework

 

§  The Collections Framework

§  The Set Interface 

§  Set Implementation Classes 

§  The List Interface 

§  List Implementation Classes 

§  The Map Interface 

§  Map Implementation Classes    

 

Inner Classes

 

§  Inner Classes

§  Member Classes 

§  Local Classes 

§  Anonymous Classes 

§  Instance Initializers 

§  Static Nested Classes 

 

Introduction to Threads

 

§  Non-Threaded Applications 

§  Threaded Applications 

§  Creating Threads 

§  Thread States 

§  Runnable Threads 

§  Coordinating Threads 

§  Interrupting Threads 

§  Runnable Interface, ThreadGroups 

 

Interfaces and Abstract Classes

 

§  Separating Interface and Implementation 

§  UML Interfaces and Realization 

§  Defining Interfaces 

§  Implementing and Extending Interfaces 

§  Runnable Threads 

§  Abstract Classes 

 

Serialization

 

§  Object Serialization 

§  Serializable Interface

§  Serialization API 

§  ObjectInputStream and ObjectOutputStream 

§  The Serialization Engine

§  Transient Fields 

§  ReadObject and writeObject 

§  Externalizable Interface 

 

Generics

 

§  Using Generics 

§  Type Erasure 

§  Type Boundaries 

§  Wildcards, Generic Methods 

§  Strengths and Weaknesses of Generics 

§  Legacy Code and Generics 

   

 

Annotations

 

§  Uses for Meta-Data 

§  The Annotations Model 

§  Annotation Types and Annotations 

§  Built-In Annotations 

§  Annotations vs. Descriptors (XML) 

 

 

Reflection

 

§  Uses for Meta-Data 

§  The Reflection API, The Class Class 

§  The java.lang.reflect Package 

§  Reading Type Information 

§  Navigating Inheritance Trees 

§  Dynamic Instantiation, Dynamic Invocation

§  Reflecting on Generics

 

Error Handling

 

-Error handling strategies: return values vs exceptions -Basic Exception Handling -try/catch/finally/throw –

Debugging

 

Software Cycle and Tools

-Source control -Documentation -Build systems -Testing methodologies

 

Core java overview tips

 

  • Introduction to Java technology
  • Setting Up Your Computer
  • Java programming basics
  • JVM, JRE, JDK
  • Java Data Types and Primitive Types
  • Control Structure
  • Java Arrays
  • Built-in Java Classes
  • Creating own Classes
  • Packages and Java class path
  • JavaBeans
  • Inheritance
  • Abstract class and Java Interface
  • Polymorphism
  • Inner class
  • Exception handling
  • Java Collections framework
  • GUI programming with AWT and Swing
  • Java Applets
  • Stream I/O and Serialization
  • Java Networking API
  • Java Multi-Threading
  • JDBC (Java Database Connectivity)

 

JDBC

 

§  Database basics

§  SQL, MySQL, PostgreSQL-Introduction and overview

§  What Is the JDBC API?

§  Driver Types

§  Two-tier and Three-tier Models

§  Connection Overview

§  Transactions

§  DriverManager Overview

§  Statement Overview

§  Sending Batch Updates

§  ResultSet Overview

§  Types of Result Sets

§  Concurrency Types

§  PreparedStatement Overview

§  CallableStatement Overview

§  ResultSetMetaData, Scrollable ResultSet,

§  Prepared Statement, Callable Statement,

§  Performing Batch Update.

 

J2EE

 

 

Introduction to Enterprise Edition

 

§  Distributed Multitier Applications

§  J2EE Containers

§  Web Services Support

§  Packaging Applications

§  J2EE 1.4 APIs

 

Web server and Application Server

 

§  Tomcat-Introduction

§  Overview, installation, Configuring Tomcat

§  Jboss server-Introduction

§  Overview,installation and Configuration

§  Comparison

 

Ant Tool

 

§  Basics and introductions,

§  Building web applications

§  Using Ant Tool

 

Java Servlet Technology

 

§  What is Web Application?

§  What Is a Servlet?

        Intro: Web programming via CGI - Client vs server-side programming - Applets - Servlets - JSP

§  Servlet Life Cycle

§  Sharing Information

§  Using Scope Objects

§  Controlling Concurrent Access

§  Getting Information from Requests

§  Constructing Responses

§  Filtering Requests and Responses

§  Programming Filters

§  Customized Requests and Responses

§  Specifying Filter Mappings

§  Invoking Other Web Resources

§  Including Other Resources in

§  the Response

§  Transferring Control

§  Accessing the Web Context

§  Maintaining Client State

§  Session Management

§  Session Tracking

§  Tracking Service Requests

§  Notifying Methods to Shut Down

§  Creating Polite Long-Running Methods

 

JSP Technology

 

§  JavaServer Pages Technology

§  The Life Cycle of a JSP Page

§  Translation and Compilation

§  Creating Static Content

§  Response and Page Encoding

§  Creating Dynamic Content

§  Using Objects within JSP Pages

§  Expression Language

§  Deactivating Expression Evaluation

§  Implicit Objects

§  Literals & Operators

§  Reserved Words

§  JavaBeans Components

§  Reusing Content in JSP Pages

§  Transferring Control

§  Jsp: param Element

§  Including an Applet

§  Setting Properties for

§  Groups of JSP Pages

§  JSP scripting elements and directives-,

§  Declarations, expressions, directives,

§  Scriplets, comments,actions,implicit

§  JSP objects - Working with variable

§  scopes – page scope, request scope,

§  session scope, application scope- Using

§  java been,custom tags, Declare Default

§  Content Type, Set Default Buffer Size,

§  JSTL,Expression Language

 

Custom Tags in JSP Pages

 

§  What Is a Custom Tag?

§  Types of Tags

§  Tags with Attributes

§  Tags with Bodies

§  Tags That Define Variables

§  Communication between Tags

§  Tag Library Descriptors

§  Declaring Tag Files

§  Declaring Tag Handlers

§  Declaring Tag Attributes for

§  Tag Handlers

§  Declaring Tag Variables for Tag Handlers

§  Programming Simple Tag Handlers

§  Including Tag Handlers in

§  Web Applications

§  Cooperating Tags

 

 

Java Script

 

§  Java Script Introduction to JavaScript

§  Java script variables

§  Operators

§  Conditional statements

§  Functions

§  Loops

§  Popup Boxes

§  Events

§  Exception

§  Array

§  Validations.

 

AJAX

 

§  Introduction to AJAX

§  AJAX Components

§  HTML & CSS, JavaScript & DOM

§  XMLHttpRequest

§  Server Side Code

§  AJAX - JSP Application

§  Ajax with Servlet and JSP,

§  XML and JSON for Ajax,

§  Database Application with Ajax,

§  Ajax libraries and Toolkits.

 

Project Development

 

§  Requirement analysis

§  Requirement specification

§  Requirements review

§  Minutes of Meeting

§  Preliminary design

§  Preliminary design document

§  Preliminary design review

§  Time Sheet Management

§  Detailed design

§  Detailed design document

§  Detailed design review

§  Code, Code review, Comment review

§  Unit testing, Implementation

§  Acceptance testing

§  Training, Maintenance

 

IDE

 

§  Eclipse, Netbeans-

§  Introduction and overview

§  Creating web projects using eclipse

§  Configuration and set up the project

§  Connecting to database SQL, MySQL

§  Configuring Tomcat and Jboss application deployment, launching

§  and debugging web applications,

§  Detailed study of eclipse and netbeans

§  Installing new software plugins-Adding plugins, Update site

 

XML Programming

 

§  Introduction to XML

§  Robustness & Extensibility

§  XML Syntax & Documents

§  XML Applications

§  Elements and Tags

§  Text and Attributes

§  XML Declaration & Comments

§  Processing Instructions

§  Entities & Namespaces

§  DTDs & Schemas

§  Style sheets & XSL

§  Valid XML-Understanding

§  Document structure – prologue,

§  Elements, attributes- XML parsers – DOM parsers,

§  SAX parsers – Implementing XML DTDs,

§  XML Namespaces, XML schema.

§  SOAP, Writing XML with Java

§  Output Streams, Writers, and Encodings

§  Converting Flat Files to XML

§  Reading XMLInputStreams and

 

Web Services

 

Web services Defining web services – universal resource identification

XML based technologies

Concepts of Remote Method Invocation. DCOM, web service architecture, advantage of web services, Technologies behind web services – SOAP, WSDL, and UDDI,RESTfulServices,RESTful support in JAX-WS,Resouce Oriented Architecture.

 

 

EJB

 

Enterprise Beans

 

§  What Is an Enterprise Bean?

§  What Is a Session Bean?

§  What Is an Entity Bean?

§  What Is a Message-Driven Bean?

§  Client Access with Interfaces

§  The Contents of an Enterprise Bean

§  Naming Conventions for

§  Enterprise Beans

§  The Life Cycles of Enterprise Beans

 

Session Bean

 

§  Session Bean Class

§  Home Interface

§  Remote Interface

§  Helper Classes

§  Creating the Application

§  Stateless Session Bean

§  Implementation Class

 

Bean Managed Persistence

 

§  Entity Bean Class

§  Home Interface

§  Remote Interface

§  Mapping Table Relationships for BMP

§  One-to-One Relationships

§  One-to-Many Relationships

§  Many-to-Many Relationships

§  Primary Keys for BMP

 

Container Managed Persistence

 

§  Method Invocations

§  Building and Running

§  Creating the Database Tables

§  Creating the Data Source

§  Capturing the Table Schema

§  Building the Enterprise Beans

§  Primary Keys for CMP

§  Finder and Selector Methods

 

Message Driven Bean

 

§  The Application Client

§  The Message-Driven Bean Class

§  The onMessage Method

§  The ejbCreate and ejb

§  Remove Methods

§  Advanced Enterprise Beans

§  EJB: Query Language

 

Terminology

 

§  Simplified Syntax

§  Simple Finder Queries

§  Navigate to Related Beans

§  Other Conditional Expressions

§  Select Queries

§  BNF Symbols

§  BNF Grammar of EJB QL

§  FROM Clause

§  Path Expressions

§  WHERE Clause

§  SELECT Clause

§  ORDER BY Clause

 

Java Message Service API

 

§  Overview

§  What Is Messaging?

§  When Can You Use the JMS API?

§  Basic JMS API Concepts

§  JMS API Architecture

§  The JMS API Programming Model

§  Administered Objects

§  Connections

§  Sessions

§  Message Producers

§  Message Consumers

§  Writing Simple JMS Client Applications

 

 Advanced Technologies - Frameworks

 

 

STRUTS

 

§  Introduction

§  Features and Architecture

§  The MVC Design Pattern

§  System State and Business Logic

§  JSP Pages and Presentation

§  Components

§  ActionServlet and ActionMapping

§  Struts Control Flow

§  Building Model Components

§  ActionForm Beans

§  Forms and FormBean Interactions

§  Automatic Form Validation

§  Building Controller Components

§  The ActionServlet

§  ActionForm Classes & Action Classes

§  The ActionMapping Implementation

§  The Struts Configuration File

§  Controller Configuration

§  Module Configuration Files

§  Add Struts Components To

§  Your Application

§  Validations Using Struts 2 Annotations

§  Struts 2 with MySQL Database

§  Struts 2 with AJAX , struts tags, Tiles

§  Logging in Struts Applications

 

 

Java Server Faces

 

§  Introduction to JSF

§  JSF Features

§  JSF for Web Application

§  JSF components

§  JSF Tags, Life Cycle & Architecture

§  JSF Renderers

§  JSF HTML Tag Reference

§  JSF Core Tag Reference

§  JSF Facelet Tag Reference

§  JSF Navigation, JSF with Ajax

§  using JSF in JSP,JSF with Ajax

§  Richfaces

§  Apache My faces

 

Hibernate

 

§  Introduction to O-R Mapping

§  Hibernate Basics,

§  Hibernate Architecture,

§  Hibernate Configurations,

§  POJO (Plain Old Java Classes) classes

§  and O/R Mapping

§  Object Identifier

§  One-to-One Association

§  One-to-Many Association

§  Many-to-One Association

§  Many-to-Many Association

§  Collection Mapping

§  Component Mapping

§  Inheritance Mapping

§  Hibernate Query Language

§  Criteria Queries

§  Hibernate in Web Application

 

Spring

 

§  Introduction

§  Spring Core

§  Dependency Injuction

§  Aspect Oriented Programming

§  Major concepts in Spring

§  Spring Architecture

§  Spring web MVC

§  Installation Procedure

§  Spring in Web Application

§  Bean descriptor

§  Spring and Struts

§  Spring data access

§  Spring using Hibernate

  

 

 

Navigate to

Advertisment

ad

X

Request a call back