Master JEE, Spring, and Hibernate to build robust and scalable applications
Participants will learn about two practical approaches: opting for Enterprise Java Beans (EJB), which allow developers to focus on business issues rather than having to worry about technical issues, or the Spring and Hibernate duo, which offers the advantage of clearly separating the presentation layer from data access.
Is it for you ?
Developers, IT application development managers
Prerequisites
Advanced Java
Knowledge of relational databases and SQL.
Understanding of exceptions and transactions.
Knowledge of basic JDBC usage.
Knowledge of a common DBMS (MySQL, PostgreSQL, Oracle).
What You'll Walk Away With
- ✓ Design full JEE architectures with presentation, business, and data layers
- ✓ Develop business components using EJB and manage deployment and dependency injection
- ✓ Implement persistence with JPA and Hibernate (mapping, queries, inheritance)
- ✓ Use Spring for dependency injection, AOP, and data access
- ✓ Compare and select between EJB and Spring/Hibernate architectures based on needs
Training content
1 Introduction to the JEE ecosystem
- The JEE standard and its components (EJB, JSP/Servlet, and JSF)
- JEE frameworks
- The JEE standard and its components (EJB, JSP/Servlet, and JSF)
- Spring and Hibernate JEE frameworks
- EJB versus Spring Hibernate
2 The presentation layer of a web application
- The MVC design pattern
- Introduction to JSP/Servlet
- Implementing components
- The MVC design pattern
- Introduction to JSP/Servlet
- Implementing presentation and control components
3 First approach: Architecture of a JEE application using EJB 3.2
4 Presentation of EJB 3.2
- Presentation of the EJB 3.2 specification
- The EJB triad: session, entity, and
- Introduction to the EJB 3.2 specification
- The EJB triad: session, entity, and message-driven beans
- Packaging and deployment of EJB 3
- Locating EJB 3 with JNDI
- Dependency injection
- The “standalone” client and the web client
5 Entity EJBs and object-relational mapping with JPA
- Introduction to Entity EJBs
- Introduction to JPA Object-relational mapping
- Inheritance
- Introduction to Entity EJBs
- Introduction to JPA
- Object-relational mapping
- Inheritance
- OQL, the object-oriented query language
6 2nd approach: Architecture of a web application with Spring and Hibernate
7 Spring
- Concept of lightweight containers
- Instantiation of objects by the Spring container
- Dependency injection
- Concept of lightweight containers
- Instantiation of objects by the Spring container
- Dependency injection and inversion of control
- Aspect-Oriented Programming with Spring AOP
- Introduction to JDBC Template for data access
8 Hibernate
- Introduction to Hibernate
- Installation and configuration of Hibernate
- Persistence X
- Introduction to Hibernate
- Installation and configuration of Hibernate
- XML persistence of classes and attributes, associations, and inheritance
9 Hibernate: advanced options
- Optimization using the second-level cache
- Processing in Ba mode
- Optimization using the second-level cache
- Processing in BatchVersioning mode, transactions, and concurrent access
- Queries with HQL, Criteria, By The Example, Detached Criteria
- Coupling with Spring
10 Comparative study of the two approaches
📌 Practical information
Our training sessions are offered in Montreal or Quebec City, in person or in a virtual classroom. Dates and locations are specified when you select your session below. If you have any questions, check out our FAQ.