Presentation of the concepts studied
• Objectives and issues
• A multilayer architecture
• The frameworks
• Continuous integration
Gradle
• Objectives of Gradle
• Introduction and installation of Gradle
• Demonstration - Installing Gradle
• Creating a Gradle Java project
• Demo - Creating a Gradle Java Project
• Creating a Java EE Web Application
• Demo - Creating a Java EE Web Project
• Testing a Java EE Web application
• Demo - Testing a Java EE Web project
• Managing dependencies
• Demo - Managing dependencies
• Creating an Eclipse project
• Demonstration - Creating an Eclipse project
• Complements
JPA
• Objectives of JPA
• Introduction to JPA
• The entities
• The entity life cycle
• Demonstration - A first example
• Annotations
• Demonstration - Annotations
• Lesson Plan - Book management
• Composite primary keys
• Demonstration - Composite primary keys
• The 1-1 unidirectional relationship
• Demonstration - The 1-1 unidirectional relationship
• The 1-1 bidirectional relationship
• Demonstration - The 1-1 bidirectional relationship
• The 1-N unidirectional relationship
• Demonstration - 1-N unidirectional relationship
• The bidirectional 1-N relation
• Demonstration - 1-N bidirectional relationship
• The one-way N-1 relation
• Demonstration - N-1 unidirectional relation
• The one-way M-N relation
• Demonstration - The M-N unidirectional relationship
• Inheritance
• Demonstration - Inheritance
• Managing basic collections
• Demo - Managing basic collections
• JPQL
• Demo - JPQL
• Criteria
• Demo - Criteria
• Case Study - Film Library
Spring Core
• Objectives
• Presentation of Spring Core
• Strong coupling vs. weak coupling
• Demonstration - Weak and strong coupling
• Control inversion and dependency injection
• Configuration by file
• Demonstration - Configuration by file
• Annotations
• Demonstration - Configuration by annotations
• Integration of Spring in a web application
• Demonstration - Spring in a web application
• Case Study - Media Library
Spring JDBC
• Objectives of this tutorial
• Interest of Spring JDBC
• The declaration of a DataSource
• Demonstration - DataSource declaration
• Using JdbcTemplate
• Demonstration - Using JdbcTemplate
• The Spring @Repository annotation
• Demo - The Spring @Repository annotation
• Lesson Plan - Task management
• Conclusion
Spring ORM
• Objectives of Spring ORM
• Interest of Spring ORM
• The configuration
• The DAO class
• Demonstration - A complete example
• Case of two data sources
• Demonstration - Case of two data sources
• Spring Data JPA
• Demonstration - A complete example with Spring Data JPA
• Case statement - Wine cellar
Spring MVC
• Objectives
• Spring and the MVC model
• The configuration, the controller and the view
• Demonstration - Setting up the MVC structure
• Parameter passing
• Demonstration - Passing parameters
• Managing a form
• Demonstration - Form
• Internationalization (i18n)
• Demonstration - Internationalization (i18n)
• Validating a form
• Demo - Validating a form
• Spring REST
• Demo - Spring REST
• Case Study - Film Library
Tomcat
• Objectives
• The HTTPS protocol
• Demonstration - HTTPS
• Securing Java EE applications
• The Realms
• Demonstration - Securing a Web application
Java Spring - The technical foundation of Java EE applications (2nd edition)
• Foreword
• Components of the framework
• Spring and design patterns
• Reminders on the external elements of Spring
• The Spring container
• Advanced configuration
• Aspect-oriented programming with Spring
• Tests and Spring
• Back end of the application
• Spring in a JSP web context
• JSF2 integration
• Spring Angular application
• Spring-HATEOAS
• Spring REST Docs
• Spring Boot
• Spring and NoSQL
• Spring Batch
• Message-oriented middleware (MOM)
• Spring and Kotlin
• Spring and JHipster
Java EE - Fundamentals of web development in Java
Introduction
• Objectives
• The client and the server
• The http protocol
• Practical application - Observation of http requests and responses
• The Java EE platform
• The Tomcat application server and the development environment
• Practical exercises - Setting up the development environment
• Practical exercises - Architecture of a web application
Servlets
• Presentation of the servlets
• Association of a URL with a servlet
• Exploitation of the http request
• Writing the http response
• Practical application - Setting up a form (step 1)
• The life cycle of a servlet
• Practical exercises - The life cycle of a servlet
JSPs
• Presentation
• The script elements
• How to use - The script elements
• Access from a servlet (forward/redirection)
• Practical - Setting up a form (step 2)
• The Expression Language (EL)
• The JSTL tags
• Hands-on - Setting up a form (step 3)
The JDBC API in a web context
• Presentation of the JDBC API
• Configuration and operation of a connection pool
• Practical - Setting up a complete CRUD
Additional notions and conclusion
• Focus on HTTP/2 (Java EE 8)
• Hands-on - Implementing HTTP/2
• Conclusion