Search our courses
Training

This Core Spring 3 on JBoss using SpringSource Tool Suite training course provides students with the knowledge needed to use the Spring Framework and SpringSource Tool Suite to develop flexible, testable and maintainable Java EE enterprise applications. This course covers v3.0 of the Spring Framework.  Some of the topics covered include Spring Dependency Injection, using Spring with database frameworks like Hibernate, using Spring with various web frameworks like Spring MVC, and various Spring integrations with JMS and web services.


Objectives:
    Upon completion of this course, you should be able to:

  •     Understand the need for the Spring framework
  •     Use inversion of control to increase flexibility and testability of applications
  •     Understand and use aspect-oriented programming to better handle cross-cutting concerns
  •     Integrate Spring with the Hibernate and JPA ORM frameworks
  •     Declaratively and programmatically manage transactions in Spring
  •     Use the Spring MVC web framework to develop flexible web applications
  •     Use Spring in web service applications
  •     Access enterprise services including JMS, email, job schedulers and JNDI

 
Topics:

  •     The Need for Spring
  •     Inversion of Control
  •     Wiring Beans
  •     Database Integration and Transaction Management
  •     Aspect-Oriented Programming in Spring
  •     Spring MVC
  •     Spring Web Services
  •     Accessing Enterprise Services

Core Spring 3 on JBoss using SpringSource Tool Suite

Course Code

GTJ23

Duration

5 Days

Course Fee

POA

Accreditation

N/A

Target Audience

  • Software designers, developers and programmers.

Attendee Requirements

Expand all

Course Description

This Core Spring 3 on JBoss using SpringSource Tool Suite training course provides students with the knowledge needed to use the Spring Framework and SpringSource Tool Suite to develop flexible, testable and maintainable Java EE enterprise applications. This course covers v3.0 of the Spring Framework.  Some of the topics covered include Spring Dependency Injection, using Spring with database frameworks like Hibernate, using Spring with various web frameworks like Spring MVC, and various Spring integrations with JMS and web services.


Objectives:
    Upon completion of this course, you should be able to:

  •     Understand the need for the Spring framework
  •     Use inversion of control to increase flexibility and testability of applications
  •     Understand and use aspect-oriented programming to better handle cross-cutting concerns
  •     Integrate Spring with the Hibernate and JPA ORM frameworks
  •     Declaratively and programmatically manage transactions in Spring
  •     Use the Spring MVC web framework to develop flexible web applications
  •     Use Spring in web service applications
  •     Access enterprise services including JMS, email, job schedulers and JNDI

 
Topics:

  •     The Need for Spring
  •     Inversion of Control
  •     Wiring Beans
  •     Database Integration and Transaction Management
  •     Aspect-Oriented Programming in Spring
  •     Spring MVC
  •     Spring Web Services
  •     Accessing Enterprise Services
Course Outline

Chapter 1. Introduction to the Spring Framework

  •     What is the Spring Framework?
  •     Spring Philosophies
  •     Why Spring?
  •     Spring Modules
  •     Requirements and Supported Environments
  •     Using Spring with Servers
  •     Role of Spring Container
  •     Spring Example
  •     Avoiding Dependency on Spring
  •     Additional Spring Projects/Frameworks
  •     Summary

Chapter 2. Spring 3 Development Tools

  •     SpringSource Tool Suite
  •     Developing Spring 3 Applications With RAD
  •     Sequence of Installation for Spring/RAD/WebSphere
  •     Alternatives to RAD for Spring/WebSphere Development
  •     Creating a Spring Project
  •     Tools for Spring Beans Configuration Files
  •     Spring Configuration Validation
  •     Spring Web Flow Definition Tools
  •     Maven Overview
  •     Managing Spring JARs with Maven
  •     Adding Maven Dependencies
  •     Summary

Chapter 3. Defining and Using Spring Beans

  •     Spring “Beans”
  •     Spring Containers
  •     Instantiating the Spring Container
  •     Retrieving Spring Beans
  •     Configuring Spring Beans
  •     <bean> Element
  •     Naming Beans
  •     Setting Bean Properties
  •     Using the Spring XML 'p' Schema
  •     Creating Beans with a Constructor
  •     Resolving Constructor Ambiguity
  •     Setting Properties vs. Invoking Constructors
  •     Bean Scope
  •     Effect of Bean Scope on Instances
  •     Summary

