About Advanced Java Training - Broacher
About Advanced Java Training - Broacher
The course builds a strong understanding of JDBC Technology. It gives in to demonstrate why Servlets are the
cornerstone of Java’s Web platform. It then shows how JSP is built on the Servlet architecture. Additionally, the
class shows students how to use JSTL, custom tags and expression language to reduce Java code in Web
pages while adding tremendous power and capability to those pages. The class culminates in an exploration of
Java MVC frameworks like Struts at a high level.
This is not a class that focuses on theory. Participants will find the course is loaded with practical labs and
simulations. After taking this class, developers will be able to build Web applications that perform well, are
scalable, and that are easier to maintain.
Basic Knowledge of Core Java is required. An understanding of Web technologies like HTML and HTTP is
helpful.
Learn the fundamentals of JDBC and using the different interfaces in the JDBC API. Learn how to use Java
servlets in the role of Web application control. Identify the options to state management in a Java Web
application and understand the pros/cons of each. Understand how JSPs can help to separate Web logic and
functionality from page layout. Explore how to make JSPs smaller and more powerful with JSTL, custom tags
and expression language. Explore strategies in the exchange of data between Web pages (views) and business
processing (model). Learn the meaning and importance of MVC
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
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
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
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)
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 Tags
Scripting Elements
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
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