Introduction to Spring MVC

Creating Web Applications with Spring MVC

The Introduction to Spring MVC training course focuses on developing web applications using the Spring Framework and its related Web components, primarily Spring MVC.

The Introduction to 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, students 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.

Introduction to Spring MVC can be combined with Introduction to the Spring Framework to create 5-day comprehensive “Working with Spring” course.

Course Summary

Purpose: 
Learn how to simply and rapidly create web applications using the Spring MVC framework.
Audience: 
Experienced Java web developers and Spring Framework programmers looking to adopt Spring MVC.
Skill Level: 
Learning Style: 

Hands-on training is customized, instructor-led training with an in-depth presentation of a technology and its concepts, featuring such topics as Java, OOAD, and Open Source.

Hands On help
Duration: 
3 Days
Productivity Objectives: 
  • Understand the Spring MVC framework architecture
  • Understand an be able to use the various API elements and annotations to create controllers
  • Understand and be able to use the different mechanisms available to do conversions and validations in your web applications
  • Understand how to internationalize your web applications using Spring MVC
  • Understand the role that View Resolvers play in Spring MVC and how to use multiple View Resolvers
  • Understand how to integrate the Tiles framework with Spring MVC
  • Understand how to be able to handle unexpected exceptions using Exception Resolvers
  • Understand how to use JUnit to test your web application components
  • Understanding the role of Spring Security, and how to use it to secure your web applications
Introduction to Spring MVC is part of the Spring Source Training curriculum.

What You'll Learn

In the Introduction to Spring MVC training course, you’ll learn:

  • 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 ApplicationContext
  • 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
    • Introduction to Spring form tags
  • Conversions
    • Property editors
    • 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 View Resolvers – BeanNameViewResolver, XmlViewResolver, ResourceBundleViewResolver
    • Using multiple view resolvers
    • Integrating Tiles
    • Creating custom Views
  • Handler Mappings and Exception Resolvers
    • Handler Mappings – default handler mapping, static requests, simple URL handler mapping
    • Creating a “legacy” controller
    • Handling unexpected exceptions using SimpleMappingExceptionResolver
    • Creating a handler interceptor using HandlerInterceptors
  • Testing Spring MVC Applications
    • Using SpringJUnit4ClassRunner
    • @DirtiesContext
    • Using Spring Mock objects to test controllers

Meet Your Instructor

Michael headshot
Michael

Michael is a practicing software developer, course developer, and trainer with DevelopIntelligence. For the majority of his career, Michael has designed and implemented large-scale, enterprise-grade, Java-based applications at major telecommunications and Internet companies, such as Level3 Communications, US West/Qwest/Century Link, Orbitz, and others.

Michael has a passion for learning new technologies, patterns, and paradigms (or, he has a tendency to get bored or disappointed with current ones)....

Meet Michael »
Daniel pic
Daniel

Daniel has been a self-employed developer, teacher and speaker for private businesses, education and government entities since 1999. Daniel also actively teaches programming for the University of New Mexico Continuing Education.

Daniel is a Pomodoro Technique practitioner, and co-founder of the Albuquerque Java User’s Group in Albuquerque, New Mexico. When he’s not supporting other local Java developers, Daniel spends most of his waking hours developing in and around the Java ecosystem, encompassing...

Meet Daniel »
Jean Photo
Jean

Jean brings years of development experience into her teaching, making the learning experience practical for her students. Originally a Smalltalk developer, Jean has an expansive knowledge of object-oriented (OO) development, analysis, and design. Jean has worked in every stage of the software development process for a variety of businesses – from small non-profits, to government agencies, to global enterprises.

Jean was also one of the top instructors at Sun Microsystems in North America and Europe....

Meet Jean »
Anil Photo
Anil

Anil is a seasoned software engineer with over 16 years of Java development experience.

Anil started his career as a Unix programmer, slinging C-code, writing shell scripts, and teaching others how to use Unix back when Unix was still a toddler. Anil’s expertise in Unix, C, and C++ allowed him to become a member of Technical Staff at ATT / Bell labs. During his tenure at Bell Labs, Anil led the creation of software tools that simulated network traffic, in particular, cellular...

Meet Anil »
Marnie picture
Marnie

Marnie brings 15 years of experience delivering programming related training. During that time she has taught for top-technology companies including: Sun (and later Oracle) certified Java classes, RedHat Certified JBoss administration courses, Spring Source Certified Spring and Hibernate courses. Her classes have run the gamut from introduction to programming classes to Java EE web services and much of the Java EE stack in between.

She has a passion for teaching, which is evident in her presentations and...

Meet Marnie »
Picture of James
James

James has over 15 years of experience as a Java developer and has spent the majority of his career building large-scale applications at Accenture and other consulting firms. Jim also has provided training to Fortune 500 companies and large private and governmental organizations. He now specializes in Android training, mentoring and development including acting as the lead developer on a number of recent projects developing Android apps for large enterprises. He is also the author of “Dojo: Using the Dojo...

Meet James »

Resources

Suggested Reference Texts: 

Contact us to learn more

Not all training courses are created equal. Let the customization process begin! We'll work with you to design a custom Introduction to Spring MVC training course that meets your specific needs.

DevelopIntelligence has been in the technical/software development learning and training industry for nearly 20 years. We’ve provided learning solutions to more than 48,000 engineers, across 220 organizations worldwide.

About Develop Intelligence
Di Clients

surveyask

Need help finding the right learning solution?   Call us: 877-629-5631