Core Java & Advance Java Training Outline

Core Java

The Java Environment

Installing Java, Java Program Development , Java Source File Structure ,Compilation, Executions.

Basic Language Elements

Lexical Tokens, Identifiers, Keywords, Literals, Comments ,Primitive Datatypes, Operators Assignments.

Object Oriented Programming

Class Fundamentals , Object & Object reference , Object Life time & Garbage Collection, Creating and Operating Objects ,
Constructor & initialization code block, Access Control, Modifiers, methods Nested , Inner Class &Anonymous
Classes ,Abstract Class & Interfaces Defining Methods, Argument Passing Mechanism , Method Overloading,
Recursion, Dealing with Static Members, Finalize() Method, Native Method. Use of “this “ reference,
Use of Modifiers with Classes & Methods, Design of Accessors and Mutator Methods Cloning Objects, shallow and deep cloning, Generic Class Types.

Extending Classes and Inheritance

Use and Benefits of Inheritance in OOP, Types of Inheritance in Java, Inheriting Data members and Methods ,
Role of Constructors in inheritance , Overriding Super Class Methods ,Use of “super” ,
Polymorphism in inheritance ,Type Compatibility and Conversion Implementing interfaces.

Package

Organizing Classes and Interfaces in Packages , Package as Access Protection , Defining Package ,
CLASSPATH Setting for Packages , Making JAR Files for Library Packages Import and Static Import Naming Convention For Packages.

Exception Handling

The Idea behind Exception ,Exceptions & Errors ,Types of Exception ,Control Flow In Exceptions,
JVM reaction to Exceptions ,Use of try, catch, finally, throw, throws in Exception Handling ,
In-built and User Defined Exceptions, Checked and Un-Checked Exceptions.

Array & String

Defining an Array, Initializing & Accessing Array, Multi –Dimensional Array,
Operation on String, Mutable & Immutable String, Using Collection Bases Loop for String, Tokenizing a String, Creating Strings using StringBuffer .

Thread

Understanding Threads , Needs of Multi-Threaded Programming ,Thread Life-Cycle,
Thread Priorities ,Synchronizing Threads, Inter Communication of Threads ,Critical Factor in Thread –DeadLock

A Collection of Useful Classes

Utility Methods for Arrays ,Observable and Observer Objects , Date & Times ,Using Scanner Regular
Expression, Input/Output Operation in Java(java.io Package),Streams
and the new I/O Capabilities ,Understanding Streams, The Classes for Input and Output,
The Standard Streams, Working with File Object, File I/O Basics, Reading and Writing to Files,
Buffer and Buffer Management, Read/Write Operations with File Channel, Serializing Objects .

Event Handling

Event-Driven Programming in Java, Event- Handling Process, EventHandling Mechanism,
The Delegation Model of Event Handling, Event Classes, Event Sources, Event Listeners, Adapter Classes as Helper Classes in Event Handling.

Database Programming using JDBC

Introduction to JDBC,JDBC Drivers & Architecture, CURD operation Using JDBC, Connecting to non-conventional Databases.

Advance Java

Servlet

Basics of Servlet

  • Servlet: What and Why?
  • Basics of Web
  • Servlet API
  • Servlet Interface
  • GenericServlet
  • HttpServlet
  • Servlet Life Cycle
  • Working with Apache Tomcat Server
  • Steps to create a servlet in Tomcat
  • How servlet works?
  • Servlet in Myeclipse
  • Servlet in Eclipse
  • Servlet in Netbeans

Servlet Request

  • ServletRequest methods
  • Registration example with DB

Servlet Collaboration

  • RequestDispatcher
  • SendRedirect

ServletConfig

  • ServletConfig methods
  • ServletConfig example

ServletContext

  • ServletContext methods
  • ServletContext example

Attribute

  • How to set, get and remove example?

Session Tracking

  • Cookies
  • Hidden Form Field
  • URL Rewriting
  • HttpSession

Event and Listener

Filter

  • Filter
  • Authentication Filter
  • FilterConfig
  • Useful examples

ServletInputStream and ServletOutputStream

