Goals
- Know how to architect and design high-performance JEE web projects based on Servlets and JSP
- Set up the MVC pattern
Program
Development of dynamic web applications: overview of existing technologies
JEE platform: architecture, APIs and runtime environment
Servlets and JSP compared to other web services
Development environment (Eclipse / NetBeans)
Basic elements and development optimization
Servlet and JSP engines: presentation, choice (Tomcat, GlassFish, …)
Structure of a web module; component lifecycle
Packaging and deploying a web application
Practical workshop: installation of development and execution environments; first minimal web project
Specification and lifecycle Page
chaining: links and forms
Reminder of the interaction mechanisms and standards of the HTTP protocol
Handling of http errors and logging
Sessions, cookies and other
JDBC persistence spaces for accessing a database from a
JavaMail servlet for sending mail from a
Multi-threading form with servlets
Advanced deployment configurations
Practical workshop: creation, deployment and testing of a complete Servlet-based project including management features with access to a database, use of the session and sending emails
General principle and comparison with Servlets
Expressions: display dynamic data in the middle of XHTML
Scriptlets – use and limits
Declarations and directives: the JSP is a class
Inclusions and reuse mechanisms
Javabeans: presentation, creation
Access and manipulation of Javabeans from JSP and Servlets
MVC model
Complete case study – Servlets and JSP in collaboration
Server memory organization
Error handling
Practical workshop: Development of web applications with an MVC architecture and an advanced presentation based on JSP
Overview of available taglibs
Installation, use of a
JSTL tag library (JSP Standard Tag Lib): presentation and test
The language of expressions (EL)
Definition of functions, creation of TLDs and calls from a JSP
Creation of taglibs: principle and apis available
Practical workshop: integration of taglibs in JSPs – implementation of a custom library of tags
Templating: mechanism, available
JNDI frameworks and configuration of resources (JDBC, mails, etc.) at the application server level Application
security: presentation of APIs, user and role
management Management of a web project: from analysis to test
Practical workshop: server configuration and use of JNDI resources – Using a template engine
Duration
5 days
Price
£ 2136
Audience
All
Prerequisites
Mastery of the basics of Java language and knowledge of XHTML
Reference
JAV116-F
Sessions
Contact us for more informations about session date