Introduction to Servlets/JSPs, MVC, EL, JPA & More
Course Objectives
Students will leave the course armed with the basic skills required to design and build scalable, secure, maintainable web applications - leveraging our extensive experience in the delivery of scalable enterprise applications with complex web interfaces based on JEE technologies.
Throughout this training, students will explore with common web application design problems and given the tools you will need to solve them, such as JEE design patterns. You will also be exposed to a range of JEE and web technologies such as Servlets, JSPs, JSTL and advice on when and how to use them. Students will also learn about the capabilities of servlets, their advantages, servlet architecture, and session management. Developers will also learn about managing resources, deployment, and application models, how to use custom tags, and how to build robust and capable web applications using servlets and other components.
The course begins with a discussion of web application architecture. A major part of the course is spent on the various web components that are used to implement dynamic web applications. Students will learn not only specific topics and APIs but also how to fit the pieces together into a complete application. Topics covered include:
- JEE Application Architecture
- Servlets
- Java Server Pages (JSP), EL, and JSTL
Course Prerequisites
This is an introductory level training course, designed for experienced OO developers (such as C++ or SmallTalk) that need to extend their skills in web development and understand the basic architecture of a JEE web application and/or implement a web application, taking advantage of what JEE brings to the table.
Course Agenda
Please note that this list of topics is based on our standard course offering, evolved from typical industry uses and trends. We’ll work with you to tune this course and level of coverage to target the skills you need most.
Session: Developing Java EE applications
Lesson: Enterprise Development
- Enterprise Application Software
- Requirements of Enterprise applications
- Scalability, Load Balancing, Fail Over
- Resource pooling
Lesson: Java EE Core Components
- Overview of Java EE Core Components
- Web Tier Components
- Application Tier
- Deployable Units
- Deployment Descriptors
- The Java Naming and Directory Interface (JNDI)
- Tutorial: Working with Eclipse (JEE Version) and Apache TomEE 7x
- Tutorial: Working with TomEE 7
Session: JEE Dynamic Web Applications
Lesson: Introduction to Servlets
- The Servlet Interface
- The Web Container
- Creating HTML Output Using Servlets
- The @Webservlet Annotation
- Interaction Between web.xml and Annotations
- The @Webinitparam Annotation
Lesson: Form processing using Servlets
- Using HTML5 Forms with Servlets
- Processing Request Parameters
- HttpServletRequest Methods
- HttpServletResponse Methods
Lesson: Java Server Pages
- Java Server Pages ( JSPs)
- The Relationship Between JSPs and Servlets
- The JSP lifecycle
- The role of JSPs in Java EE 7
Lesson: Implementing MVC in JEE
- Model View Control
- Using the RequestDispatcher
- Handling Requests
- The Request Scope
- Handling Request Attributes
- The Expression Language (JSR 341)
- EL in Template text
Lesson: Session Management
- Sessions in Web Applications
- The HttpSession object
- Session Management in Java EE
- Handling Cookies
- URL-Rewriting
Session: JEE Servlet Filters and Listeners
Lesson: Servlet Filters
- Introduce Servlet Filters
- Modify the request data
- Modify the response data
- The @WebFilter annotation
- Define Filter Mappings
- Move functionality out into a decorator pattern
Session: Expression Language 3.0 (EL)
Lesson: Overview of EL
- The Expression Language (JSR 341)
- Value and Method Expressions
- Immediate and Deferred Evaluation Syntax
- Read and Read/Write expressions
Lesson: The EL language
- EL Operators
- EL Reserved Words
- EL Implicit objects
- Referencing Objects using EL
Session: Using Resources
Lesson: JEE DataSources
- DataSources in JEE
- Setup a DataSource
- Using CDI to inject a DataSource
Lesson: Overview of JPA
- Introduce the Java Persistence API (JPA)
- Benefits of Using an ORM framework
- Hibernate and JPA
Sorry! It looks like we haven’t updated our dates for the class you selected yet. There’s a quick way to find out. Contact us at 502.265.3057 or email info@training4it.com
Request a Date