Instructor-led training
Fast Track to Servlets/JSP Using Rational Application Developer (RAD) Training in Webster Groves, Missouri
This course is a comprehensive tutorial in the design and programming of Java Web applications using servlets and JSP.
What you'll learn
Private Training for Teams
This course is offered as private, instructor-led training for organizations, onsite in Webster Groves, Missouri 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 servlets and JSP hard to master
The Java is rarely the obstacle. The difficulty is that the web container, not your code, controls the program flow. It creates servlets, calls init(), service() and destroy(), and decides when a JSP is compiled and when a session expires. The syllabus builds up in a deliberate order.
- HTTP first (sessions 1-2). The request-response cycle, headers, GET versus POST, and
HttpServletRequest/HttpServletResponse. Later problems with parameters, status codes and MIME types usually trace back to this layer. - Scopes and state (sessions 4 and 6). Request, session, application and page scope are easy to confuse. HTTP is stateless, so the course moves from hidden fields to cookies to
HttpSession. A common mistake is putting per-user data in application scope, or too much in the session. - Separating logic from presentation (sessions 4-5, 8). Model 2 uses servlet controllers, JSP views and JavaBeans. The EL, JSTL and custom tags with TLDs are the alternative to scriptlets, which the syllabus treats as optional. A frequent misconception is that JSP is just HTML with embedded Java, when it is compiled into a servlet.
- Configuration and security (sessions 3, 7, 9).
web.xml, error pages, and declarative role-based security with basic and form-based authentication. Failures here often show up as silent 404s or 403s rather than stack traces.
Session 10 adds filters, tag files, design guidelines such as network overhead and clustering, and a short JSF overview.
Who it suits and where it fits in a learning path
This is an introductory, three-day course for programmers who already have some Java and object-oriented experience. No prior web development is assumed, since it starts with how the Web works and HTTP. The labs are done in the Rational Application Developer (RAD) IDE, so it suits teams that use that tool for building or maintaining Java EE web applications. The course is built on Java SE 7 and earlier, which is out of support, so it fits organizations maintaining or migrating existing applications. Organizations on newer Java releases can ask for a customized private training proposal.
Before: solid core Java, including exceptions, collections and JavaBeans conventions. The Java Programming courses and learning guide lays out the options.
After: session 10 only introduces JSF, so a team moving to component-based UIs can continue with Fast Track to JavaServer Faces (JSF) using RAD, which covers it in depth in the same tooling. A team exposing data to other systems might look at Developing RESTful Services Using Java, which builds on the HTTP and servlet fundamentals taught here.
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 an internal request portal. A team might inherit pages full of scriptlets. The Model 2 pattern (a servlet controller using
RequestDispatcherto forward to a JSP view, with a JavaBean in request scope) and the EL withc:forEachandc:ifshow how to move logic out of the page without changing behavior. - Adding login to an existing app. A team might need role-based access to an admin area. Declarative security in
web.xml, form-based authentication and programmatic role checks withHttpServletRequestcover this, along with the question of when to use each. - Cross-cutting behavior and error handling. A team might want request logging or response modification on every call, plus consistent error pages. A servlet filter in a filter chain and configured error pages are the tools the course introduces for this.
Using AI coding assistants with servlets and JSP
Where they help: AI coding assistants can draft a servlet skeleton, a web.xml mapping, a JSTL loop over a bean list, or a first pass at converting scriptlets to EL. They are also useful for explaining an unfamiliar legacy JSP.
Where they fail:
- They may generate code for a different platform generation, such as annotation-based mappings or package names that do not match the container and Java level your project uses.
- They often put logic back into scriptlets, or place data in the wrong scope, which causes cross-user data leaks in application scope.
- Output escaping and session handling are easy to get subtly wrong, creating injection or session-related security problems. Security configuration is container-specific, so generated role and realm setup often does not work as written.
How to verify: run the code in the target container. Test with two browser sessions to catch scope mistakes. Submit markup in form fields and confirm it is escaped on output. Request protected URLs without logging in, and with the wrong role. Check that error pages fire for both servlet and JSP exceptions. Compare any generated configuration against the Java and Java EE levels your project actually uses.
Frequently asked questions
What level is this course?
It is introductory. It assumes Java and object-oriented programming experience but no prior web development, and starts with how the Web and HTTP work.
What should I know before attending?
Some previous experience with Java and object-oriented programming. Basic HTML familiarity helps, although the syllabus includes a brief HTML and forms review.
What does the course cover?
Servlet architecture and lifecycle, the request and response APIs, JSP structure, Model 2 MVC, the Expression Language, JSTL and custom tags, session tracking, error handling, declarative and programmatic security, filters and tag files. JSF is covered as an overview only. Labs use the RAD environment.
Can this be delivered privately for our team, onsite or online?
Yes. HSG delivers private training for organizations either onsite at your location or live online.
Can the content be customized?
Private training can be customized, including tailoring to the technology versions your organization uses. You can describe your needs through the training proposal request.
Training locations
Fast Track to Servlets/JSP Using Rational Application Developer (RAD) training across the U.S. and beyond.
We provide private Fast Track to Servlets/JSP Using Rational Application Developer (RAD) training for organizations, onsite at your location or live online, throughout the United States and internationally.
View all Fast Track to Servlets/JSP Using Rational Application Developer (RAD) 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.