Discover Classes. Earn Rewards.

Introduction to Spring 4, Spring MVC and Spring REST

at Software Skills Training - Santa Monica

Course Details
$2,795 12 seats left
Start Date:

Mon, Jun 03, 9:00am - Jun 07, 5:00pm (5 sessions)

Next start dates (2)

Santa Monica, Beach Cities
Specific Address TBD
Santa Monica, California
Purchase Options
Learn More
Save to WishList
Class Level: All levels
Age Requirements: 18 and older
Average Class Size: 8

What you'll learn in this java class:

This course introduces the techniques for using the powerful capabilities of Spring 4 including the three main configuration styles: Java-based (@Configuration), annotation-based (@Component), and the traditional XML-based configuration that may still play an important role in existing and new projects. It also provides guidelines for when and how to use each one.

The course starts with in-depth coverage on using the powerful capabilities of Spring's Core module to reduce coupling and increase the flexibility, ease of maintenance, and testing of your applications. Coverage also includes integrating persistence layers (e.g. Hibernate/JPA) with Spring, using Spring's powerful Aspect Oriented Programming (AOP) to program cross-cutting concerns in a safe and maintainable way and using Spring's declarative transaction capabilities.

The course includes integrating Spring with Java EE Web applications and an introduction to Spring MVC. Spring MVC utilizes a Model-View-Controller pattern for building Web applications and the introduction covers the basics of Spring MVC and how it supports organizing your Web applications in a highly structured, loosely coupled manner. This includes an introduction to REST (Representational state transfer) and how to use Spring MVC to build RESTful resources and invoke them from Ajax-based front ends.

This course will enable you to build working Spring applications and give you an understanding of the important concepts and technology. Comprehensive hands-on labs provide reinforcement of the topics covered in the course and practical experience deploying solutions.

Students who do not require coverage of Spring MVC and RESTful Web Services may want to take the 3-day Introduction to the Spring 4 Framework class instead.

Students requiring an introduction to JEE Web Development, JDBC, JNDI, and JSP as well as Spring and Hibernate, may want to take theProgramming Java EE and Frameworks: Web Application Development class instead.

Course Prerequisites: Java SE 5 programming experience and an understanding of object-oriented design principles. Fundamental knowledge of XML is helpful but not required. HOTT's course Java Programming or equivalent knowledge provides a solid foundation.

Course Overview

Introduction to Spring
  • Overview of Spring Technology
    - Challenges for Modern Applications
    - Motivation for Spring, Spring Architecture
    - The Spring Framework
  • Spring Introduction
    - Managing Beans
    - Inversion of Control / IoC, Dependency Injection/DI
    - Configuration Metadata Overview, Configuring Beans (XML)
  • The Spring Container
    - Overview of the Spring Container
    - ApplicationContext Overview
    - ClassPathXmlApplicationContext, FileSystemXmlApplicationContext, AnnotationConfigApplicationContext
    - API and Usage
  • Dependencies and Dependency Injection (DI)
    - Examining Dependencies
    - Dependency Inversion
    - Configuration and Usage of Dependency Injection (DI) in Spring
Configuration in Depth
  • Annotation Driven Configuration
    - JSR 330 (@Named) and Spring (@Component) Annotation Styles
    - @Named/@Component, @Inject/@Autowired, @Repository, @Service
    - Configuring Beans and Autowiring with Annotations
    - Enabling Annotations - context:component-scan
  • Java Based Configuration (@Configuration)
    - Overview - code-centric Configuration
    - @Configuration and @Bean
    - Dependency Injection
    - Resolving Dependencies on Other Beans
    - Injecting Configuration Classes
  • Integrating Configuration Types
    - Choosing a Configuration Style
    - Integrating Configuration Styles
    - Importing: @Import and
    - Scanning with @Configuration style
  • Bean Scope and Lifecycle
    - Bean Scope Defined - Singleton, Prototype, and Other Scopes
    - Configuring Scope
    - Bean Creation Lifecycle
    - Lifecycle Callbacks
    - BeanPostProcessor
    - Event Handling
Wiring in Depth
  • Value Injection
    - Configuring Value Properties
    - Property Conversions
    - Externalizing Values in Properties Files
  • Constructor Injection
    - Constructor Injection Overview
    - Configuration - @Configuration and XML
    - p: and c: namespaces for XML configuration
  • Qualifiers / Domain Specific Language (DSL)
    - Limitations of Autowiring
    - Qualifiers and DSL
    - Creating and Using an Annotation-Based DSL for Bean Configuration
    - Benefits of Qualifiers for Bean Configuration
  • Profiles
    - Profiles Overview
    - Configuring Profiles (XML and @Configuration)
    - Activating Profiles
  • Overview of SpEL
Database Access with Spring
  • Overview of Spring Database Support
  • Configuring a DataSource
  • Using Spring with Hibernate
    - High Level Hibernate Overview
    - SessionFactory configuration
    - LocalSessionFactoryBean
    - Contextual Sessions and Spring Integration
  • Using Spring with JPA
    - Managing the EntityManager (EM)
    - LocalContainerEntityManagerFactoryBean and Container-managed EMs
    - JEE and JNDI Lookup of the EM
    - Configuration and Vendor Adaptors
    - Creating a JPA Repository/DAO Bean [email protected], @PersistenceContext
