Skip to main content

Instructor-led training

Fast Track to Java EE 5 with Servlets, JSP & JDBC on Tomcat/Eclipse Training in Windsor, Colorado

Java Enterprise Edition (Java EE 5) is a powerful platform for building web applications.

What you'll learn

Java Enterprise Edition (Java EE 5) is a powerful platform for building web applications. The Java EE platform offers all the advantages of developing in Java plus a co mprehensive suite of server-side technologies. This course tells you what you n eed to know to design and build your own web applications. You'll learn the details of the key Java EE technologies and how to leverage the strengths of each, with special focus on Servlets and JSP. At the same time, you'll be learning about the big picture of Java EE and how to design web applications that are robust, efficien t, and maintainable. If you want to deliver an application on the web, you'll find th is course essential. The course begins with a discussion of web application architecture. A majo r part of the course is spent on Servlets and JavaServer Pages (JSP) with specia l focus on using the JSTL. It then covers JDBC, Java�¢����s database access technology. The course concludes with an in troduction to EJB and other important Java EE technologies. Throughout the course, students will create code for a online store. Students will learn not only specific topics and APIs but al so how to fit the pieces together into a complete application.

Private Training for Teams

This course is offered as private, instructor-led training for organizations, onsite in Windsor, Colorado or live online. Dates, delivery format, and course content are arranged around your team's requirements.

This course is not currently scheduled as a public class for individual enrollment.

Request Group Training

Prerequisites

A working knowledge of Java.

Course Outline

1. Java EE Introduction
Java EE Overview
Java EE Technologies
Java EE Architecture
MVC

2. Web Application Basics
How the Web works, Thin Clients,
TCP/IP
HTTP overview, Brief HTML review
Overview of J2EE
Web Applications - Structure and
Contents
Servlet Basics and Capabilities
Basics of Writing a Servlet

3. Servlet API
HTML Forms Review
HTTP Review: Request-response,
headers, GET, POST
Overview: How Servlets Work

4. Additional Servlet Capabilities
Working w/ HttpServletResponse
Initialization
Error Handling: Error Pages and
Their Configuration

5. JavaServer Pages
Basics and Overview
Model View Controller (MVC)
Servlets as Controllers
Data Sharing in a Web App
JSP Expression Language (EL)
and Data Access
jsp:include, jsp:forward, the page Directive

6. Using Custom Tags
Custom tags overview
Reducing JSP complexity
Tag Libraries
JSTL

7. HTTP Session Tracking
HTTP Session Overview
HTTP as a stateless protocol
Hidden form fields
Cookies
Sessions

8. More JSP Capabilities
Error Pages
JSPs as XML Documents
Scriptlets – Overview and Usage

9. More JSTL and EL
More about JSTL
Core, Formatting, SQL, XML, Functions
Libraries
Custom Tag Architecture and Tag
Library Structure
More about JSTL
More about the JSP EL
Formatting: formatNumber, formatDate,
Resource Bundles
Using Common Tags

10. Security
J2EE Security Overview
Role Based Security
Declarative Security
Web Authentication - Basic, Form-
Based, Digest, HTTPS Client
Using Basic Authentication
Using Form-Based Authentication
Programmatic Security -
HttpServletRequest, Retrieving
Roles

11. Additional Topics
Design Issues
Custom Tags Using Tag Files
Servlet Filter Overview
Java ServerFaces (JSF) Overview

12. JDBC Introduction
Relational Database and JDBC
Overview
JDBC Architecture, JDBC API
Overview
Connecting to a database
DataBaseMetaData

13. Data Access with JDBC
DAO – Data Access Objects, O-R Mapping, Value Objects
Processing Database Data
JDBC Driver Types

14. Advanced Topics
Java Persistence API Overview
Advanced JDBC Features
Batch Updates, Scrollable Result
Sets, Row sets, User
Defined Types, BLOBS,
CLOBS

15. Java EE Database Integration
Environment Naming Context
(ENC) and Resource
Injection
JNDI Overview and the ENC
Connecting servlets to a database
via DataSource
Connection Pooling

16. Additional Topics
EJB Overview
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
XML and Web Services
Overview
Design Considerations: Web
Design, System
Architecture, Scalability,
Clustering

What makes servlet, JSP and JDBC development hard to master

The Java syntax is rarely the obstacle. The difficulty is that a Java EE web application runs inside a container that owns the object lifecycle, the request cycle and the configuration. Much of what goes wrong happens outside your own code.

The syllabus builds the layers in a deliberate order:

  • The web model first. It starts with Java EE architecture, MVC, HTTP request-response, headers, GET versus POST, and the structure of a web application. Later topics assume you can reason about these.
  • Servlets, then JSP. Servlets cover initialization, HttpServletResponse and error pages. JSP then adds the Expression Language, jsp:include, jsp:forward and the page directive. Servlets as controllers feeding JSPs as views is where MVC becomes practical.
  • Reducing JSP complexity. Custom tags, JSTL (core, formatting, SQL, XML, functions), tag files and resource bundles replace scriptlets. A common misconception is that scriptlets are the normal way to write JSP. The course covers them but steers toward tags and EL.
  • State and security. HTTP is stateless, so hidden fields, cookies and sessions are each a workaround with different trade-offs. Declarative security (roles; Basic, Form-based, Digest and HTTPS client authentication) is configured in the container, while programmatic checks use HttpServletRequest. Knowing which layer enforces a rule is a frequent point of confusion.
  • Data access. JDBC architecture, DAOs and value objects, batch updates, scrollable result sets, row sets and BLOB/CLOB handling come first. Then comes the shift to container-managed access: JNDI, the environment naming context, resource injection, DataSource and connection pooling.
  • Breadth topics. The Java Persistence API, EJB (roles, session bean client view, remote and home interfaces), JSF, web services, clustering and scalability are introduced as overviews, not covered in depth.

