Highlights
- Gain an introduction to the Spring Framework
- Learn to Configure Spring Beans
- Understand Spring and JDBC Database Connectivity
- Gain an introduction to the Java Persistence API
- Utilise Spring and the JPA
- Explore Spring and NoSQL with MongoDB or Cassandra
- Exploit Spring Data and Spring Validation
- Explore Spring MVC for REST Services
- Apply Spring Security
- Learn more about on Spring Boot
- Learn Aspect Oriented Programming with Spring
- Try Unit Testing Spring Applications
- Utilise JMS Messaging from Spring
Course Details
Chapter 1 Introduction to the Spring Framework
- The need for Spring
- Implementing Dependency Injection with Spring
- The Spring Core
- Programming to Interfaces using Spring
- Incorporating Spring into Java EE applications
Chapter 2 Configuring Spring Beans
- Using Spring Annotations
- Using Java Configuration classes
- A brief introduction to XML configuration
Chapter 3 Spring and JDBC Database Connectivity
- The Spring JDBC Related Module
- The challenges of pure JDBC
- The Spring JDBC Template
- Writing an effective DAO using the Spring template class
- Spring configuration elements required for database access
Chapter 4 Introduction to the Java Persistence API
- History of JPA
- The need for Object Relational Mapping technology
- Hibernate and the JPA
- Mapping beans using JPA annotations
- Using the EntityManager to work with data
- Implementing relationships
Chapter 5 Spring and the JPA
- Integrating Spring with the JPA
- Injecting EntityManagers into DAOs
- Spring configuration for effective use of JPA with Spring
- Session management
- Working with Transactions
- Coordinating transactions with appropriate propagation
Chapter 6 Spring and NoSQL with MongoDB or Cassandra
- Integrating Spring with MongoDB and Cassandra
- The MongoTemplate from Spring
- Inserting and Updating and Querying NoSQL Databases
Chapter 7 Spring Data
- Building CRUD APIs
- Working with finder methods
- The Repository pattern
- Using Spring Data with a NoSQL Database
Chapter 8 Spring Validation
- Using Validator Annotations
- Enabling validation
- Displaying validation error messages
Chapter 9 Spring MVC for REST Services
- Overview of REST principles
- Creating REST controllers
- Using Paths and Parameters
- Processing JSON and XML Data
Chapter 10 Spring Security
- Authentication and Authorization
- The Spring Security Servlet Filter
- AOP based security for components
- Configuring form based authentication
- Realm configuration using Spring
Chapter 11 Spring Boot
- Creating entire applications using Boot
- Configuring a Repository using Boot
- Creating a REST API using Boot
- Maintaining Spring Boot Applications
Chapter 12 Aspect Oriented Programming with Spring
- The need for AOP
- Defining Aspects
- Defining Pointcuts
- Defining Advices
- Configuration options for AOP
- Weaving options when using AOP
Chapter 13 Unit Testing Spring Applications
- Using the Spring Context in Unit Tests
- Autowiring beans into tests
- Testing Web application controllers using Spring
- Mocking when using Spring
Chapter 14 JMS Messaging from Spring
- Introduction to JMS
- The JMSTemplate
- The convertAndSend vs send methods
- Integrating messaging with Spring Boot
Who should attend
Feedback
4.8 out of 5 average
"Our tailored course provided a well rounded introduction and also covered some intermediate level topics that we needed to know. Clive gave us some best practice ideas and tips to take away. Fast paced but the instructor never lost any of the delegates"
Brian Leek, Data Analyst, May 2022
“JBI did a great job of customizing their syllabus to suit our business needs and also bringing our team up to speed on the current best practices. Our teams varied widely in terms of experience and the Instructor handled this particularly well - very impressive”
Brian F, Team Lead, RBS, Data Analysis Course, 20 April 2022