Instructor-led training
Fast Track to Java EE 5 with Servlets, JSP & JDBC Training in Newport, Rhode Island
The course begins with a discussion of web application architecture.
What you'll learn
Private Training for Teams
This course is offered as private, instructor-led training for organizations, onsite in Newport, Rhode Island 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 TrainingPrerequisites
Course Outline
What makes this material hard to master
The Java is rarely the obstacle. The difficulty is that a web application is spread across a container, several object scopes, configuration files and a database, and the pieces only work when they agree. The syllabus builds up in a deliberate order.
- The request cycle first. HTTP request-response, headers, GET and POST, then the servlet lifecycle (
init(),service(),destroy()),HttpServletRequest/HttpServletResponse, parameters andweb.xml. - Separating responsibilities. The Model 2 pattern has servlets as controllers, JSPs as views and JavaBeans as glue, connected with
RequestDispatcherforward and include. The common misconception is that JSP is just HTML with Java in it. Scriptlets are covered, but the course steers toward the JSP Expression Language, JSTL (c:forEach,c:if,c:choose,fmt:formatDate) and custom tags. - State. HTTP is stateless, so the course covers hidden fields, cookies and
HttpSession. Request, session, application and page scope are easy to confuse, and the wrong choice causes bugs that show up only under concurrent use. - Security. Declarative role-based security, Basic and Form-Based authentication, and programmatic role checks each live in a different place (descriptor, container security domain, code).
- Data access. JDBC covers drivers, connections, prepared statements, stored procedures,
ResultSetprocessing, null handling, transactions and DAOs. It then moves toDataSource, JNDI and connection pooling, which is where application code meets container configuration. - Wider platform. JSF (managed beans, facelets, navigation, validation and conversion,
h:dataTable) and an EJB overview with session-bean clients and JNDI lookup. Both are introductions to how the pieces fit, not deep dives.
Who it suits and where it fits
This is an introductory, five-day course for developers who already work in Java and need to build or maintain server-side web applications on the Java EE platform. It suits teams that support existing servlet/JSP/JDBC systems or are migrating them. The syllabus is built around Java SE 7 and earlier, which is out of support on Oracle's roadmap. The course is therefore best framed as training for maintaining and understanding existing applications. Organizations working with newer Java releases can ask about customized private training tailored to the versions they run.
Before: a working knowledge of Java is the stated prerequisite. If your team's Java is rusty or comes from another language, Fast Track to Java for OO Developers covers the language and object-oriented foundations this course assumes.
After: once servlets, JDBC and the container model are familiar, Advanced Java Programming is a natural way to deepen the language and library skills that larger applications depend on.
Illustrative scenarios
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.
- Maintaining a legacy catalog application. A team inherits a JSP site full of scriptlets. Using the course's material on EL, JSTL, custom tags and tag files, they could move display logic out of the pages and into controller servlets and beans.
- Fixing session and login problems. A team might see users losing cart contents or reaching pages they should not. The session-tracking, scope, filter and security topics (
HttpSession, cookies, form-based authentication, roles) give them a framework for finding whether the fault is in scope choice, session handling or the security configuration. - Cleaning up database access. An application opens connections inside servlets. A team could apply the DAO pattern, prepared statements, transaction control and a container-managed
DataSourcewith connection pooling to centralize access and make it testable.
AI coding assistants with these topics
Where they help. AI coding assistants can draft boilerplate such as a servlet skeleton, a web.xml mapping, a DAO with the usual try/finally structure, or JSTL loops over a bean collection. They can also explain unfamiliar legacy JSP code.
Where they fail. Output often mixes eras: annotations or APIs from newer Jakarta releases in a project that targets an older container, or scriptlet-heavy pages that defeat the separation of concerns taught here. Typical risks for these topics:
- SQL built by string concatenation instead of prepared statements (injection), and connections, statements or result sets that are not closed.
- Unescaped output in JSP, where
c:outor equivalent escaping should be used (cross-site scripting). - Shared mutable state in servlet instance fields or in application scope, which is unsafe because one servlet instance serves many threads.
- Security rules that look right but are not enforced by the container's declarative configuration.
How to verify. Deploy to the same container and Java version you run in production. Test with concurrent sessions and with malicious input in parameters. Review every query for parameter binding. Confirm access restrictions by requesting protected URLs without credentials and with the wrong role.
Frequently asked questions
What level is this course?
It is introductory to Java EE web development but assumes you can already write Java. It covers servlets, JSP with the JSTL, JDBC, and overviews of JSF and EJB.
What do I need to know beforehand?
A working knowledge of Java. Prior web development experience is helpful but the syllabus starts with how the web and HTTP work.
Which Java version does the course use?
The course content is built around Java SE 7 and earlier, which is out of support. It suits teams that build, maintain or migrate existing applications. For newer releases, private training can be tailored to the versions your organization uses.
Is private onsite or live online delivery available, and can the content be customized?
Yes. HSG delivers private training for organizations at the client's location or live online, and content can be customized, for example to emphasize servlets and JSP, JDBC and DAOs, or security. You can request a proposal through the link on this page.
Training locations
Fast Track to Java EE 5 with Servlets, JSP & JDBC training across the U.S. and beyond.
We provide private Fast Track to Java EE 5 with Servlets, JSP & JDBC 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 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
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.