Spring Framework Part 1 - Fundamentals, Injection, AOP, Beginning MVC

Course:  SPRING1
Duration:  5 Days
Level:  I
Course Summary

This course is an introduction to the Spring Framework. It teaches a Java developer how to use the Spring Application Framework to create applications while saving development time and reducing maintenance costs. Spring is a framework that facilitates Java development, including every level of multi-tier distributed systems. The focus is on Spring Core, beginning MVC modules, and persistence using DAO and ORM modules. The Core module gives the developer declarative control over object creation and assembly; this is useful for any tier of any Java application. Students will build Web applications that use the Spring Framework to translate their designs into consistent, maintainable solutions. Aspect Oriented programming is included along with a variety of ways to configure the Spring Framework. This is the first of four classes that cover the Spring Framework.

« Hide The Details
Topics Covered In This Course

Overview

  • Web Applications
  • JEE Comparison
  • Enter the Framework
  • Spring Modules
  • Controlling Object Creation
  • Persistence Support
  • Aspect-Oriented Programming
  • Integrating Other Frameworks
  • Inside Spring Tool Suite

Core Techniques

  • Component-Based Software
  • JavaBeans, Reconsidered
  • The Factory Pattern
  • Inversion of Control
  • XML View: Declaring Beans
  • Java View: Using Beans
  • Singletons and Prototypes
  • Initializing Bean State

The Business Tier

  • Dependency Injection
  • Single and Multiple Relationships
  • Autowiring
  • Bean Aliases
  • Order of Instantiation
  • Nested Properties
  • Troubleshooting Considerations
  • Basic Annotations

The Persistence Tier

  • The DAO Pattern
  • The DaoSupport Hierarchy
  • The DataAccessException Hierarchy
  • JDBC DAOs
  • JDBC Template and RowMapper
  • Object/Relational Mapping
  • Hibernate DAOs

The Web Tier

  • The MVC Pattern
  • The Front Controller Pattern
  • DispatcherServlet
  • The Request/Response Cycle
  • JavaBeans as Web Components
  • Web Application Contexts
  • Moving to Maven

Controllers

  • Controller Annotations
  • Data Binding
  • Taglibs
  • RESTful coding considerations

Aspect Oriented Programming

  • Overview
  • AspectJ Lite
  • Spring AOP

Appendix - Optional

  • JavaServer Faces
  • Direct Web Remoting
  • JMX
  • JMS
What You Can Expect

At the end of this course, students will be able to:

  • Understand the scope, purpose, and architecture of Spring
  • Use Spring's Dependency Injection to declare application components, rather than hard-coding their states and lifecycles
  • Use Dependency Injection to further control object relationships from outside the Java code base
  • Use Spring in various layers of Application Development
  • Build a Web MVC application using the Spring DispatcherServlet and associated application context, with declared beans acting as Controllers, Services, and Domain objects
  • Connect business objects to persistent stores the Spring Framework
  • Use JUnit in Spring to test
  • Configure Spring with XML and Annotations
  • Leverage Spring Tool Suite functionality to create, modify and troubleshoot Spring applications
  • Use Spring, Hibernate, and JPA for the Data Layer
  • Begin using Spring AOP to reduce code and maintenance time
Who Should Take This Course

This course is designed for Java developers who want to use the Spring Framework.

Recommended Prerequisites

Basic Java programming and a basic knowledge of XML. Our Fundamentals of Java Programming course is an excellent precursor for this course.

Training Style

Lecture (50%) / Lab (50%)

« Hide The Details
Related Courses
Code Course Title Duration Level
JAVAF
Fundamentals of Java Development
5 Days
I
Details
JAKST
Web Development with Jakarta Struts
4 Days
II
Details
JSFCS
JavaServer Faces (JSF) Programming
3 Days
II
Details
SPR3NEW
Spring Framework 3.x New Features
3 Days
II
Details
SPRHIBD
Spring and Hibernate Development
5 Days
II
Details
SPRING2
Spring Framework Part 2 - More MVC, Webflow, Web Services, Security, ROO
5 Days
II
Details
SPRSEC
Spring 3 Security
3 Days
II
Details
SPRING3
Spring Framework Part 3 - Batch, Integration, Data with JPA, Testing
5 Days
III
Details
SPRING4
Spring Framework Part 4 - Spring Data with JPA, Hadoop, MongoDB, and More
5 Days
III
Details

Every student attending a Verhoef Training class will receive a certificate good for $100 toward their next public class taken within a year.

You can also buy "Verhoef Vouchers" to get a discounted rate for a single student in any of our public or web-based classes. Contact your account manager or our sales office for details.

Schedule For This Course
There are currently no public sessions scheduled for this course. We can schedule a private class for your organization just a couple of weeks from now. Or we can let you know the next time we do schedule a public session.
Notify me the next time this course is confirmed!
Can't find the course you want?
Call us at 800.533.3893, or
email us at [email protected]