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.
- 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
What You'll Learn
In the Introduction to Spring MVC training course, you’ll learn:
- A Brief Review of the Spring Framework
- 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
- Declaring Annotation based controllers ::
- Property editors
- Handling errors
- Conversion service, formatters and converters
- Supporting Different Locales
- 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
- Using Spring Mock objects to test controllers
Meet Your Instructor
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)....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...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....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...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...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...