Square CSS

Thursday, October 18, 2018

Spring Boot Starter

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.


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>


  Next >> SpringApplication
                      SpringApplication is a class which has a static parametrized method ...


No comments:

Post a Comment

Some Algorithms

Algorithm: Tower of Hanoi

Tower of Hanoi consists of three towers called as pegs with n number of rings. Rings are of different size.  Conditions to be fulfill...

Popular Posts