Skip to content

Mindula-Dilthushan/Spring-Demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring-Demo-Tutorial

Spring context and lifecycle callbacks

image

Singleton

image

Prototype

  • SpringBean 1, SpringBean 2, SpringBean 3 (@Component) comment and DBConnection class (@Base) comment. Only SpringBean 4

image

Spring Dependency

Loss Couple

image

Property injection, Constructor injection, Setter Method Injection, Interface through injection

image

Full Mode vs Light Mode

Module 03

image

Configuration

Module 04

image

Runtime Value Injection

Module 05

image

Spring WEB MVC

Spring Web MVC Works

mindula

  • Model - A model contains the data of the application. A data can be a single object or a collection of objects.

  • Controller - A controller contains the business logic of an application. Here, the @Controller annotation is used to mark the class as the controller.

  • View - A view represents the provided information in a particular format. Generally, JSP+JSTL is used to create a view page. Although spring also supports other view technologies such as Apache Velocity, Thymeleaf and FreeMarker.

  • Front Controller - In Spring Web MVC, the DispatcherServlet class works as the front controller. It is responsible to manage the flow of the Spring MVC application.

Spring Data JPA

  • Spring Data JPA, part of the larger Spring Data family, makes it easy to easily implement JPA based repositories. This module deals with enhanced support for JPA based data access layers. It makes it easier to build Spring-powered applications that use data access technologies.

About

This is a first Spring Theory Project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published