You are on page 1of 7

Web Application Development in Java

Software Programming

Duration

Lecture:

8 Weeks

Specialization
Core Java (J2SE) & Advance Java (J2EE)
Detailed Module

Part I: Core Java (J2SE)


Getting Started

What is Java all about?


Features of the Java Language
The Java Environment
Installing the JDK
Compiling a Java Program
Executing a Java Application
Object-Oriented Programming in Java
Java Program Structure

Exit Profile: Candidate will be able to identify the basic characteristic of


JAVA. Candidate will also be able to install, configure & write basic JAVA
application without using any IDE.

Setting up Your Application Development Environment

Introducing NetBeans
o Obtaining NetBeans
o Installing NetBeans
NetBeans Setup

Kyrion Digital Securities (P) Ltd.

o Staring Apache Tomcat


Setting up NetBeans
o Configuring JAVA
Creating a Project
o Creating new Application
o Importing Existing Application
Compiling & Running a Program
Uninstalling and Reinstalling NetBeans

Exit Profile: Candidate will be able to install the Netbeans IDE and create a
basic JAVA application. Candidate will also be able to import existing
JAVA application.

Data Types, Variable, Comments & Operators

Primitive Data Types


o Byte
o Short
o Integer
o Char
o Long
o Float
o Double
o Boolean
Variables
o Declaring Variable
o Assigning Variable
Comments
o Single Line Comments
o Multiple Line Comments
o Javadoc Comments
Operators in Java
o Assignment Operator (=)
o Arithmetic Operators (+, -, *, /, %)
o Unary Operators (+, -, ++, --, !)
o Equality & Relational Operators (==, != ,>, >= ,< ,<=)
o Conditional Operators (&& , || , ?:)
o Type Comparison Operators (instanceof)
www.kyrion.in

Web Application Development in Java

o Bitwise Operator (~, <<, >>, >>>, &, ^ , |)


Exit Profile: Candidate will be able to create & use literals present in JAVA
application development.

Control Flow of a Java Program

Selection Statement
o if statement
o else-if statement
o switch case
Loop Statement
o while loop
o do-while loop
o for loop
o enhanced for loop
Transfer Statement
o break
o continue
o return
Nesting of Loops & Selection Statements
Assert Statement

Exit Profile: Candidate will be able to break up the flow of execution by


employing decision making, looping, and branching, enabling the program
to conditionally execute particular blocks of code. This section describes the
decision-making statements (if-then, if-then-else, switch), the looping
statements (for, while, do-while), and the branching statements (break,
continue, return) supported by the JAVA programming language.

Arrays, Strings & Enums

Arrays
o Array as an Object
o Creating Arrays
 Single Dimension Array

Kyrion Digital Securities (P) Ltd.

 Multi Dimension Array


o Assigning Values to Array
o Retrieving Values from Array
o Length of an Array
o Irregular Arrays
String
o String as a Class
o Creating String Object
o Operation on String
o Joining & Comparing String
o Accessing & Extracting Substring
o Using StringBuffer Class
o Tokenizing a String
Enums
o Creating enums
 Adding Constant in enum
 Accessing Values from enum
o Enum in Swith Case

Exit Profile: Candidate will be able to create Arrays & Enums. Candidate
will also be able to perform basic operations on Strings.

Objects & Classes

Introduction to Object Oriented Programming (OOPs)


Pillars of OOPs
o Abstraction
o Encapsulation
o Inheritance
o Polymorphism
Defining Classes
Access Specifiers
o Public
o Private
o Protected
o Default
Defining Methods
www.kyrion.in

Web Application Development in Java

Accessing Variable & Methods


Returning from a Method
Arguments & Parameters
Actual & Formal Parameter
Constructors
o Use of Constructor
o Default Constructor
o Parameterized Constructor
o Use of this & super Keyword
Passing Argument to a Method
Local, Class & Static Variables
Static Block
Packages
o Understanding Packages
o Compiling a Package
o Importing & Accessing a Package
Nested and Inner Classes
final , finally & finalize() Keyword
Anonymous Class
Wrapper classes
Generic Classes

Exit Profile: This is one of the most important part of advance functionality.
Candidate will be able to understand the elements of Object Oriented
Programming. Candidate will also be able to create their own classes &
methods.

