Core Java, Advanced Java
NARESH IT CORE JAVA – 40 Hrs.
.
Contents [hide]
1 Core Java Online Training Course Overview
o 1.1 Duration : 40 Hrs
o 1.2 Introduction to computer languages?
o 1.3 Need of computer languages?
o 1.4 Java V/S other languages
o 1.5 Platform dependency?
o 1.6 Introduction to Java?
o 1.7 History of Java
o 1.8 JDK includes
o 1.9 Versions and Certifications
o 1.10 Platform Independency?
o 1.11 Structure of Java-application?
o 1.12 Contexts of Java application
o 1.13 Introduction to Variable, Blocks and Methods?
o 1.14 Datatypes
o 1.15 First java application?
o 1.16 Operators
o 1.17 Control Statements
o 1.18 Methods
o 1.19 Class members in java
o 1.20 Wrapper classes
o 1.21 Packages
o 1.22 Command line arguments
o 1.23 OOPS
o 1.24 Exception handling
o 1.25 Multi threading
o 1.26 Garbage collection
o 1.27 Io streams
o 1.28 Reflection API
o 1.29 Inner classes
o 1.30 Strings
o 1.31 Collections
o 1.32 JDK 8 features
o 1.33 AWT, Applets and Swings
Core Java Online Training Course Overview
Duration : 40 Hrs NARESH IT
Introduction to computer languages?
Need of computer languages?
Java V/S other languages
Platform dependency?
Introduction to Java?
History of Java
JDK includes
Versions and Certifications
Platform Independency?
Structure of Java-application?
Contexts of Java application
Introduction to Variable, Blocks and Methods?
Introduction to variables and identifiers
Type of variables
Memory construction and destruction of variables
Rules to create variables
Naming conventions of variables
Blocks introduction
Methods introduction.
Datatypes
Primitive types
Introduction
Memory occupancy
Ranges
Errors(compile time and runtime)
Primitive type casting(implicit and explicit)
Reference types
First java application?
Class keyword and its naming convention
Class naming convention
Why main has public access
Why main has static modifier
Why return type is void
out.println() description
Naming convention of methods and packages.
Overloading main method
Operators
Assignment operator
Arithmetic operators
Conditional operator
Increment/Decrement operators
Relational operators
Logical operators
Bitwise operators
Shift operators
Compound assignment operators
Control Statements
Conditional control statements
If
If-else
If-else-if
Nested if
switch
Loop control statements
While
Do-while
For loop
Nested loops
Branching statements
break;
continue
return
exit
Methods
Need of functions.
Types of functions
Pre-defined
User-defined
Classification of functions
No args-no return values function
With args-no return values function
With args-with return values function
No args with return values function
Recursive function.
Class members in java
Static members(class level)
Static block
Static variables
Static methods
1. Main method
2. Memory allocation using JVM architecture
3. Accessing Static members in multiple classes
Class loader usage
Non-static members(object level)
Non-static block
Non-static variables
Non-static methods
1. Constructor
2. Introduction to “this” keyword.
3. Memory allocation using JVM architecture
Accessing Non-static members from multiple classes
Wrapper classes
Introduction
Why wrapping
Boxing and Unboxing
Auto Boxing and Auto Unboxing
Primitive to String conversion (using valueOf()and toString() methods)
String to Primitive conversion (using valueOf() and xxxValue() methods)
Packages
Introduction
How to create user defined package
Calling members of same package
Calling members of another package
Need of import statement
Need of fully qualified name
Difference between import and include
Creating Sub packages
Importing sub packages
Access specifiers introduction
public
private
protected
<package> or <default>
Usage of access specifiers in packages
Command line arguments
Introduction
Advantage and disadvantages
parseXxx methods
Scanner class
Random class
OOPS
Introduction to OOPS
Introduction to class, object
Encapsulation, Abstraction
Inheritance
‘this’ keyword
Initialization of object using “this”
Accessing variable using “this”
Invoking constructor using “this()”
Constructor chaining
“this” as parameter to a function
Returning “this” to a function
Calling instance members from non-static context
‘super’ keyword
Initialization of super class object
Constructor chaining in hierarchy
Instantiation of abstract class
Accessing super class variable using “super”
Invoking super class constructor using “super()”
Types of inheritance
Single(simple) inheritance
Multi level inheritance
Hierarchal inheritance
Applying Modifiers and Access specifiers in inheritance
Object casting
Implicit & Explicit up casting
Implicit & Explicit down casting
Data hiding (static and non-static)
Introduction to dynamic polymorphism
final keyword
if class is final
if method is final
if variable is final
if abstract class is final
if interface is final
Polymorphism
Static polymorphism(method over loading)
Runtime polymorphism(method overriding)
Abstract classes
Introduction to Abstraction
Use of Abstraction
Instantiation of abstract class
Illegal combination of modifiers
Initialization of abstract class object
Super-Sub construction chaining
Runtime polymorphism in abstraction
Interfaces
Introduction to interfaces
Use of interfaces
Extending interfaces
Implementing interfaces
Multiple inheritance in java
Aggregation
Association
Composition
Singleton class
Factory class.
Exception handling
Introduction
Why exceptions
Exceptions API
Checked exceptions
Un checked exceptions
Try, catch, throw, throws, finally
Nested try blocks
Multiple catch blocks
Cautions while handling exceptions
Handling checked and unchecked exceptions
Throwing pre-defined exception class object explicitly
User defined exceptions
Throwing user-defined exception objects.
Finally block usage.
Multi threading
Introduction to multi tasking and multi threading
Drawbacks in multi tasking
Creation of Thread
Life cycle of Thread
Threads Using Thread class
Threads Using Runnable interfaces
Constructors of Thread class.
Time management in multi tasking and multi threading
Priorities of threads.
Naming to threads via constructors or via setters.
Synchronization
sleep(),join(), wait(), notify(), notifyAll(),
Garbage collection
Introduction GC
Introduction to daemon threads
Drawbacks of
finalize()
gc()
gc()
exec();
JVM memory increment
Process class.
Io streams
Byte streams
Character streams
Object streams (Serialization)
Buffered streams
Working with files
Creating a file
Creating a directory
Creating path
Deleting file or directory
Hiding file
Setting read, write and execute permissions to files
Reflection API
Inner classes
Static inner classes
Non-static inner classes
Local inner classes
Anonymous inner classes
Strings
Introduction to Strings
Creating objects to String
String library functions
Mutable objects
Immutable objects
String/StringBuffer/StringReader
Creating Immutable class
Collections
Introduction to collections
Introduction to generics
Difference between arrays and Collections
Collection interfaces
List Interface
ArrayList
Vector
LinkedList
Set Interface
HashSet
Introduction to Hashtable
Load factor influence
LinkedHashSet
TreeSet
Map Interface
HashMap
LinkedHashMap
TreeMap
Queue Interface
LinkedList
PriorityQueue
Time management over collection classes
Memory management over collection classes
Deleting duplicate objects from collections
equals() method
Iterator class
Enumeration class
for-each loop
influence of generics in collections
JDK 8 features
Functional interfaces
Lambda expressions
Default methods in interface
Static methods in interface
ForEach() method in Iterable interface
Stream API
Method references
Collectors class
Optional class
AWT, Applets and Swings
Introduction to AWT
AWT library classes and interfaces
Introduction to Applets
Creating Applets
Applet Life cycle
Drawing shapes and colors in Applets
Creating components
LayoutManagement
Flow layout
Grid layout
Box layout
Border layout
Event Listeners
ActionListeners
TextListeners
MouseListeners
MouseMotionListeners
FocusListeners
Calculator program
Introduction to swings
Swings API
Light weight components(independent)
Heavy weight components(native or dependant)
Components creation
Menu creation
Sub menu creation
Setting Listeners to components
ADVANCED JAVA 90 Hrs.
Contents [hide]
1 About Advanced Java Training
2 Advanced Java Training Course Prerequisite
3 Advanced Java Training Course Objective
4 Advanced Java Training Course Duration
5 Advanced Java Training Course Content Overview
6 JDBC
o 6.1 JDBC API and JDBC Drivers
o 6.2 JDBC API
o 6.3 SQL
o 6.4 Establishing Connection to Database
o 6.5 Statement interface
o 6.6 PreparedStatement interface
o 6.7 Resultset Interface
o 6.8 SQL 99 Datatypes
o 6.9 Metadata
o 6.10 CallableStatement
o 6.11 Batch updates
o 6.12 Transaction Management
o 6.13 Connection Pooling
o 6.14 RowSet
o 6.15 Communicating with difference databases
o 6.16 JDBC 4.0 Features
o 6.17 Working With Properties File
7 SERVLET
o 7.1 JEE
o 7.2 Introduction
o 7.3 Servlet API
o 7.4 HTTP Protocol
o 7.5 Developing Servlet
o 7.6 Developing And Deploying Servlet Apps in Diff Servers Like
o 7.7 ServletRequest
o 7.8 ServletResponse
o 7.9 ServletConfig
o 7.10 GenericServlet
o 7.11 Working with welcome-file
o 7.12 Methods of loading Servlet
o 7.13 ServletContext
o 7.14 HttpServlet
o 7.15 HttpServletRequest
o 7.16 HttpServletResponse
o 7.17 RequestDispatching
o 7.18 Redirecting
o 7.19 Attributes
o 7.20 State and Session Management
o 7.21 URL Rewriting
o 7.22 Hidden form fields
o 7.23 Cookies
o 7.24 HttpSession
o 7.25 Error Handling in Servlet
o 7.26 Filters
o 7.27 Listeners
o 7.28 Authentication and Authorization(Security In Servlet Programming)
o 7.29 Working Connection Pooling
o 7.30 Working with domains
o 7.31 Working with Servlet 2.5/3.0/3.1 features
o 7.32 Annotations in Servlet Programming
8 JSP
o 8.1 Introduction
o 8.2 JSP Basics
o 8.3 JSP Tags
o 8.4 Scripting Elements
o 8.5 JSP implicit object
o 8.6 Directives
o 8.7 Standard Actions
o 8.8 Java Bean
o 8.9 Using Java Bean in JSP
o 8.10 Expression Language
o 8.11 Working JSTL
o 8.12 Custom Tags
o 8.13 MVC Architecture
o 8.14 Developing Project using MVC
Advanced Java Training Course Content Overview
Introduction
About Java Platforms
Applications of Java
About API (Application Programming Interface)
Static Blocks
Introduction to interfaces
Runtime Polymorphism
Persistence
What is Persistence?
File management system
Disadvantages of File management system
Database management system
Advantages of Database management system
JDBC
Introduction to JDBC
Why JDBC? & ODBC Vs JDBC
Approch-1 Vendor specific library
Disadvantages
Approch-2 X/Open standards
Disadvantages
Approch-3 ODBC standards
Disadvantages
Approch-4 JDBC standards
Advantages
JDBC API and JDBC Drivers
About JDBC API
What is a JDBC Driver?
JDBC architecture
Types of JDBC Drivers
JDBC-ODBC bridge driver
Advantages & Disadvantages
Native API Partly Java Driver
Advantages & Disadvantages
Net-Protocol all/pure java driver
Advantages & Disadvantages
Native-Protocol pure java driver
Advantages
JDBC API
JDBC Packages
sql, Javax.sql
Interfaces and classes in above packages
Versions of JDBC API
Steps for developing JDBC application
SQL
Introduction to SQL
Types of SQL queries
Establishing Connection to Database
About DriverManager class
Methods of DriverManager
What is registering driver with DriverManager
Different methods of registering driver with DriverManager
About getConnection method of DriverManager
Syntax of URL to communicate with database
Autoloading of class driver in JDBC 4.0
Example with Application
Statement interface
What is Statement? & Need of Statement
Characteristics of Statement
How to get Statement object?
Methods of Statement
Passing SQL statements to Database
About execute, executeUpdate, executeQuery, largeExecute Updates
methods
Example with Application
PreparedStatement interface
What is PreparedStatement?
Need of PreparedStatement
Difference between Statement and PreparedStatement
How to get PreparedStaement object
Defining parameters
How to pass values to PerparedStatement object
What is SQL Injection attack & how to overcome
Example with Application
Resultset Interface
What is ResultSet?,
Need of ResultSet
How to get resultset object
Methods of ResultSet
Reading data, Various types of ResultSet
Resultset types
TYPE_SCROLL_SENSITIVE
TYPE_SCROLL_INSENSITIVE
TYPE_FORWARD_ONLY
Resultset modes
CONCUR_READ_ONLY, CONCUR_UPDATABLE
Example with Application
SQL 99 Datatypes
BLOB
Inserting blob type, Reading blob type
CLOB
Inserting clob type, Reading clob type
Array, Inserting array type
Reading array type
Object, Inserting object
Reading object
Example with Application
Metadata
Resultset Metadata
Need of ResultsetMetaData
How to get metadata
DatabaseMetadata
How to get database metadata
Parameterizedmetadata
How to get parameterizedmetadata
Example with Application
CallableStatement
About CallableStatement
Advantage of CallableStatement
Creating CallableStatement object
Calling Procedure using CallableStatement
Calling functions using Callable Statement
About PL/SQL Programming vs Manual on Batch Queries
Batch updates
What is batch processing
Batch updates using Statement object
Batch updates using PreparedStatement object
Transaction Management
Transaction Definition
ACID Properties
Atomicity, Consistency,Isolation, Durability
Methods in Transaction Management
setAutoCommit(), setSavePoint()
commit(), rollback()
Example with All Application
Connection Pooling
What is connection pooling?
Advantages of connection pooling
Disadvantage of DriverManager
About DataSource
JDBC connection pooling
Isolation Levels
Example with Application
RowSet
What is RowSet?
What is difference between ResultSet and RowSet
Types of RowSets
JdbcRowSet
CachedRowSet
WebRowSet
Example with Application
Communicating with difference databases
Communicating with MYSQL
Working with CSV files
Communicating with MS-EXCEL
Communicating with PostgreSql
Example with Application
JDBC 4.0 Features
Auto-loading of JDBC driver class
Connection management enhancements
Support for RowIdSQL type
DataSet implementation of SQL using Annotations
SQL exception handling enhancements
SQL XML support
Example with Application
Working With Properties File
Working With Date Values
Procedure To Create Desktop icon (jar file execution)
SERVLET
JEE
JEE technology
Components of JEE technology
What is Enterprises Application
What is Web Application
Types of Web Application
Presentation Oriented Web Application
Service Oriented Web Application
About Web Client, About WebServer
About ApplicationServer
Diff Between WebServer And Application Server
Introduction
Server side technologies
Need of server side technologies
Client side technologies
What is Servlet? & Advantages of Servlet
Difference between CGI and Servlet
Servlet API
Versions of Servlet API
Packages of Servlet API
About Servlet Container
Responsibilities of Servlet Container
HTTP Protocol
What is HTTP?
What is HTTP Request format & Response format
Developing Servlet
Servlet interface
Methods of Servlet interface
Developing servlet by implementing Servlet interface
Life cycle methods of Servlet
Webapplication directory structure
Deployment descriptor file (web.xml)
What is deployment?
Types of deployments
Deployment, Console deployment
Tool deployment
Deployment webapplication in tomcat server
URL patterns
Developing And Deploying Servlet Apps in Diff Servers Like
Tomcat Server
JBoss Server / WildFly
Weblogic Server
GlassFish
ServletRequest
Methods of ServletRequest
About request parameters
About request headers
ServletResponse
Methods of ServletResponse
MIME types
Generating response
ServletConfig
What is ServletConfig?
What is need of ServletConfig
Methods of ServletConfig
Different ways of getting ServletConfig object.
Defining config initial parameters in web.xml
GenericServlet
What is GenericServlet?
Methods of GenericServlet
About init(ServletConfig),init() method
Working with welcome-file
Configuring welcome-file in web.xml
Methods of loading Servlet
About load on start up
When client send first request
ServletContext
What is ServletContext?, Need of ServletContext
Methods of ServletContext
Different ways of getting ServletContext object
Context init parameters
Defining Context init parameters in web.xml
HttpServlet
What is HttpServlet?
Methods of HttpServlet
HTTP Request methods
About public service and protected service methods
About doXXX() methods
Difference between GenericServlet and HttpServlet
Diff Between doGet(-,-) and doPost(-,-) methods
HttpServletRequest
HttpServletRequest VS ServletRequest
How to read request parameters of HttpServletRequest
How to read request headers of HttpServletRequest
HttpServletResponse
HttpServletResponse VS ServletResponse
About HttpServletResponse methods
Response status codes
Html To Servlet Communication
Form Validations
Different Types of Form Components
Working With Multiple Hyperlinks
Working With Multiple Submit Buttons
War File Creation
Servlet To DataBase Software Communication
RequestDispatching
What is RequestDispatcher?
What is need of RequestDispatcher?
RequestDispatching methods
Include
Forward
Difference between include and forward methods
Getting RequestDispatcher
Using ServletRequest
UsingServletContext
Difference between getting RequestDispatcher using ServletRequest and
ServletContext
What is Servlet Collaboration?
Redirecting
About sendRedirect method
Difference between sendRedirect and forward methods
setStatus, response.setHeader methods
Attributes
What is Attribute
Difference between parameter and attribute
Scope of Attributes
Request scope, Context scope
Session scope
Adding, removing and modifying attributes
Thread Saftey In Servlet Programming
State and Session Management
About connectionless protocol
About connection oriented protocol
Stateless protocol
What is state/session management
Need of session management
Session management methods
URL rewriting, Hidden form fields
Cookies, HttpSession
URL Rewriting
What is URL rewriting
URL rewriting techniques
Disadvantages of URL rewriting
Hidden form fields
What is hidden form fields
Disadvantages of hidden form fields
Cookies
What is Cookie,
How to create Cookie
Methods of Cookie
Types of Cookies
Non Persistent Cookie
Persistent Cookie
How to add cookie to response
How to read cookie from request
Deleting cookie from servlet
Properties of Cookie
Disadvantages of Cookies
HttpSession
What is HttpSession
Advantage of HttpSession
How to create HttpSession object
How to read HttpSession object from request
Invalidating HttpSession
Using invalidate method
Using session config in web.xml
By setting time
HttpSession attribute
Error Handling in Servlet
Configuring in web.xml
Programmatically
Filters
What is Filter?
Need of Filter & Lifecycle of Filter
Filter mapping in web.xml
About FilterConfig
Defining config parameters in web.xml
About FilterChain interface
Methods of FilterChain
What is Filter chaining?
Working with filter chaining
Listeners
What is Listener?
Usage of Listener
About Event Delegation Model Architecture
Types of Listeners
RequestListener
ServletContextListener
HttpSessionListener
Types of Attribute Listener
Request AttributeListener
HttpSessionAttributeListener
ServletContextAttributeListener
About Event classes
Authentication and Authorization(Security In Servlet Programming)
Understanding Authentication Mechanism
HTTP basic authentication
HTTP Digest authentication
HTTPS Client authentication
HTTP form based authentication
Working Connection Pooling
Connection pooling in difference servers
Tomcat, Weblogic, Glassfish
JBoss Server / WildFly
Developing servlet using serverside connection pooling
Working with domains
Creating domain in weblogic server
Deploying webapplication using console
Creating domain in glassfish server
Deploying webapplication using console
Working with Servlet 2.5/3.0/3.1 features
Async Servlet
File Uploading and Downloading
Non-blocking I/O
HTTP protocol upgrade mechanism
Different Types Of URL Patterns
Dynamic Registration Of Servlet (Developing Servlet Program Without
web.xml)
Annotations in Servlet Programming
Introduction to Annotations
Types of Annotations
Annotations Vs web.xml
JSP
Introduction
What is JSP?
Advantages of JSP & Applications of JSP
Difference between JSP & Servlet
JSP Basics
JSP Life cycle, JSP Lifecycle methods
jspInit, _jspService
jspDestroy, Saving jsp file as a,
Public resource, Private resouse
JSP tags
JSP Tags
three categories of tags
scripting elements, directives
standard actions
Scripting Elements
What is scripting elements
Types of scripting elements
Declaration tag
Expression tag
Scriptlet
JSP implicit object
What is jsp implicit objects
Need of jsp implicit objects
Implicit objects of jsp
Request, Response, Page
pageContext, out, session
exception, application, config
Directives
What is directive?
Types of directives
Page directive, Include directive
Taglib directive
Standard Actions
What is standard action
Standard actions
<jsp:include>
<jsp:forward>
<jsp:param>
<jsp:useBean>
<jsp:setProperty>
<jsp:getProperty>
Working with <jsp:include>
Difference between <jsp:include> and <%@include> directive
Working with <jsp:forward>
Java Bean
What is java bean?
Usage of bean
Properties of bean
Using Java Bean in JSP
About <jsp:useBean>
Attributes of <jsp:useBean>
Working with scope of bean object
Using bean with <jsp:include> and <jsp:forward>
Assigning values to bean using <jsp:setProperty>
Reading values from bean using <jsp:getProperty>
Expression Language
What is Expression Language
Advantage of Expression Language
Syntax of defining expression
Basic Operators in EL
Implicit objects In EL
pageScope, requestScope
sessionScope, applicationScope
param, paramValues, header
headerValues, initParam, cookie
pageContext, Defining functions
Working JSTL
What is JSTL?, Version of JSTL
Classification of JSTL tags
Core tags, Formatting tags
SQL Tags, XML tags
JSTL Functions
How to use JSTL in webapplication
Working with Core tags, Formatting tags & SQL tags
Working JSTL functions
Custom Tags
What is tag?, Java based tag
Components of tag library
The Tag Handler Class
The Tag Library Descriptor File
Imports a tag library (referencing URL of descriptor file)
Defines tag prefix
Uses tags, About tag handler
Tag interface, SimpleTag
TagSupport, BodyTagSupport
SimpleTagSupport
Developing tag using SimpleTagSupport class
Lifecycle of custom tag
Tag hander class with attributes
Developing tag with body
MVC Architecture
MVC Design pattern
MVC-1 Page Centric
Advantages & Disadvantages
MVC-2
Developing Project using MVC
Integrating JDBC , Servlets And JSP