Instructor-led training
Developing Java EE Web Applications (JEE6/JEE7), plus JPA and REST Training in O' Fallon, Missouri
Java Enterprise Edition (JEE) is a powerful platform for building web and database-driven applications.
What you'll learn
Private Training for Teams
This course is offered as private, instructor-led training for organizations, onsite in O' Fallon, 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 this material hard to master
The individual APIs are small. The difficulty is that a Java EE web application is several layers that share state and are wired together by the container. Many mistakes only show up at runtime, in the wrong scope or the wrong thread of execution.
The syllabus builds the layers in order:
- Servlet foundation (sessions 2-3). HTTP request-response, headers, GET and POST, the servlet lifecycle,
HttpServletRequest/HttpServletResponse,ServletConfigandServletContext, and error pages. Everything later sits on this lifecycle. - Views and MVC (sessions 4-5, 8). JSP, Model 2 with servlets as controllers,
RequestDispatcherforward and include, Expression Language, JSTL, and tag files. A common misconception is that JSP is where logic belongs. Model 2 exists to prevent that. - State and scopes (sessions 4 and 6). Page, request, session and application scope,
HttpSession, and cookies. Putting data in the wrong scope is a classic source of bugs that appear only under concurrent users. - Security (session 7). Declarative versus programmatic security, roles, and Basic, Form, Digest and HTTPS client authentication. Developers often assume that authenticating a user also authorizes each resource. The two are configured separately.
- Data access (sessions 9-12). JDBC, then DataSources and pooling,
@Resource, JNDI, and CDI, then JPA entities,EntityManager, the entity lifecycle and relationships. The syllabus calls out lazy loading in web apps because an entity that works in a test can fail once it is rendered after the persistence context has closed. - REST (sessions 13-14). Resources, URI templates, safe and idempotent methods, then JAX-RS with
@Path,@Provider, the Application class, and Ajax clients. Learners tend to treat REST as "servlets returning data" and miss the resource and method semantics.
Who it suits and what to take around it
The course is general level. It suits developers with a solid grasp of Java, ideally with a year or more of development experience, who need to build or maintain database-driven web applications on the Java EE platform. It also suits teams that must understand an existing servlet/JSP/JPA codebase before changing it.
If your goal is a deeper treatment of web services after this course, Developing RESTful Services Using Java is a natural next step because it focuses on RESTful design in more depth than the two REST sessions here.
This syllabus covers JPA but not enterprise beans. Teams that need a business tier with transactions can follow it with Fast Track to EJB 3.2 (JEE 7 level) and JPA2.
Teams planning to move toward a container-managed framework outside the Java EE programming model may find Introduction to Spring 5, Spring Boot, and Spring REST a useful comparison. The servlet, session and JPA concepts carry over directly.
Related offerings are collected in the Java Enterprise Edition courses and learning guide.
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.
- Maintaining a servlet/JSP application. For example, a team inherits a catalog site in which JSPs contain scriptlet logic and shopping-cart data lives in the wrong scope. The Model 2 pattern, scope objects, EL and JSTL give them a way to move logic into controllers and clean up the views.
- Protecting an internal tool. A team might need role-based access to administrative pages. Declarative security in
web.xml, form-based authentication, and programmatic role checks fromHttpServletRequestmap directly to that need. A servlet filter can add cross-cutting behavior. - Replacing hand-written JDBC. For example, an application opens connections in each servlet. Moving to a pooled DataSource obtained through JNDI or
@Resource, then mapping tables to JPA entities, reduces boilerplate. The lazy-load material shows what to watch for when relationships are rendered in the web tier. - Exposing existing data as a service. A team might publish product data through JAX-RS resource classes with URI templates and GET, POST, PUT and DELETE, consumed by an Ajax-JavaScript page.
AI coding assistants with these topics
AI coding assistants are useful for boilerplate here: a servlet skeleton, a JPA entity with annotations, a JAX-RS resource class, or a JSTL loop over a list. They can also explain unfamiliar legacy JSP or web.xml configuration.
They are weaker where correctness depends on the runtime environment:
- Platform mismatch. Generated code may mix annotations, package names or configuration styles from different platform generations, or from other frameworks. Check imports and descriptors against the target server.
- Scope and thread safety. Servlets are shared across requests. Assistants often store request-specific data in instance fields or the application scope.
- Security. Watch for SQL built by string concatenation in JDBC code, unescaped output in JSP (compare
c:out), and authentication configured without matching authorization constraints. - JPA behavior. Generated relationship mappings can trigger lazy-load failures or extra queries when the view renders them.
- REST semantics. A PUT or DELETE that is not idempotent, or a GET with side effects, may compile and run but violate the contract.
To verify, run the code on the actual application server, test with more than one concurrent session, review generated SQL, and attempt access as each role. Treat assistant output as a draft to be reviewed against the concepts this course teaches.
Frequently asked questions
What level is this course and what do I need beforehand?
It is general level over five days. You should have a solid understanding of Java and preferably at least a year of software development experience. No prior servlet, JSP or JPA knowledge is listed as required.
What does the course cover?
Servlets, JSP with EL and JSTL, MVC, session tracking, web security, JDBC, DataSources, JNDI and CDI, JPA basics and relationships, and REST with JAX-RS. Students build code for an online store throughout.
Does it include enterprise beans or a JSF user interface?
No. The syllabus builds the web tier on servlets and JSP and covers persistence with JPA. Related HSG courses address other topics and are listed in the Java Enterprise Edition learning guide.
Can this be delivered privately for our team?
Yes. HSG delivers private training onsite at your location or live online.
Can the content be customized?
Private training can be tailored to the technology versions your organization uses, including current releases, and to your team's priorities. You can request a training proposal to discuss it.Training locations
Developing Java EE Web Applications (JEE6/JEE7), plus JPA and REST training across the U.S. and beyond.
We provide private Developing Java EE Web Applications (JEE6/JEE7), plus JPA and REST training for organizations, onsite at your location or live online, throughout the United States and internationally.
View all Developing Java EE Web Applications (JEE6/JEE7), plus JPA and REST 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.