Search for Training

Spring MVC

Course Overview


The Spring MVC training course focuses on developing web applications using the Spring Framework and its related Web components, primarily Spring MVC. The Spring MVC course begins with a review of the primary Spring concepts (like IoC/DI, AOP, etc), and then quickly moves into an examination of building web applications using Spring MVC. Throughout the in-depth, hands-on exploration, Participants will learn to work with key Spring MVC concepts like: Customizing control flow through HandlerMappings, ViewResolvers, and Controllers; Binding and validating using Property Editors, and Processing forms through Form Controllers. The Creating Web Application with Spring MVC training course can include, if desired, an examination of how to incorporate the Java Persistence Architecture (Hibernate, EclipseLink, etc.) with Spring to create CRUD-based web applications. Spring MVC can be combined with the Spring Framework to create 5-day comprehensive "Working with Spring" course.

Course Content


A Brief Review of the Spring Framework

  • ApplicationContext
  • Dependency Injection
  • Annotation and XML based configuration

Integrating Spring with Web Applications

  • Using the ContextLoaderListener to create an ApplicationContext
  • Using WebApplicationContextUtils to access the ApplicaitonContext

Spring MVC Overview

  • Overview and comparisons to other frameworks
  • Spring MVC architecture
  • The parts of a Spring MVC application
  • Spring MVC configuration

Spring MVC - Controllers

  • Declaring Annotation based controllers - @Controller
  • Mapping URLs to controllers - @RequestMapping
  • Input parameters - @RequestParam
  • Using logical view names - InternalResourceViewResolver

Handling Forms

  • Creating "Model" objects (@ModelAttribute)
  • Pre-populating Forms
  • Handling POST requests
  • Spring form tags

Conversions

  • PropertyEditors
  • Handling Errors
  • Conversion Service, Formatters and Converters

Supporting different Locales

  • LocaleResolvers
  • LocaleChangeInterceptor

Performing Data Validations

  • Spring Validation - how it works, creating custom validators,invoking validation in controllers
  • JSR 303 Validation - how it works, creating custom validators,invoking JSR-303 validation in controller

Spring MVC - Views

  • Other ViewResolvers -BeanNameViewResolver, XmlViewResolver,     ResourceBundleViewResolver
  • Using Multiple View Resolvers
  • Integrating Tiles
  • Creating custom Views

Handler Mappings and Exception Resolvers

  • Handler Mappings - Default Handler Mapping, Using to handle static requests, Simple URL Handler Mapping
  • Creating a "legacy" Controller
  • Handling unexpected exceptions using Simple Mapping Exception Resolver
  • Creating a Handler Interceptor using HandlerInterceptors

Testing Spring MVC applications

  • Using SpringJUnit4ClassRunner
  • @DirtiesContext
  • Using Spring Mock Objects to test Controllers

Customer Reviews


Thanks to Xpertised and the tutor who walked me through all the topics with Practical exposure which is helping me in my current project.
-Waseem

Course was quite helpful in terms of understanding of concepts and practicality. Its really a very friendly environment to learn. The timing were mutually chosen, as we both are working professional. I am quite satisfied with the course.
-Tanmoy

...more
Share:

For Batch Details
Call us at: +91 7259222234

Not sure? Consult Our Experts

What is the sum of 4 + 9? (security question)

Looking for a Training for

Myself

My Team/Organization

I agree to be contacted over mail or phone

or
Call us at: +91 7259222234

Subscribe to our weekly newsletter