• Programming Training

    business_appsInterSource offers live instructor-led courses on all important programming technologies, including C#, C/C#, PHP and Visual Basic. We can also arrange training on many less-known but highly useful languages. We can teach courses on a variety of additional topics; please request an offer if you need a course which is not indicated on the site.

    These live classes are offered both on client sites, at our Geneva training center, and via a Web interface.

  • About Programming

    Within software engineering, programming (the implementation) is regarded as one phase in a software development process, normally following closely on the heels of the requirements gathering phase.

    Computer programming (often shortened to programming or coding) is the process of writing, testing, debugging/troubleshooting, and maintaining the source code of computer programs. This source code is written in a programming language. The code may be a modification of an existing source or something completely new. The purpose of programming is to create a program that exhibits a certain desired behavior (customization). The process of writing source code often requires expertise in many different subjects, including knowledge of the application domain, specialized algorithms and formal logic.


    Read More
  • Course Details Programming

    Classes are offered at client sites, at our Geneva training center, and via a live web conference. For detailed course outlines and scheduled classes, please see below.

    To book training, navigate to the course you need, then:

    • For scheduled online classes, register from the choices indicated.
    • If you need an alternative date, time or location, or if you want a live classroom course, click on “request an offer for this course,” to complete the form.

Introduction to Spring 5, Spring MVC, and Spring REST

Course duration

  • 5 days

Course Benefits

  • Understand the core principles of Spring, and of Dependency Injection (DI) / Inversion of Control
  • Use the Spring Core module and DI to configure and wire application objects (beans) together
  • Know the different types of metadata (XML, annotations/@Component, and Java Configuration/@Configuration), and how and when to use them
  • Understand and use the complete capabilities of the Core module, such as lifecycle events, bean scopes, and the Spring API
  • Use Spring Boot to simplify dependency management and configuration
  • Work with the ORM (Object-Relational Mapping) module to integrate Spring with technologies such as Hibernate or JPA.
  • Use Spring Data to automatically generate JPA-based repository classes
  • Understand and use Spring's transaction support, including the easy-to-use Java annotation support, as well as the tx/aop XML configuration elements
  • Integrate Spring with Java EE Web applications
  • Build Web applications with Spring MVC, including configuration using Java config and Servlet 3 capabilities
  • Understand and use the core capabilities of Spring's Reactive programming support
  • Understand REST, and use Spring MVC to build RESTful services
  • Use Ajax-based front ends with Spring MVC / Spring REST
Available Delivery Methods
Public Class
Public expert-led online training from the convenience of your home, office or anywhere with an internet connection. Guaranteed to run .
Private Class
Private classes are delivered for groups at your offices or a location of your choice.