Chapter 4. Advanced Spring Bean Configuration

  •     Defining Beans with Annotations
  •     Component Stereotype Annotations
  •     Spring Component Annotations
  •     Bean Scope with Annotations
  •     Configuring Classpath Scanning for Spring Beans
  •     Choosing Which Annotations to Use
  •     Overriding Annotation Configuration with XML
  •     Externalizing Bean Configuration
  •     PropertyPlaceholderConfigurer
  •     PropertyOverrideConfigurer
  •     Inheriting Bean Configuration
  •     Lazy Initialization
  •     Declaring Beans from Static Fields
  •     Declaring Beans from Object Properties
  •     Summary

Chapter 5. Spring Dependency Injection

  •     Dependency Injection
  •     Benefits of Dependency Injection
  •     Specifying Bean References
  •     Constructor Injection
  •     Constructor vs. Setter Injection
  •     Injecting Multivalued Properties
  •     Other Multivalued Types
  •     Specifying the Data Type of Collections
  •     Defining Collections Using Utility Factory Beans
  •     Defining a Reusable Properties From an External File
  •     Bean Scope Effect on Dependency Injection
  •     Autowiring With XML
  •     Autowiring Example
  •     Errors in Autowiring
  •     Excluding a Bean from Autowiring
  •     Autowiring Multivalued Properties
  •     Mixing Explicit and Autowiring
  •     Summary

Chapter 6. Spring Dependency Injection with Annotations

  •     Dependency Injection Annotations
  •     @Autowired and @Inject
  •     Locations for @Autowired and @Inject
  •     Autowiring Multivalued Properties
  •     Autowiring by Bean Name with @Resource
  •     Injecting Named Collections Defined in XML with @Resource
  •     Checking Required Dependencies
  •     Enforcing Required Properties with XML Autowiring
  •     Multiple @Autowired Constructors
  •     Multiple Autowiring Matches
  •     Qualifiers with Annotation-based Autowiring
  •     Adding a Qualifier Value to a Bean Definition
  •     Qualification of Multivalued Properties
  •     Defining Custom @Qualifier Annotations
  •     Complex Custom @Qualifier Annotations
  •     Associating Custom Bean Qualifiers with XML
  •     Processing Injection Annotations
  •     Overriding Annotation Injection
  •     Summary

Chapter 7. Alternate Configuration

  •     Java @Configuration Classes
  •     Defining @Configuration Classes
  •     Loading @Configuration Classes
  •     Modularizing @Configuration Classes
  •     Qualifying @Bean Methods
  •     Trouble with Prototype Scope
  •     Configuration with Spring Expression Language
  •     Resolving Text Messages
  •     Spring Property Conversion
  •     Spring Converter Interface
  •     Using Custom Converters
  •     Spring PropertyEditors
  •     Registering Custom PropertyEditors
  •     Summary

Chapter 8. Testing Spring Applications

  •     Spring Unit Testing
  •     Configuring Test Projects
  •     Spring TestContext Framework
  •     Implementing Test Classes
  •     Loading Spring Configuration with Test Classes
  •     Accessing Spring Components Within Test Classes
  •     Defining Tests to Execute
  •     Isolating Tests Which Modify the Spring Environment
  •     Transactional Testing Support
  •     Transactional Test Base Classes
  •     Avoiding False Positives with ORM Testing
  •     Other Transaction Annotations
  •     Other Spring Annotations for JUnit
  •     Unit Testing Support Classes
  •     Mock Objects
  •     Summary

Chapter 9. Overview of Spring Database Integration

  •     DAO Support in Spring
  •     Spring Data Access Modules
  •     Spring JDBC Module
  •     Spring ORM Module
  •     DataAccessException
  •     @Repository Annotation
  •     Using DataSources
  •     DAO Templates
  •     DAO Templates and Callbacks
  •     ORM Tool Support in Spring
  •     Summary