Annotation Servlet

Project Development

JSP

Basics of JSP

  • Life cycle of JSP
  • JSP API
  • JSP in Eclipse and other IDE’s

Scripting elements

  • Scriptlet tag
  • Expression tag
  • Declaration tag

9 Implicit Objects

  • out
  • request
  • response
  • config
  • application
  • session
  • pageContext
  • page
  • exception

Directive Elements

  • page directive
  • include directive
  • taglib directive

Exception Handling

Action Elements

  • jsp:forward
  • jsp:include
  • Bean class
  • jsp:useBean
  • jsp:setProperty & jsp:getProperty
  • Displaying applet in JSP

Expression Language

MVC in JSP

JSTL

Custom tags

  • Custom Tag : What and Why?
  • Custom Tag API?
  • Custom Tag Example
  • Attributes
  • Iteration
  • Custom URI

Project Development in JSP

JavaMail API

  • Sending Email
  • Sending email through Gmail server
  • Receiving Email
  • Sending HTML content

Design Pattern

  • Singleton
  • DAO
  • DTO
  • MVC
  • Front Controller
  • Factory Method

JUnit

  • JUnit: What and Why?
  • Types of Testing
  • Annotations used in JUnit
  • Assert class

Maven

  • Maven: What and Why?
  • Ant Vs Maven
  • How to install Maven?
  • Maven Repository
  • Understanding pom.xml
  • Maven Example
  • Maven Web App Example
  • Maven using Eclipse

Struts 2

Basics of Struts2

  • Struts : What and Why?
  • Model1 vs Model2
  • Struts2 Features
  • Steps to create Struts2 application
  • Understanding Action class
  • Understanding struts.xml file
  • Struts2 in Eclipse IDE
  • Struts2 in Myeclipse IDE

Core Components

  • Interceptors
  • ValueStack
  • ActionContext
  • ActionInvocation
  • OGNL

Struts 2 Architecture

Struts2 Action

  • Action Interface
  • ActionSupport class

Struts2 Configuration

  • multi configuration
  • multi namespace

Interceptors

  • Custom Interceptor : Life Cycle of Interceptor
  • params interceptor
  • execAndWait interceptor
  • prepare interceptor
  • modelDriven interceptor
  • exception interceptor
  • fileUpload interceptor

Struts 2 Validation

  • Custom Validation : workflow interceptor
  • Input Validation : validation interceptor
  • Ajax Validation : jsonValidation interceptor

Working with IDE

IDE

  • Eclipse IDE
  • Netbeans IDE
  • Myeclipse IDE

EJB 3

Introduction to JavaEE

  • The Need for JavaEE.
  • Overview on the JavaEE Architecture
  • 1 tier
  • 2 tier
  • 3 tier
  • N tier
  • JavaEE Key Standards

Introduction to EJB3

  • The EJB Model
  • Key Services of the Application Server

Developing Session Beans

  • Stateless Session Beans
  • Stateful Session Beans
  • Packaging
  • Writing Clients

Using Dependency Injection

  • No More JNDI
  • Injection of EJBContext

JMS

  • JMS Overview
  • JMS Messaging Domains
  • Example of JMS using Queue
  • Example of JMS using Topic

Message Driven Beans

 

Persistence Introduction to JPA

  • Object Relational Mapping
  • Mapping configurations
  • Embedded Objects
  • EJBQL

Web Technology

HTML 5

  • Introduction to HTML
  • HTML Tags
  • Creating Forms
  • Creating tables
  • Managing home page

CSS

  • Introduction to CSS
  • Three ways to use CSS
  • CSS Properties
  • Designing website
  • Working with Templates

Javascript

  • Introduction to Javascript
  • Three ways to use Javascript
  • Working with events
  • Client-side Validation

JQuery

  • Introduction to JQuery
  • Validation using JQuery
  • JQuery Forms
  • JQuery Examples

AJAX

  • Introduction to AJAX
  • Servlet and JSP with AJAX
  • Interacting with database

Details about the course:

  • Course Duration : 50 Hrs (5 Months)
  • Mode of Training : Classroom