Description
This course will allow you to develop enterprise web projects based on the Java EE platform. You will discover MVC architectures through the implementation of a presentation layer based on JSP then on JSF 2. You will discover the mechanisms of Servlet, learn to persist your data and secure your Java applications. You will implement the Eclipse IDE in order to build and deploy your solutions on the various Java EE application servers on the market such as JBoss Wildfly or WebSphere.
Who is this training for ?
For whom ?Computer scientists wishing to develop Web applications with Java/Java EE technologies.
Prerequisites
Training objectives
Training program
- Reminder on the context of enterprise web applications
- - Web server and client.
- - Application protocols (HTTP).
- - Reminders about URLs.
- - Session management.
- - Access to enterprise resources.
- - The Java EE platform.
- - Multi-tier architecture models.
- Architecture des applications Java Web
- - The components needed to use Java on the server side.
- - The Java Virtual Machine.
- - Java EE web servers and application servers.
- - Role of the container (Servlet engine).
- - Standardized structure of a Java EE Web application.
- - The main components: Servlets, JSP pages, JSF.
- - Java EE APIs.
- - JSP/Servlet architecture models Apache Tomcat web container architecture.
- - The web deployment descriptor .
- - xml.
- - Notion of pluggability.
- - Development, testing and debugging tools: Eclipse, Netbeans, IntelliJ.
- - Deployment and packaging of Java EE applications.
- - Practical work Install a development environment and a Tomcat Apache web application server.
- - Deploy a Java EE application on a Tomcat container.
- JSP pages: presentation components
- - What is a JSP page? JSP life cycle.
- - Predefined objects.
- - Scriptlets, directives, expressions, actions.
- - Error management.
- - Scopes.
- - Communication between WEB components.
- - Use of JavaBeans from JSP pages.
- - Unified Expression Language (UEL) overview.
- - JSTL (Java Standard Tag Library) overview.
- - Design JSP with JSTL.
- - Principle of libraries (taglib).
- - Tag extension development.
- - Simple tags, with attributes, with body.
- - Deploy and operate a library.
- - Practical work Develop the presentation layer (JSP, JSTL and tag libraries).
- Servlet API 3.0: control and navigation components
- - The Servlet container.
- - The life cycle of a Servlet.
- - Initialize a Servlet.
- - Write the service methods .
- - The Servlet interface.
- - HTTP servlets.
- - Managing HTML forms.
- - Processing the response, 'sending information, generating HTML.
- - Retrieving HTTP parameters.
- - Filtering requests/responses.
- - Programming Servlet filters .
- - Information retrieval: from the Web server, the client and the environment.
- - Invocation of other Web resources.
- - Inclusion and transfer control.
- - Execution error handling.
- - Event logging.
- - The different session tracking methods.
- - Obtaining, consulting and abandoning a session.
- - Session context.
- - Combination of JSP and Servlets.
- - Practical work Development of a database-based application. of Servlets using the Web container environment.
- Access to databases
- - Setting up the relational database and the JDBC interface.
- - Connection to the database, retrieving information, updating data.
- - Transaction.
- - Connection pool.
- - DataSources.
- - Resource annotation.
- - BDR/Object models correspondence .
- - Objectives.
- - Java approaches and tools.
- - Presentation of JPA and the different solutions on the market (Hibernate.
- - ).
- - JNDI concepts.
- - Access to resources via JNDI.
- - Declare a resource of type JavaBean, DataSource.
- - Practical work Present data from an RDBMS in the application.
- The JSF 2 Presentation Framework
- - Presentation of the Framework.
- - The essential components.
- - Life cycle of processing a JSF page.
- - The UI components.
- - Facelets.
- - The Servlet “FacesServlet”.
- - Notion of FacesContext.
- - Implementation of Managed Beans.
- - Define navigation between pages.
- - Convert and validate data.
- - Practical work Adaptation of the existing application with the JSF 2 Framework.
- Securing a Java EE Web Application
- n'as pas encore du programme