Spindustry News

Azure For IT Professionals

Learn more about implementing Azure as part of your infrastructure.

Staying Sharp on Microsoft Office Can Save Time & Money

Learning the latest Microsoft Office tips and tricks can benefit you greatly.

"How do I determine if this new technology is for real?"

Michael Bird explains how to navigate new technology waters.
Training partners

Spindustry Training

spindustrytraining.com - (515) 334-9556

Bookmark and Share

Java EE (JEE6/JEE7) with Servlets, JSP & JDBC

Course Code: JAVA-EEDev
Length: 5 Days
Tuition: $2,995.00

Schedule for this Course

There are no dates scheduled for this course.
If you would like to be added to the wait list for this class Click Here

Course Description:

Supported Platforms: Eclipse/Tomcat, GlassFish, JBoss AS, IBM Rational Application Developer (RAD) / Websphere AS, Weblogic AS

Skills Gained:

  • Design and build robust and maintainable web applications
  • Create dynamic HTML content with Servlets and Java ServerPages, 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
  • See the full descriptions for detailed content

Prerequisites

Working knowledge of Java

Course Outline:

Session 1: Java EE Introduction

  • Java EE Overview and Technologies
  • JEE Architecture Choices
  • Review: Web Applications, HTML, HTTP
  • Java Web App Introduction

Session 2: Servlet Basics

  • Servlet Basics and Capabilities
  • Basics of Writing a Servlet
  • HTML Forms Review
  • HTTP Review: Requestresponse, headers, GET, POST
  • Overview: How Servlets Work
    • Servlet Lifecycle and API Servlet, HttpServlet, @Webservlet
    • Requests and Responses HttpServletRequest and HttpServletResponse
    • Accessing Parameters
    • web.xml

Session 3: Additional Servlet Capabilities

  • Working with HttpServletResponse
    • Status/Errors
    • Response Headers
    • MIME Types
  • Initialization
    • Overview
    • Using ServletConfig and ServletContext
    • Init Parameters Servlet and Web App
  • Error Handling: Error Pages and Their Configuration

Session 4: JavaServer Pages

  • Basics and Overview
    • JSP architecture
    • JSP tags and JSP expressions
    • Fixed Template Data
    • Lifecycle of a JSP
  • Model View Controller (MVC)
    • Overview
    • Java EE Model 2 Architecture
    • Servlets as Controllers, RequestDispatcher, Forwarding and Including
  • Data Sharing in a Web App
    • Object scopes or "buckets"
    • Using JavaBeans to Hold Data
    • Using the Scope Objects get/set/remove Attributes
    • Request, application, session and page scope
  • JSP Expression Language (EL) and Data Access
    • JSP EL Overview
    • JSP Expressions, and Accessing Data
    • Predefined JSP EL implicit objects (pageContext, param, header, scope objects)
  • jsp:include, jsp:forward, the page Directive

Session 5: Using Custom Tags

  • Custom tags overview
  • Tag Libraries Overview
  • taglib Directive Using a Tag Library
  • JSTL
    • Overview
    • c:out, c:forEach
    • c:url, c:param

Session 6: HTTP Session Tracking

  • HTTP and Client State
    • Hidden form fields
    • Cookies Overview, Servlet Access, Usage, Issues
  • Sessions
    • Servlet/JSP Session Support, HttpSession
    • Using Sessions Putting Data in, Retrieving Data From
    • How Sessions Work

Session 7: More JSP Capabilities

  • Error Pages
    • Error Pages and Exception Handling
    • The implicit exception Object
    • JSP 2.0+ Error Handling and errorData Object
    • Directives (page, include, others)
  • JSPs as XML Documents
  • Scriptlets Overview and Usage    Session 8: More JSTL and EL
  • More About the JSTL
  • Core, Formatting, SQL, XML, Functions Libraries
  • Other Useful Core Tags
  • Formatting: formatNumber, formatDate, Resource Bundles
  • More About the JSP EL Syntax, Implicit Objects, pageContext in Detail
  • Using Common Tags c:if, c:choose
  • Using fmt:formatDate, fmt:formatNumber

Session 9: Security

  • JEE Security Overview
  • Role Based Security
  • Declarative Security
  • Web Authentication Basic, FormBased, Digest, HTTPS Client
  • Using Basic Authentication
  • Using FormBased Authentication
  • Programmatic Security HttpServletRequest, Retrieving Roles

Session 10: Additional Web Capabilities

  • Custom Tags Using Tag Files Overview, Writing and Using Tag Files, Tag Attributes
  • Servlet Filter overview Example and lifecycle
  • Writing a Servlet Filter
  • Java ServerFaces (JSF) Overview
    • Advanced MVC – JSF overview
    • JSF Components
    • Process Flow
    • Advantages and Disadvantages
  • JDBC

Session 11: JDBC Introduction and Architecture

  • Relational Database and JDBC Overview
  • 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

Session 12: Data Access with JDBC

  • DAO – Data Access Objects, OR Mapping, Value Objects
  • Object-Relational Mapping Ideas
  • Processing Database Data
    • Executing statements, precompiled statements and stored procedures
    • Processing ResultSets,
    • Dealing with Null data
    • PreparedStatement, CallableStatement
    • Controlling Transactions
  • JDBC Driver Types

[Optional] Session 13: JDBC Advanced Topics

  • Java Persistence API Overview
  • Advanced JDBC Features Batch Updates, Srollable Result Sets, Rowsets, User Defined Types, BLOBS, CLOBS

Database Integration and Additional Technologies
Session 14: Java EE Database Integration

  • Resource Injection, @Resource, JNDI and ENC
  • Connecting servlets to a database via DataSource
  • Connection Pooling Concepts

Session 15: Additional Topics

  • EJB
    • EJB Overview and highlevel architecture
    • Roles within EJB
    • Remote Client view of a session bean / JNDI Lookup
    • Remote and Home Interfaces
    • Writing an EJB client
  • XML and Web Services Overview
    • XML and Web Services
    • JAXWS Web Services Overview
  • Design Considerations: Web Design, System Architecture, Scalability, Clustering

back to top