RKCP Information Technology




JSP & Servlet
Home » Courses   » JSP & Servlet

JSP & Servlet

JSP and Servlets Training course teaches participants to build database-driven Web applications using JavaServer Pages and Java Servlets.


Overview

The JSP and Servlets training course teaches beginning and early intermediate Java developers how to build database-driven Web applications using JavaServer Pages and Java Servlets.


Objective

At the end of JSP Training course, participants will be able to:

  • Design and build robust and maintainable web applications
  • Create dynamic HTML content with Servlets and JavaServer Pages, using the JSP Standard Tag Library (JSTL)
  • Make Servlets and JSP work together cleanly
  • Use JSTL and other Custom Tag Libraries to separate Java and HTML code
  • Access databases with JDBC
  • Use Enterprise JavaBeans effectively from Servlets and JSP

Duration - 5 Days


Prerequisites

All participants should be fluent in HTML and have a prior knowledge of object-oriented or object-based programming, as well as some knowledge of SQL and relational databases.


Syllabus

Expand All
  • 1. Java EE Introduction
    • Java EE Overview
    • Java EE Technologies
    • Java EE Architecture
    • MVC
  • 2. Servlets and JSP with the JSP Standard Tag Library (JSTL)
    • Web Application Basics
    • - How the Web works, Thin Clients, TCP/IP
    • - HTTP overview, Brief HTML review
    • - Overview of Java EE, servlets & Web applications
    • - Servlet Basics -
    • Servlet API
    • - HTML Forms
    • - HTTP: Request-response, headers, GET, POST
    • - Overview: How Servlets Work
    • - tServlet Lifecycle: init(), service(), destroy()
    • - ttRequests and responses
    • - t
    • - Core Servlet API: GenericServlet, ServletRequest, and ServletResponse
    • - HTTP Servlets: HttpServletRequest, HttpServletResponse and HttpServlet
    • - Accessing Parameters -
    • Additional Servlet Capabilities
    • - HTTP headers and MIME types
    • - RequestDispatcher: Including and forwarding
    • - Sharing data with the request object attributes
    • - Sharing data with ServletContext attributes
    • - Error Handling -
    • JavaServer Pages
    • - Basics and Overview
    • - tJSP architecture
    • - ttJSP tags and JSP expressions
    • - ttFixed Template Data
    • - ttLifecycle of a JSP
    • - t
    • - Model View Controller (MVC)
    • - tModel 1/Model 2 Architecture
    • - t
    • - Data Sharing among servlets & JSP
    • - tObject scopes or *buckets*
    • - ttRequest, application, session and page scope
    • - ttPredefined JSP implicit objects (request, session, application, page)
    • - tt
    • - tt,
    • - tt, - t -
    • Using Custom Tags
    • - Custom tags overview
    • - Reducing JSP complexity
    • - Tag Libraries
    • - tTag Library Descriptor (TLD)
    • - ttLoading a tag library in a web app
    • - t
    • - The JSTL
    • - JSP Expression Language (EL)
    • - Using custom tags
    • - tThe c:url, c:param, c:forEach, c:out tags - t -
    • More JSP Capabilities and Session Management
    • - HTTP as a stateless protocol
    • - Hidden form fields
    • - Cookies: Overview, API, Using cookies
    • - Session overview: Cookies and session tracking
    • - HttpSession
    • - tPutting data into a session object
    • - ttRetrieving data from a session object
    • - t
    • - Using session data in servlets and JSPs
    • - Additional JSP Capabilities
    • - tException handling and error pages
    • - ttDirectives (page, include, others)
    • - t
    • - Import declarations
    • - Multithreading considerations and data safety
    • - tSingleThreadModel interface - t -
    • Additional JSP Capabilities
    • - JSP Directives
    • - JSP Error Pages
    • - JSP and Java
    • - tDeclarations, Scriptlet overview, Scriptlet syntax - t -
    • More JSTL
    • - Overview of JSTL libraries
    • - The JSTL Expression Language
    • - tExpressions, Type Coercion, Operators, String concatenation, Implicit Objects
    • - t
    • - The Core JSTL Library
    • - tGeneral Purpose: c:out, c:set, c:catch
    • - ttConditional: c:if, c:choose
    • - t
    • - Overview of other capabilities -
    • Additional Topics
    • - Servlet Filter overview
    • - tFiltering examples, lifecycle, & filter chains
    • - ttFilter API, Modifying a request, Modifying a response
    • - t
    • - Struts Overview
    • - tAdvanced MVC ??? Struts overview
    • - ttCommand and State patterns
    • - ttStruts View and Controller elements - t -
  • 3. JDBC
    • Introduction
    • Relational Database and JDBC Overview
    • - Overview, Table Relationships, Web Based Data Access, JDBC Characteristics -
    • JDBC Architecture, JDBC API Overview
    • - DriverManager, JDBC Drivers
    • - Naming databases with JDBC URLs -
    • Connecting to a database
    • - Connection interface, Establishing a connection -
    • DataBaseMetaData
    • Handling Database Exceptions
    • Data Access
    • - DAO ??? Data Access Objects, O-R Mapping, Value Objects
    • - Processing Database Data
    • - tExecuting statements, precompiled statements and stored procedures
    • - ttProcessing ResultSets
    • - ttDealing with Null data
    • - ttUpdating, inserting, retrieving data
    • - ttControlling Transactions
    • - t
    • - JDBC Driver Types
    • - DataSource
    • - tJava EE and DataSource, Using JNDI
    • - t
    • - Connection Pooling
    • - tOverview, Usage, Advantages - t -
    • Advanced Topics
    • - Other Database Access Technologies
    • - tSQLJ, O-R Mapping Tools, JDO (Java Data Objects), EJB Entity Beans
    • - t
    • - Advanced JDBC Features
    • - tBatch Updates, Scrollable Result Sets, Rowsets, User Defined Types, BLOBS, CLOBS - t -
  • 4. Component Integration and EJB
    • Database Integration
    • - Web Architecture choices
    • - Connecting servlets to a database via DataSource -
    • EJB
    • - Overview of EJB
    • - High-level EJB architecture
    • - Roles within EJB
    • - Client view of a session bean
    • - JNDI (Java Naming and Directory Interface)
    • - Remote and Home Interfaces
    • - Writing an EJB client
    • -
    • Other Technologies
    • - XML and Web Services
    • - JMS ??? Java Message Service -
    • Labs
    • - Accessing a database from a servlet
    • - Accessing an EJB from a servlet -