In big projects, it becomes difficult to handle dependencies. Spring boot provides a set of dependencies which can be easily implemented.
For providing dependency a developer can provide the artifactId as spring-boot-starter-* where "*" is the application type in lowercase.
For example, if JPA application needs to be developed just provide spring-boot-starter-jpa in the artifactId.
For providing dependency a developer can provide the artifactId as spring-boot-starter-* where "*" is the application type in lowercase.
For example, if JPA application needs to be developed just provide spring-boot-starter-jpa in the artifactId.
Let's have a look over some examples :
Security implementation using Spring Boot Starters -
<dependency> <gropuId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security</artifactId> </dependency> |
Thymleaf implementation using Spring Boot Starters -
<dependency> <gropuId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-thymleaf</artifactId> </dependency> |
No comments:
Post a Comment