Inheritance, Overloading & Overriding

Inheritance
o Use of Inheritance
o Types of Inheritance
 Single inheritance
 Multilevel inheritance
 Hierarchical inheritance
 Multiple inheritance

Kyrion Digital Securities (P) Ltd.

o Deriving a Class
o Using extends Keyword
o this & super Keyword Usage
o Calling Base Class Constructor
Overloading
o Overloading of Methods
o Overloading of constructors
Overriding
o Overriding of Base Class Method
Abstract Classes & Methods
o Use of an abstract Class
o Creating abstract Classes
o Creating abstract Method
Interface

Exit Profile: This module talks about the most famous OOPs concept.
Candidate will be able to implement the concept of Inheritance (Parent
Child Relation, using one class in other) in JAVA. Candidate will also be
able to use the concept of Re-Usability (Write Once Use Many Times).

Error & Exception Handling

Error v/s Exception


Type of Exceptions
o Checked Exception
o Unchecked Exception
The try-catch-finally Statement
Multiple Catch Block
User Define Exception with throw

Exit Profile: Candidate will be able to handle different type of errors &
exceptions that can occur in JAVA. Doing this makes the application robust,
flawless and smooth and free from errors.

www.kyrion.in

Web Application Development in Java

Understanding Stream

Understanding Streams
Input and Output Streams
Binary and Character Streams
Basic Input/Output Stream Operations
Stream Readers and Writers
Getting Data from the Keyboard
Writing to the Command Line
The Printf() Method

Exit Profile: Candidate will be able to perform basic file input/output


operation (reading, writing and modifying files) using JAVA language.

The Collection Framework

Exit Profile: Candidate will be able to understand how data flows (input
taken from user and some information printed on the screen) in a JAVA
program.

File Handling in JAVA

Managing Files
o Getting Information About Files
o Copying, Renaming, and Deleting Files
o Organizing Files
 Creating a Directory
 Building a List of all the Files in a Directory
Reading and Writing Files
o Accessing Files
 Opening Files in Read Mode
 Opening Files in Write Mode
 Closing a File
o Writing to a File
o Reading from a File
 Reading Files Piece by Piece
 Reading a file into a String
Serializing Object
o Storing Object in a File
o Reading Object from a File

Exit Profile: Candidate will be able to use classes & interfaces of


