Exception Handling
Exception-Handling Fundamentals
Exception Types
Uncaught Exceptions
Using try and catch
a. Displaying a Description of an Exception
Multiple catch Clauses
Nested try Statements
throw
throws
finally
Java’s Built-in Exceptions
Creating Your Own Exception Subclasses
Chained Exceptions
Using Exceptions
Multithreaded Programming
The Java Thread Model
a. Thread Priorities
b. Synchronization
c. Messaging
d. The Thread Class and the Runnable Interface
The Main Thread
Creating a Thread
a. Implementing Runnable
b. Extending Thread
c. Choosing an Approach
Creating Multiple Threads
Using isAlive( ) and join( )
Thread Priorities
Synchronization
a. Using Synchronized Methods
b. The synchronized Statement
Interthread Communication
a. Deadlock
Suspending, Resuming, and Stopping Threads
a. Suspending, Resuming, and Stopping Threads
b. Using Java 1.1 and Earlier
c. The Modern Way of Suspending, Resuming,
d. and Stopping Threads
Using Multithreading
Enumerations, Autoboxing, and Annotations (Metadata)
Enumerations
a. Enumeration Fundamentals
b. The values( ) and valueOf( ) Methods
c. Java Enumerations Are Class Types
d. Enumerations Inherit Enum
e. Another Enumeration Example
Type Wrappers
Autoboxing
a. Autoboxing and Methods
b. Autoboxing/Unboxing Occurs in Expressions
c. Autoboxing/Unboxing Boolean and Character Values
d. Autoboxing/Unboxing Helps Prevent Errors
e. A Word of Warning
Annotations (Metadata)
a. Annotation Basics
b. Specifying a Retention Policy
c. Obtaining Annotations at Run Time by Use of Reflection
d. The AnnotatedElement Interface
e. Using Default Values
f. Marker Annotations
g. Single-Member Annotations
h. The Built-In Annotations
i. Some Restrictions
I/O, and Other Topics
I/O Basics
a. Streams
b. Byte Streams and Character Streams
c. The Predefined Streams
Reading Console Input
a. Reading Characters
b. Reading Strings
Writing Console Output
The PrintWriter Class
Reading and Writing Files
The transient and volatile Modifiers
Using instanceof
Strictfp
Native Methods
a. Problems with Native Methods
Using assert
a. Assertion Enabling and Disabling Options
Static Import
Invoking Overloaded Constructors Through this( )
Generics
What Are Generics?
A Simple Generics Example
a. Generics Work Only with Objects
b. Generic Types Differ Based on Their Type Arguments
c. How Generics Improve Type Safety
A Generic Class with Two Type Parameters
The General Form of a Generic Class
Bounded Types
Using Wildcard Arguments
a. Bounded Wildcards
Creating a Generic Method
a. Generic Constructors
Generic Interfaces
Raw Types and Legacy Code
Generic Class Hierarchies
a. Using a Generic Superclass
b. A Generic Subclass
c. Run-Time Type Comparisons Within a Generic Hierarchy
d. Casting
e. Overriding Methods in a Generic Class
Erasure
a. Bridge Methods
Ambiguity Errors
Some Generic Restrictions
a. Type Parameters Can’t Be Instantiated
b. Restrictions on Static Members
c. Generic Array Restrictions
d. Generic Exception Restriction
Final Thoughts on Generics
JDBC
Introduction to JDBC
JDBC drivers
Java.sql package
Data Base Connecting Steps
Statement
PreparedStatement
CallableStatement
ResultSet
Bi-Directional Statement
Batch update.
Transaction Management
Jdbc New features.
JNDI
JNDI API
Connection Pool
SERVLET
What is Web Application
CGI
Servlet
Web Server , Web Container
HTTP protocol
GenericServlet
HttpServlet
Servlet Life Cycle
Servlet Work Flow
How to create War file
How to develop a Servlet in Eclipse , Myeclipse
GET AND POST request
ServletConfig ,ServletContext
Attribute in Servlet
RequestDispatcher
Session Tracking
Hidden Form Field
Cookie
HttpSession
URL Rewriting
Filters
Annotation Servlet
SingleThreadModel
How to develop an application by using servet.