Who this course suits and where it fits

This is an introductory, five-day course for developers who already have a working knowledge of Java and need to build or maintain server-side web applications on the Java EE 5 platform. It suits teams supporting existing servlet/JSP/JDBC systems and organizations migrating them. The material is associated with Java SE 7 and earlier, which is out of support according to the vendor lifecycle information. Organizations that work on newer Java releases can ask about private training tailored to the versions they use through a training proposal request.

Before: If your Java is rusty or limited to scripting-style code, Fast Track to Java for OO Developers covers the language and object-oriented foundations that the servlet and JDBC material assumes.

After: Once you are comfortable with the web tier and database access, Advanced Java Programming is a natural step for deepening language and platform skills beyond the introductions to EJB, JPA and web services here.

Illustrative applications of these topics

The scenarios below are illustrations of how the course material can be applied. They are not descriptions of specific organizations or of the course's lab exercises.

For example, a team maintaining an internal ordering application might need to trace why users are logged out unexpectedly. The session tracking topics (cookies, hidden fields, HttpSession) and the container's role-based security settings give them a framework for finding the cause.

A team might also inherit JSPs full of scriptlets and embedded SQL. The material on JSTL, EL, custom tags and tag files shows how to move logic into controller servlets and reusable tags. The DAO and value object patterns show how to isolate the database code.

In another case, a developer moving a database connection from hard-coded credentials to a container-managed setup would draw on JNDI, the environment naming context, DataSource and connection pooling. Batch updates and scrollable result sets would help with heavier reporting queries.

Using AI coding assistants with servlets, JSP and JDBC

AI coding assistants can draft boilerplate for these topics: a servlet skeleton, a DAO with ResultSet mapping, JSTL loops over a list, or a form-handling page. They can also explain unfamiliar legacy JSP and suggest tests. This helps most when you are reading an existing codebase.

They tend to fail in these ways:

  • Version mismatch. Suggestions often reflect newer or different stacks, such as Spring Boot, newer package namespaces or annotation-based configuration, instead of the container and descriptor setup you actually run. Check imports and configuration against your server's supported specification levels.
  • SQL injection. Generated JDBC code may concatenate request parameters into SQL strings. Insist on prepared statements and review every query.
  • Resource leaks. Connections, statements and result sets that are not closed will exhaust a connection pool. Check every code path, including exceptions.
  • Security gaps. Assistants may implement authentication by hand where declarative container security fits, or mishandle session identifiers and cookies. Compare against the container's role configuration.
  • Scriptlet-heavy JSP. Output may put logic in the page when JSTL, EL or a controller servlet is the better place.

To verify, deploy to your target container, exercise error pages and authentication paths with real requests, inspect pool usage under repeated calls, and review each generated query and tag usage line by line.

Frequently asked questions

What level is this course and what do I need beforehand?

It is introductory to the Java EE web tier but assumes a working knowledge of Java. You do not need prior servlet, JSP or JDBC experience.

What does the course cover?

Web application architecture and MVC, servlets, JSP with EL and JSTL, custom tags and tag files, session tracking, declarative and programmatic security, JDBC, DAOs, JNDI with DataSource and connection pooling, and overviews of JPA, EJB, JSF and web services. Throughout, students build code for an online store.

Does it go deep on EJB, JPA or JSF?

No. These are introductions. The depth is in servlets, JSP, JSTL and JDBC.

Can this be delivered privately for our team, onsite or online?

Yes. Private training for organizations can be delivered at your location or live online.

Can the content be customized?

Private courses can be tailored to the technology versions and priorities of your organization. You can describe your needs through the training proposal request.

Training locations

Fast Track to Java EE 5 with Servlets, JSP & JDBC on Tomcat/Eclipse training across the U.S. and beyond.

We provide private Fast Track to Java EE 5 with Servlets, JSP & JDBC on Tomcat/Eclipse training for organizations, onsite at your location or live online, throughout the United States and internationally.

View all Fast Track to Java EE 5 with Servlets, JSP & JDBC on Tomcat/Eclipse training locations

Train your team with HSG

Private, instructor-led training customized for your organization.

  • Onsite or live online delivery
  • Customized curriculum
  • For a single employee or an entire team
  • Flexible scheduling
  • Experienced instructors
Request Group Training

Questions? Call us at 303.377.6176
or email info@hartmannsoftware.com

Ready to train your team?

Let's customize this training for your organization.

Tell us about your employees, your goals, and your preferred schedule. We'll prepare a training proposal covering scope, delivery format, and pricing.