Chapter 10. Using Spring with JPA or Hibernate

  •     Spring ORM
  •     Benefits of Using Spring with ORM
  •     Spring @Repository
  •     Using JPA with Spring
  •     Configure Spring JPA EntityManagerFactory
  •     Using JNDI to Lookup JPA EntityManagerFactory
  •     LocalContainerEntityManagerFactoryBean
  •     LocalEntityManagerFactoryBean
  •     Application JPA Code
  •     Hibernate
  •     Hibernate Session Factory
  •     Spring LocalSessionFactoryBean
  •     Application Hibernate Code
  •     "Classic" Spring ORM Usage
  •     Spring JpaTemplate
  •     Spring JpaCallback
  •     JpaTemplate Convenience Features
  •     Spring HibernateTemplate
  •     Spring HibernateCallback
  •     HibernateTemplate Convenience Methods
  •     Summary

Chapter 11. Spring JDBC Support

  •     Spring JDBC Support
  •     Main Spring JDBC Classes
  •     Spring JdbcTemplate Class
  •     Writing Data with JdbcTemplate
  •     Reading Data with JdbcTemplate
  •     Reading Single-Row Scalar Data
  •     Spring NamedParameterJdbcTemplate
  •     SqlParameterSource
  •     SimpleJdbcInsert
  •     Summary

Chapter 12. Introduction to Aspect-Oriented Programming

  •     What is AOP?
  •     Cross-Cutting Concerns
  •     AOP Concepts
  •     AOP in Spring
  •     Summary

Chapter 13. Spring Transaction Management

  •     Transactions
  •     Spring Transaction Module
  •     Transaction Management in Spring
  •     Spring Transaction Managers
  •     Integrating Spring Transactions with Java Enterprise Servers
  •     Transaction Propagation Behavior
  •     Transaction Isolation Levels
  •     Read-Only and Timeouts
  •     Default Transaction Settings
  •     Declarative Transactions in Annotations
  •     Spring XML Syntax for Transaction Advice
  •     Programmatic Transactions
  •     Transaction Rollback
  •     Proxying Classes
  •     Summary

Chapter 14. @AspectJ AOP with Spring

  •     Spring AspectJ AOP
  •     @AspectJ
  •     Aspects in @AspectJ
  •     Pointcuts in @AspectJ
  •     execution Pointcut
  •     Composite Pointcuts in @AspectJ
  •     Before Advice in @AspectJ
  •     After Returning Advice in @AspectJ
  •     After Throwing Advice in @AspectJ
  •     After (Finally) Advice in @AspectJ
  •     Around Advice in @AspectJ
  •     Introductions in @AspectJ
  •     Accessing Parameters in @AspectJ
  •     Determining Parameter Names in @AspectJ
  •     Advice Ordering in @AspectJ
  •     XML Schema-based AOP Support
  •     Declaring Pointcuts
  •     Before Advice in XML Syntax
  •     After Returning Advice in XML Syntax
  •     Introductions in XML Syntax
  •     Advisors in XML Syntax
  •     Summary

Chapter 15. Using JSF with Spring

  •     JSF Integration Options
  •     DelegatingVariableResolver
  •     SpringBeanVariableResolver
  •     SpringBeanFacesELResolver
  •     Spring Bean Scopes
  •     FacesContextUtils
  •     JSF with Spring Web Flow

Chapter 16. Spring MVC

  •     Spring MVC
  •     Spring Web Modules
  •     Spring MVC Components
  •     DispatcherServlet
  •     Context Loaders
  •     Spring MVC Example
  •     Spring MVC Mapping of Requests
  •     Advanced @RequestMapping
  •     Spring MVC Annotation Controllers
  •     Controller Handler Method Parameters
  •     Controller Handler Method Return Types
  •     View Resolution
  •     InternalResourceViewResolver
  •     BeanNameViewResolver
  •     XmlViewResolver
  •     ResourceBundleViewResolver
  •     Using Multiple View Resolvers
  •     Spring Form Tags
  •     form and input Tags
  •     password and hidden Tags
  •     checkbox Tag
  •     radiobutton Tag
  •     textarea Tag
  •     select Tag
  •     option Tag
  •     options Tag
  •     errors Tag
  •     Summary