Course Outline

  1. Introduction to Spring
    1. Overview of Spring Technology
      1. Motivation for Spring, Spring Architecture
      2. The Spring Framework
    2. Spring Introduction
      1. Declaring and Managing Beans
      2. ApplicationContexts - The Spring Container
      3. XML and @Component/@Named Config
    3. Dependencies and Dependency Injection (DI)
      1. Examining Dependencies
      2. Dependency Inversion / Dependency Injection (DI)
      3. DI in Spring - XML and @Autowired
  2. Configuration in Depth
    1. Java Based Configuration (@Configuration)
      1. Overview, @Configuration, @Bean
      2. Dependency Injection
      3. Resolving Dependencies
    2. Integrating Configuration Types
      1. XML and @Component Pros/Cons
      2. @Configuration Pros/Cons
      3. Choosing a Configuration Style
      4. Integrating with @Import and <import>
    3. Bean Scope and Lifecycle
      1. Singleton, Prototype, and Other Scopes
      2. Configuring Scope
      3. Bean Lifecycle / Callbacks
    4. Externalizing Properties
      1. Properties Files
      2. @PropertySource, property-placeholder
      3. Using @Value
      4. SpEL
    5. Profiles
      1. Overview and Configuration
      2. Activating Profiles
  3. Spring Boot Overview
    1. maven and Spring
    2. Spring Boot Structure
    3. Spring POMs with Boot Parents
    4. Spring Boot Starters
    5. Other Capabilities
  4. Spring Testing
    1. Testing and JUnit Overview
      1. Writing Tests - Test Classes, asserts, Naming Conventions
      2. Running Tests - IDE, maven, ...
      3. Test Fixtures - setup and teardown
    2. Spring TestContext Framework
      1. Overview
      2. Configuration
      3. Running Tests
  5. Spring and Spring Data with Hibernate/JPA
    1. Overview of Spring database support
    2. Configuring a DataSource
    3. Using Spring with Hibernate
      1. High Level Hibernate Overview
      2. SessionFactory configuration, LocalSessionFactoryBean
      3. Contextual Sessions and Spring Integration
    4. Using Spring with JPA
      1. Managing the EntityManager (EM)
      2. LocalContainerEntityManagerFactoryBean and Container-managed EMs
      3. JEE and JNDI Lookup of the EM
      4. Configuration and Vendor Adaptors
      5. Creating a JPA Repository/DAO Bean - @PersistenceUnit, @PersistenceContext
    5. Spring Data Overview
      1. Overview and Architecture
      2. Configuring Spring Data
      3. Repositories and JPA Repositories
      4. Using CrudRepository
    6. Using Spring Data
      1. Naming Conventions for Querying
      2. Creating more Complex Queries
      3. Query Configuration
  6. Spring Transaction (TX) Management
    1. Overview
    2. Declarative TX Management (REQUIRED, etc.)
    3. TX Scope and Propagation
    4. Pointcut-based Configuration of Transactions
  7. Spring Web Integration and Intro to Spring MVC
    1. Java EE Web App Integration
    2. ContextLoaderListener and WebApplicationContext
    3. Web MVC Overview
    4. Spring MVC Basics
      1. Configuration and the DispatcherServlet
      2. @Controller, @RequestMapping (Handlers)
      3. @RequestParam and Parameter Binding
      4. View Resolvers
      5. Controller Details - @RequestParam, @PathVariable
      6. Model Data and @ModelAttribute
  8. Additional Spring MVC Capabilities
    1. @ModelAttribute and Reference Data
    2. Forms and Binding, Spring Form Tags
    3. Sessions and @SessionAttributes
    4. Validation / JSR-303
  9. RESTful Services with Spring
    1. REST Overview and Principles
    2. REST and Spring MVC
      1. Spring support for REST
      2. @RequestMapping/@PathVariable, @RequestBody, @ResponseBody
      3. URI Templates and @PathVariable
      4. Controllers with @RestController
    3. Requests and Responses
    4. Ajax Overview
  10. Working with JSON and XML
    1. Generating JSON
      1. JSON Overview
      2. JSON Representations for Resources
      3. Message Converters
    2. Generating XML
      1. JAXB and Jackson Message Converters for XML
      2. JAXB / @XmlRootElement
    3. Content Negotiation
  11. Java Clients for RESTful Services
    1. Client Requirements and Spring's RestTemplate
    2. getForObject() / getForEntity()
    3. Other RestTemplate Methods
    4. Accessing Headers / exchange()
  12. Common REST Patterns
    1. GET: Read
    2. POST: Create
    3. PUT: Update
    4. DELETE: Delete
    5. Programming on server side, and client side (with RestTemplate)
  13. Additional New Features in Spring 5
    1. Updates to Spring Core
    2. WebFlux / Reactive Web Framework

Class Materials

Each student will receive a comprehensive set of materials, including course notes and all the class examples.

Since its founding in 1995, InterSource has been providing high quality and highly customized training solutions to clients worldwide. With over 500 course titles constantly updated and numerous course customization and creation possibilities, we have the capability to meet your I.T. training needs.
Instructor-led courses are offered via a live Web connection, at client sites throughout Europe, and at our Geneva Training Center.