0% found this document useful (0 votes)
3 views2 pages

Unit 5

The document discusses the Spring Framework and Spring Boot, highlighting their importance in building large and complex Java applications. It outlines advantages such as predefined templates, loose coupling through dependency injection, and ease of testing. Key features include Dependency Injection, Inversion of Control, Aspect Oriented Programming, and Spring Security.

Uploaded by

andhadhun0786
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views2 pages

Unit 5

The document discusses the Spring Framework and Spring Boot, highlighting their importance in building large and complex Java applications. It outlines advantages such as predefined templates, loose coupling through dependency injection, and ease of testing. Key features include Dependency Injection, Inversion of Control, Aspect Oriented Programming, and Spring Security.

Uploaded by

andhadhun0786
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Unit 5 - Spring Framework and Spring Boot .

Spring Framework;

• It is a popular tool in java for building applications , especially those which are
large and complex.
• It provides a set of features and tools that make it easier to develop,manage and
maintain java applications.
• It makes the easy development of java app.
• It is helpful for beginners and experienced persons.

Advantages

1) Predefined templates ; spring framework provides templstes for JDBC


,Hibernate etc. so there is no need to write too much code.
2) Loose coupling : Spring applications are loosely coupled bcause of
dependency injection.
3) Easy to test : dependency injection makes easier to test the application.
4) LightWeight : spring framework is lightweight because of its POJO Appl.
5) Fast Development : it provides set of features and tools to develop java app.
Easily.

Features of Spring Framework

Dependency Injection : is a design pattern that removes the dependency from the
programming code so that it can be easy to manage and test appl.

DI makes our programming code loosely coupled

Inversion of Control (IoC) : is a principle in software eng. Which transfers the


control of objects to a container or framework. IoC is the core of spring framew. It
creates the objects ,configure and assemble their dependencies and manage their
entire life cycle.

We most often use it in context of OOPs.


Aspect Oriented Progrmming (AOP) : It can be defined as the breaking of code into
different modules, also known as modularisation, where the aspect is the key unit of
modularity.

Allows you to separate cross-cutting concerns (like logging, security, and transactions)
from the business logic.

Spring Security : is a highly flexible and customizable security framework.

Spring Test framework : spring provides a robust test frmw. Which supports unit testing
,integration testing and testing of web appl.

You might also like