This course provided by NodeLogix introduces the Spring Framework, the leading full-stack framework for Java EE applications. Topics covered include the Spring container, dependency injection, data validation, aspect-oriented programming, the JDBC Template, and the Hibernate Template. A Web application is also presented to illustrate the use of the Spring Web MVC framework.
Upon completion of this course, students will be able to:
- Describe the seven component modules of the Spring Framework.
- Understand the basic philosophies of Spring.
- Explain the purpose and benefits of dependency injection.
- Configure beans in a Spring configuration file.
- Use setter and constructor injection with Spring beans.
- Create property files for error messages and to support internationalization.
- Write validators and property editors for user-defined data .
- Understand basic concepts of aspect-oriented programming.
- Use the JDBC template to simplify database access.
- Use the Hibernate template to integrate Hibernate and Spring.
- Create Web applications using the Model-View-Controller architecture.
- Write forms and controllers for Spring Web applications.
Chapter 1: Introduction to spring
Chapter 2: A First Look at spring Chapter
Chapter 3: Beans and Containers
- Spring Containers
- Spring Configuration File
- Spring Beans
- Application Context
Chapter 4: Aspect-Oriented Programming
- Aspect-Oriented Programming
- AOP Concepts
- AOP Proxies
- The AOP Alliance
- Types of Advice
- AOP Example
Chapter 5: Using JDBC with spring
- A Simpler Approach
- The JDBC Template Class
- Exception Translation
- Updating with the JDBC Template
- Queries using the JDBC Template
- Mapping Results to Java Objects
Chapter 6: Using Hibernate with spring
- What is Hibernate?
- Hibernate Sessions
- The Hibernate Template
- Sample Class and Mapping File
- Creating and Saving a New Entity
- Locating an Existing Entity
- Updating an Existing Entity
- Hibernate Query Language
- Executing Queries
Chapter 7: Spring Web MVC – Part 1
- Spring Web MVC
- The Dispatcher Servlet
- Writing a Controller
- A Simple View Page
- Configuring the Controller
- Adding a View Resolver
- Adding a Message Bundle
- Adding Business Classes
- Adding Test Data
- Accessing a Database
- Adding a Form
- Updating the Database
- Integrating Hibernate
Chapter 8: Spring Web Services
- Building SOAP based web services
- Building REST based web services.
Chapter 9: Live Project execution
- Working on sample prototype project Starts from requirement gathering & document
- System Design
- Technical layers
- Spring MVC for controller layer and JSP, HTML & JQuery for view layer
- Spring core services layer
- Spring JDBC/Hibernate for persistence layer
- MySQL or any open source for data layer
- Development using learnt spring modules