Train together, save more! 10% off individual registration, 20% off for pairs.
Log in

Or create your account

You have just added to your selection
Your cart is empty, See our trainings

Description

This course will teach you how to use the Spring 4 framework to develop more robust and efficient Java applications. You will also see how to facilitate, using the framework, the configuration of the different components of your Web applications and the performance of tests, while reducing your development efforts.

Who is this training for ?

For whom ?

Java/Java EE developers with real experience developing Java/JEE applications.

Prerequisites

Training objectives

  • Implement Spring on the different layers of an n-tier application
  • Implement a REST and MVC Web facade
  • Ensure the persistence of your data
  • Secure your application with Spring
  • SecurityCouple Spring with other technologies in the ecosystem Java JEE
  • Training program

    • Introduction
      • - Good design practices: separation of responsibilities, KISS, DRY, POJO.
      • - Positioning of Spring in relation to the Java EE specification and Java EE application servers.
      • - What’s new compared to version 3.
    • Spring Container Overview
      • - Core technologies: object life cycle, dependency injection and interceptions.
      • - Data access: JDBC, JPA, Hibernate.
      • - Transaction management.
      • - The Web: webmvc and REST.
      • - Integration with other technologies.
      • - Deployment strategies: servlet container, application server, TC Server, Cloud.
      • - Beyond Spring Framework: Spring Data, Spring Batch.
    • The work environment

      - n'as pas encore du programme

    • N-tier splitting, dependency injection and interceptions
      • - Layering, the POJO approach.
      • - State management: stateful application vs stateless application.
      • - Dependency injection by setter , by constructor.
      • - Interceptors and aspect-oriented programming, coupling with AspectJ.
      • - Asynchronous invocations.
      • - Scheduled invocations (task and scheduling).
      • - Configuration of the container (by annotations or xml), profiles.
      • - Testing managed beans: coupling with JUnit, use of Mocks.
      • - Practical work Setting up an n-tier application, using Spring as a factory to manage our objects (life cycle, dependency injection, interception).
    • Data access and transaction management
      • - Coupling with Spring JDBC and the JDBCTemplate.
      • - Use of embedded databases: H2, HSQL, Derby.
      • - Coupling with the JPA API and the Hibernate framework.
      • - The Spring transactional monitor, coupling with JTA 1.
      • - 2.
      • - Support for transactions within tests.
      • - Introduction to Spring Data for NoSQL databases.
      • - Practical work Setting up persistent entities in a Java project.
      • - Spring life cycle management of the JPA entityManager, use of Spring's transactional monitor and JTA annotations.
    • Web HMI with Spring MVC
      • - Reminder of the MVC pattern.
      • - The 2 ways binding based on POJO.
      • - The views: JSP and JSTL, Freemarker, Velocity, JasperReports.
      • - Surface validation with JSR 303.
      • - Internationalization.
      • - Exception management.
      • - Practical work Implementation of Spring MVC within a web application that exposes the previously developed business layer.
    • Implementation of REST Web Services
      • - What is a URI? Reminders of the basics of the http protocol: verbs, return codes, contentType, http headers.
      • - Using Spring MVC to implement a RESTFUL web application.
      • - Cross Origin Shared Resource.
      • - Using Spring cache to cache responses from REST endpoints.
      • - Establishment of a discoverable API with HATEOAS.
      • - Practical work Development of a Web facade exposing the services previously developed, consumption of REST Web Services by an html client / javascript (using angularJS).
    • Implementation of websockets
      • - Web concepts " real time ".
      • - Presentation of STOMP and SockJS.
      • - Browser support, fallback mechanisms.
      • - Server-side setup.
      • - Client-side setup (HTML, iOS, Android).
      • - Exercise: Adding a connection websocket to the previously developed html/javascript client.
    • Security elements
      • - Introduction to Spring Security for managing authentication and authorization.
      • - Creating, loading, and retrieving a security context.
      • - Enabling a filter.
      • - Creation of a login form.
      • - Securing methods.
      • - Application of a security strategy by aspects, by annotations.
      • - Practical work Setting up security with Spring Security and coupling with Spring MVC.
    • Integrating Spring with Other Technologies
      • - The challenge posed by the integration between Spring and third-party technologies.
      • - The coupling between Spring and JMX: managedResource and managedOperation.
      • - Activation of the console Sun JMX Web (HtmlAdaptorServer).
      • - Exposure with http Invoker.
      • - Practical work Supervision with JMX, setting up an endpoint with http Invoker in order to expose the services developed previously.
    • 937
    • 35 h

    Submit your review

    Translated By Google Translate