Chapter 17. Introduction to Spring Web Flow 2

  •     What is Spring Web Flow 2?
  •     Benefits of Spring Web Flow 2
  •     Relationship to Spring and Spring MVC
  •     Spring Web Flow 2 Modules
  •     Expression Language
  •     Integration Support
  •     What is a Flow?
  •     Book Hotel Flow Example
  •     Book Hotel Flow Definition
  •     Configure web.xml
  •     Spring Web Flow Components
  •     Sample Spring Web Flow Configuration File
  •     Summary

Chapter 18. Spring Security

  •     Securing Web Applications with Spring Security 3.0
  •     Spring Security 3.0
  •     Authentication and Authorization
  •     Programmatic v Declarative Security
  •     Getting Spring Security from Maven
  •     Spring Security Configuration
  •     Spring Security Settings in Spring Configuration
  •     Basic Web Security Configuration
  •     Granting Anonymous Access to Pages and Resources
  •     Requiring Encrypted HTTPS Communication
  •     Customizing Form-based Login
  •     Custom Login Page
  •     Configure Logout
  •     Session Management
  •     Selectively Display Links in a JSP
  •     Method Level Security
  •     Authentication Manager
  •     Using Database User Authentication
  •     LDAP Authentication
  •     Encoding Passwords
  •     Using an External Authentication Provider
  •     Summary

Chapter 19. Using JavaScript with Spring

  •     Spring JavaScript
  •     Relationship to Dojo
  •     Serving JavaScript Resources
  •     Including Spring JavaScript
  •     Spring JavaScript Decorations
  •     Dijit ValidationTextBox Decoration
  •     Dijit DateTextBox Decoration
  •     Spring ValidateAllDecoration
  •     Handling Ajax Requests with Spring MVC
  •     Handling Ajax Requests with Spring Web Flow
  •     Summary

Chapter 20. Spring JMS

  •     Spring JMS
  •     JmsTemplate
  •     Connection and Destination
  •     JmsTemplate Configuration
  •     Transaction Management
  •     Example Transaction Configuration
  •     Producer Example
  •     Consumer Example
  •     Converting Messages
  •     Message Listener Containers
  •     Message-Driven POJO's Async Receiver Example
  •     Message-Driven POJO's Async Receiver Configuration
  •     Summary

Chapter 21. Implementing Web Services with Spring

  •     Web Services in Spring Applications
  •     Spring Web Service Options
  •     Injecting Spring Components Into Web Service Classes
  •     Using Spring with JAX-WS Web Services
  •     Extending the SpringBeanAutowiringSupport Class
  •     Using a @PostConstruct Initialization Method
  •     Combining @PostConstruct and @Autowired
  •     Comparing Third Party Frameworks with Spring-WS
  •     Summary

Chapter 22. Spring REST Services

  •     Many Flavors of Services
  •     Understanding REST
  •     RESTful Services
  •     REST Resource Examples
  •     REST vs SOAP
  •     REST Services With Spring MVC
  •     Spring MVC @RequestMapping with REST
  •     Working With the Request Body and Response Body
  •     Implementing JAX-RS Services and Spring
  •     JAX-RS Annotations
  •     Java Clients Using RestTemplate
  •     RestTemplate Methods
  •     Summary

Chapter 23. Review of New Features in Spring 3.0

  •     Requirements and Supported Environments
  •     Using Spring with Servers
  •     Packaging
  •     Spring Expression Language
  •     Java-based Configuration
  •     Annotation-based Configuration
  •     Spring MVC Changes
  •     New Spring MVC Configuration
  •     Spring MVC Annotation Example
  •     Validation
  •     Summary

