Naresh It Core Java & Adv Java Syllabus
Naresh It Core Java & Adv Java Syllabus
Platform dependency?
Introduction to Java?
History of Java
JDK includes
Platform Independency?
Structure of Java-application?
Primitive types
Introduction
Memory occupancy
Ranges
Errors(compile time and runtime)
Primitive type casting(implicit and explicit)
Reference types
Operators
Assignment operator
Arithmetic operators
Conditional operator
Increment/Decrement operators
Relational operators
Logical operators
Bitwise operators
Shift operators
Compound assignment operators
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.
Static block
Static variables
Static methods
1. Main method
2. Memory allocation using JVM architecture
3. Accessing Static members in multiple classes
Non-static block
Non-static variables
Non-static methods
1. Constructor
2. Introduction to “this” keyword.
3. Memory allocation using JVM architecture
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
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
final keyword
if class is final
if method is final
if variable is final
if abstract class is final
if interface is final
Polymorphism
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
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
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
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
Introduction
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
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
Statement interface
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
Transaction Management
Transaction Definition
ACID Properties
Atomicity, Consistency,Isolation, Durability
Methods in Transaction Management
setAutoCommit(), setSavePoint()
commit(), rollback()
Example with All Application
Connection Pooling
RowSet
What is RowSet?
What is difference between ResultSet and RowSet
Types of RowSets
JdbcRowSet
CachedRowSet
WebRowSet
Example with Application
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
Servlet API
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
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
ServletContext
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
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
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
URL Rewriting
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
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
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)
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 Tags
Scripting Elements
Directives
What is directive?
Types of directives
Page directive, Include directive
Taglib directive
Standard Actions
Java Bean
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
Working JSTL
Custom Tags
MVC Architecture