Collection framework. This chapter discuss about data structures (Data
structures are ways in which data is arranged in your computer's memory)
and algorithms (Algorithms are the procedures a software program uses to
manipulate the data in data structures) used in JAVA.

Threading Techniques

Kyrion Digital Securities (P) Ltd.

Understanding the Collections Framework


Core Collection Interface
o Collection Interface
o Iterator Interface
o Set Interface
o List Interface
o ListIterator Interface
o Map Interface
o SortedSet Interface
o SortedMap Interface
Core Collection Classes
o HashSet Class
o TreeSet Class
o ArrayList Class
o LinkedList Class
o HashMap Class
o TreeMap Class
o Vector Class
o Stack Class
Sorting Algorithms

Understanding Threads
Extending Thread class
www.kyrion.in

Web Application Development in Java

Creating Threads
Stopping a Thread
Implementing the Runnable Interface
Synchronization
Using wait() & notifyAll() methods
Using Thread Priority

Exit Profile: This module discuss one of the powerful aspects of the Java
language by which one can easily program multiple threads (Threads allow
multiple activities to proceed concurrently in the same program) of
execution to run concurrently within the same program. Candidate will be
able to create a multithreaded application.

Part II: JAVA Database Connectivity (JDBC)


Introduction to JDBC

Graphical Programming

Introduction to Swing
Creating Frames
Using Panel & Container
Text field, Password Field & Text Area
Performing Action Using Buttons
Jtree
Tabbed Pane
Layouts
o Flow Layout
o Border Layout
o Grid Layout
o Gridbag Layout
Creating Menubar
Using Listener
o Action Listener
o Item Listener
o Focus Listener

JDBC Driver
o JDBC-ODBC Bridge Driver
o Native-API Driver
o Network Protocol Driver
o Native Protocol Driver
JDBC Connection
o Importing JDBC Driver
o Registering JDBC Driver
o Database URL Formulation
o Creating Connection Object
Prepared Statement
o Overview of Prepared Statement
o Normal Statement v/s Prepared Statement
o Creating Prepared Statement Object
o Passing Values to Prepared Statement Parameters
Result Sets
o Retrieving Values from Result Sets
o Modifying Values from Result Sets
Closing Database Connection
DML & DDL Statements using JDBC

Exit Profile: Candidate will be able to connect the JAVA application with
Oracle database to perform database related operations, discussed in
previous module, from the application GUI.

Part III: Advance JAVA (J2EE)


Exit Profile: Candidate will be able to create basic desktop application
using frames, buttons, input boxes, list, radio buttons, check boxes & other
GUI (Graphical User Interface) controls.
Kyrion Digital Securities (P) Ltd.

www.kyrion.in

Web Application Development in Java

Introduction to J2EE

Need of Web Application


Http Protocol
Static & Dynamic Page
Concept Working of Browser
What is Java 2 Platform for Enterprise Edition?
Web Application & Http Basics

Exit Profile: This module will introduce the candidate to the basic
component of J2EE platform, websites and web applications.

Design Your Application

Introduction to HTML
o Getting Started
o Building Links
o Images & Special Character
o Interactive Document Content
 Text Boxes
 Password Boxes
 Text Area
 Radio Button
 Check Box
 Drop Down List
 File Uploading Box
Passing Values from FORMS
o GET Method
o POST Method
Introduction to CSS Files
o Problems of HTML Formatting
o How CSS Fixes Formatting Problems
o An Introduction to CSS
o CSS-The Language
The Style Sheet
o Adding CSS to Your Pages
o Creating New Styles in External Style Sheets

Kyrion Digital Securities (P) Ltd.

o Creating Embedded and Inline Style Sheets


Applying Styles
o Tags, Classes, IDs

Exit Profile: Candidate will be able to design a static Web Page using
HTML & CSS.

Servlet Programming

Introduction to Servlets
Servlet Life Cycle
Request Handling
Response Generation
Handling Cookies
o Setting a Cookie
o Reading a Cookie
o Setting Cookie Attribute
Session Tracking
o Starting a Session
o Destroying a Session
o Retrieving and Setting Session ID
o Creating & Deleting Session Variable
Http Request Handlers
Using Filters
The RequestDispatcher

Exit Profile: Candidate will be able to identify different phases of a Servlet


lifecycle. Candidate will also be able to store data in Cookies & Session
variables using Servlet.

JAVA Server Pages (JSP)

Introduction to JSP
JSP Page Lifecycle
JSP Tags

www.kyrion.in

Web Application Development in Java

o Directive
o Declarative
o Scriptlet
o Expression
o Action
o Comments
JSP Implicit Objects
o Application
o Session
o Request & response
o Page
o pageContext
o out
o config
o exception
Mail Functionality in JAVA
Developing JSP Pages Using Custom Tags
Database Driven Website in JSP
o Loading & Registering JDBC Driver
o Creating Connection Object
o Creating Statement
Retrieving & Modifying Data

Exit Profile: Candidate will be able to design a dynamic Web Page using
JSP.

Introduction to Struts Framework

Introduction to MVC Framework


What is Struts?
Setting Up Struts in Project in Eclipse
Creating the Action Class
Adding ActionForward
Deploying the Struts Application
Adding the Form Bean
Configuring Form Bean in struts-config.xml

Kyrion Digital Securities (P) Ltd.

Using Struts Tag Libraries


Introduction to Validation Framework
o Client Side Validation
o Introduction to Standard Validator-Rules.xml
o Creating Custom Validator Rules
Exception Handling in Struts

Exit Profile: This chapter will give a brief introduction about the MVC
(ModalView-Controller) framework. After this module candidate will be
able to create J2EE (JAVA For Enterprise Edition) application using Struts
framework.

Using AJAX in Application

Introducing AJAX
Using AJAX in JAVA
o XMLHttpRequest Object
o Sending Data to Server
o Processing Data in JavaScript
o Receiving the Output
o Displaying Output in HTML Division
Creating Flicker-Free Pages
Using AJAX in JAVA with Database

Exit Profile: This section covers the art of exchanging data with a server
and updating parts of a web page - without reloading the whole page.
Candidate will be able to create a dynamic web-component using AJAX
technology.

www.kyrion.in

You might also like