Indian Engineering Education to be FREE from March 15, 2019
Includes:
ABOUT THE COURSE
Spring is an enterprise Java framework.It was designed to simplify Java EE development and make developers more productive.Spring makes use of Inversion of Control and Dependency Injection to promote good software coding practices and speed up development time.In this course, we will gain a deep understanding of Spring framework.This course covers Spring Core, Dependency Injection, Autowiring, Jdbc template, Annotations, Spring MVC, Dispatcher Servlet, Form Handling and Form Validation.COURSE OBJECTIVES
Upon successful completion of the course, the learner will be able to :An IOC container is a common characteristic of frameworks that implement IoC. The Spring container is responsible for instantiating, configuring and assembling objects known as beans, as well as managing their lifecycle. In this module, we are going to understand more about Spring framework and Inversion of Control.
As similar to Java, Spring Collection types are also used to pass values with any one of the collection types. Spring offers four types of collection configuration elements which are List, Set, Map, and Properties. In this module we would understand how to inject different types of Java collections using the Spring framework and also how to select or order them inside of the collection.In Spring framework, beans can be wired automatically with auto-wiring feature. Beans can be defined to be deployed in one of available number of scopes. The Spring Framework supports exactly five scopes.In this module we would also understand about auto wiring and bean scope in spring framework.
Implementing JDBC in the Spring Framework takes care of working with many low-level operations (opening/closing connections, executing SQL queries, etc.). JDBC in Spring has several classes (several approaches) for interacting with the database. The most common of these is using the JdbcTemplate class. This is the base class that manages the processing of all events and database connections. In this module we would learn how to implement JDBC with JdbcTemplate class in Spring framework.
The Spring MVC framework provides Model-View-Controller (MVC) architecture and ready components that can be used to develop flexible and loosely coupled web applications. The MVC pattern results in separating the different aspects of the application (input logic, business logic, and UI logic).In the Controller design pattern, a single controller is responsible for directing incoming HttpRequests to all of an application’s other controllers and handlers. Spring’s DispatcherServlet implements this pattern and is, therefore, responsible for correctly coordinating the HttpRequests to their right handlers.In this module, we would understand how to setup and implement a Spring MVC project and we would examine the Spring DispatcherServlet's request processing workflow and how to implement several of the interfaces that participate in this workflow.
Spring Security's web infrastructure is based entirely on standard servlet filters. Spring Security maintains a filter chain internally where each of the filters has a particular responsibility and filters are added or removed from the configuration depending on which services are required.Spring MVC provides an annotation-based programming model where @Controller and @RestController components use annotations to express request mappings, request input, exception handling, and more. Annotated controllers have flexible method signatures and do not have to extend base classes nor implement specific interfaces. In this module, we would understand about filters in Spring, how to use annotated controllers, and handle a form in Spring.
When we accept user inputs in any web application, it become necessary to validate them. We can validate the user input at client side using JavaScript but it’s also necessary to validate them at server side. Spring provides @Validator annotation and BindingResult class through which we can get the errors raised by Validator implementation in the controller request handler method. We can create our custom validator implementations by two ways. In this module, we would understand how to validate a form and how to create own custom validator class by implementing Validator interface.
You can opt for the following courses once you complete your ongoing course
E-Box is a Technology Enabled Active Learning and
Assessment platform for technology and engineering
domains apart from the basic LMS components like
quizzes, assignments, lesson components.