Aspect Oriented Programming (AOP)
  • Overview of AOP
    - Crosscutting Concerns
    - AOP Basics, Aspect, Joinpoint, Advice, Pointcut
  • Spring AOP Introduction
    - Configuration - XML and @AspectJ
    - Defining an Aspect, Pointcut, and Advice
    - How Advice is Triggered
  • Pointcut Expressions and Advice
    - Pointcut Expression Overview
    - The execution() Designator
    - Other Designators (within, target, args, @target,...)
    - Kinds of Advice - before, after, around, after-returning, after-throwing
  • Marker Annotations (Rubber Stamp AOP)
    - Issue with AOP Configuration
    - Defining an AOP Marker / Rubber Stamp
    - Configuring AOP Using a Marker
    - Advantages of Marker Annotations
  • @AspectJ Based AOP Support
    - @AspectJ Annotations Overview
    - Defining an Aspect, Pointcut, and Advice
  • Other Considerations
    - Spring AOP Proxies and Self-Invocation Issues
    - Load-Time Weaving
    - Caveats of AOP
Spring Transaction (TX) Management
  • Introduction to Spring Transaction Management
    - Spring Transaction Managers
    - Spring Declarative TX Management
    - Spring TX Scope and Propagation
    - Spring TX Attributes (REQUIRED, SUPPORTS, etc)
  • XML Configuration of Transactions
    - Specifying Advice, TX Attributes, and Methods
    - Linking Advice with Pointcuts
    - Benefits of XML Configuration of TX Behavior
Spring Web Integration and Introduction to Spring MVC
  • Integrating Spring with Java EE Web Apps
    - ContextLoaderListener
    - WebApplicationContext
  • Spring Web MVC Overview
    - Capabilities
    - Architecture (Front Controller, MVC Pattern)
  • Spring MVC Basics
    - DispatcherServlet, Configuration (@EnableWebMvc, Servlet 3 initialization), mvc Namespace
    - Controllers, @Controller, @RequestMapping (Handler Methods)
    - @RequestParam and Parameter Binding
    - View Resolvers
    - Controller Details, @RequestMapping, @RequestParam, @PathVariable
    - Model Data, @ModelAttribute, Model/ModelAndView Classes
Additional Spring MVC Capabilities
  • Reference Data with @ModelAttribute
  • Forms and Binding, Spring Form Tags
  • Session Attributes, @SessionAttributes
  • Validation / JSR-303
XML Specific Configuration
  • Collection Valued Properties
    - Configuring and Using Lists and Sets
  • Factory Classes and Factory Methods
  • Definition Inheritance (Parent Beans)
  • AutoWiring with XML
  • Inner Beans
  • Compound Names
RESTful Services with Spring
  • REST Overview
    - Characteristics/Capabilities
    - URI Templates
    - REST vs SOAP
  • REST and Spring MVC
    - Spring support for REST
    - @RequestMapping/@PathVariable, @RequestBody, @ResponseBody, HTTP Method Conversion
    - Writing RESTful Controllers
    - Returning XML and JSON Data
  • Client-Side Access to RESTful Services
    - Ajax Access (Browser/JavaScript/jQuery)
    - Using Spring's RestTemplate
  • Programming Common REST Patterns
    - GET: Read
    - POST: Create
    - PUT: Update
    - DELETE: Delete

Still have questions? Ask the community.

Refund Policy
Tuition includes all course materials. Students may withdraw before the second day of class to receive a 100% refund, provided course materials are returned to the instructor. Prorated refunds may be granted for withdrawals after the first day.

Cancellations and Changes: There are no cancellation fees.

Attendance Requirements: Students must attend each day of a course and successfully complete hands on exercises in order to receive a certificate of completion. If a student wishes to retake any portion of a class that he or she completes, the student may do so within 12 months at no extra cost.

Intended Audience: Software Skills Training provides IT training designed for technology professionals who wish to quickly upgrade their computer skills. In most states, the employer bears all training costs.


Google Map

Software Skills Training

All classes at this location

Start Dates (3)
Start Date Time Teacher # Sessions Price
9:00am - 5:00pm TBD 5 $2,795
This course consists of multiple sessions, view schedule for sessions.
Tue, Jun 04 9:00am - 5:00pm TBD
Wed, Jun 05 9:00am - 5:00pm TBD
Thu, Jun 06 9:00am - 5:00pm TBD
Fri, Jun 07 9:00am - 5:00pm TBD
9:00am - 5:00pm TBD 5 $2,795
This course consists of multiple sessions, view schedule for sessions.
Tue, Jun 04 9:00am - 5:00pm TBD
Wed, Jun 05 9:00am - 5:00pm TBD
Thu, Jun 06 9:00am - 5:00pm TBD
Fri, Jun 07 9:00am - 5:00pm TBD
9:00am - 5:00pm TBD 5 $2,795
This course consists of multiple sessions, view schedule for sessions.
Tue, Jun 04 9:00am - 5:00pm TBD
Wed, Jun 05 9:00am - 5:00pm TBD
Thu, Jun 06 9:00am - 5:00pm TBD
Fri, Jun 07 9:00am - 5:00pm TBD
Learn More

Benefits of Booking Through CourseHorse

Booking is safe. When you book with us your details are protected by a secure connection.
Lowest price guaranteed. Classes on CourseHorse are never marked up.
This class will earn you 27950 points. Points give you money off your next class!
Questions about this class?
Get help now from a knowledge expert!
Questions & Answers (0)

Get quick answers from CourseHorse and past students.

Reviews of Classes at Software Skills Training (7)

Similar Classes

School: Software Skills Training

Software Skills Training

SST delivers instructor-led technical training across the United States, Canada and the United Kingdom. Whether you attend in person, remote-live or on-demand, our classroom-based training philosophy zeroes in on your ability to work more productively and with higher quality results after training.


Read more about Software Skills Training

CourseHorse Approved

This school has been carefully vetted by CourseHorse and is a verified LA educator.

Want to take this class?
Learn More
Taking this class for work? Get exclusive perks & discounts for free.