Lab Exercises

    Lab 1. Setup STS
    Lab 2. Defining and Using Spring Beans
    Lab 3. Advanced Spring Bean Definition
    Lab 4. Spring Dependency Injection
    Lab 5. Annotation Dependency Injection
    Lab 6. Dependency Injection with JSR-330 Annotations
    Lab 7. Spring Alternate Configuration
    Lab 8. Spring Testing Support
    Lab 9. Use Spring JPA Support
    Lab 10. Use JDBC Support of Spring
    Lab 11. Use AOP to Manage Transactions
    Lab 12. Add Custom AOP Functionality
    Lab 13. Using Spring with JSF
    Lab 14. Use the Spring Web MVC Web Framework
    Lab 15. Create a Web Application with Spring Web Flow
    Lab 16. Spring Security
    Lab 17. Spring JavaScript
    Lab 18. Use Spring JMS Support
    Lab 19. JAX-WS Web Services with Spring
    Lab 20. Implement REST Services with Spring

Learning Path
  • There are a number of options of suitable follow-on courses, depending on your business needs. Please contact us for further details.
Ways to Attend
  • Attend a public course, if there is one available. Please check our schedule, or register your interest in joining a course in your area.
  • Private onsite Team training also available, please contact us to discuss. We can customise this course to suit your business requirements.

Private Team Training is available for this course

We deliver this course either on or off-site in various regions around the world, and can customise your delivery to suit your exact business needs. Talk to us about how we can fine-tune a course to suit your team's current skillset and ultimate learning objectives.

Private Team Training | Contact us

Technical ICT learning & mentoring services

Private Team Training

Our instructors are specialist consultants with vast real world experience and expertise allowing them to design and deliver client-focused courses for your organisation.

Learn more about our Private Team Training

What Our Clients Say

"Absolutely fantastic training. Thoroughly enjoyed it thanks to our highly enthusiastic tutor.  It wouldn't be an understatement to say that it was the best professional training that I have ever received."

 

Customised Linux with Networking

Live Online -  February 2022

 

"The course content was very good. When needed, the Instructor was extending the content of the course with hints and tips to help us understand different topics that were covered in the course."

 

Kubernetes Administration Certification - GTLFK

Live Online June 2021

 

 

 

“The course was held at the highest possible standards, the instructor was excellent, well prepared, well informed, and clearly an SME. Top marks.”

 

Professional Cloud Service Manager - GTC13

Live Online December 2021

 

“Very engaging and practical course so hope to be able to put the learning into practice.”

 

Being Agile in Business - GTBAB

Live Online September 2021

 

“Great instructor, who encouraged active participation. The breakout groups and exercises kept the group engaged and the content relevant to our own products”.

 

Site Reliability Engineering Foundation - GTDSRE

Live Online January 2022

 

 

 

"Intelligence is the ability to avoid doing work, yet
getting the work done"

Linus Torvalds, creator of Linux and GIT

Technical ICT learning & mentoring services

About GuruTeam

GuruTeam is a high-level ICT Learning, Mentoring and Consultancy services company. We specialise in delivering instructor-led on and off-site training in Blockchain, Linux, Cloud, Big Data, DevOps, Kubernetes, Agile, Software & Web Development technologies. View our Testimonials

Download our eBrochure
Our Accreditation Partners
  •  
  •  
  •  

 

Upcoming Courses

Kubernetes Administration

11th - 14th March 2024

26th - 29th March 2024

Live Online

 

This Kubernetes Administration Certification training course is suitable for anyone who wants to learn the skills necessary to build and administer a Kubernetes cluster

Learn More

RUST

11th - 14th March 2024

26th - 29th March 2024

 Live Online

This course will help you understand what Rust applications look like, how to write Rust applications properly, and how to get the most out of the language and its libraries.

Learn More

Introduction to Python 3 

19th - 21st March 2024

9th - 11th April 2024

7th - 9th May 2024

   4th - 6th June 2024

 

Live Online

This Introduction to Python 3 training course is designed for anyone who needs to learn how to write programs in Python or support/modify existing programs.

 

Learn More

 GO LANG TRAINING

11th - 14th March 2024

26th - 29th March 2024

 

Live Online        

 

This Go language programming training course will help you understand how Go works, and immediately be more productive. If you are building a team using Go, this will be a great opportunity to get your team on the same page and speaking the same language. Innovative lab exercises and code samples are provided to reinforce skills and quickly master the topics.

Learn More

Newsletter

Stay up to date, receive updates on scheduled dates, new courses, offers, and events.

Subscribe to our Newsletter