Spring boot - dependencies Flashcards

(6 cards)

1
Q

Spring Web

A
  • Dispatcher Servlet (Front Controller)
  • @RestController and @RequestMapping to handle HTTP request and routing
  • Embedded Tomcat server
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Lombok

A
  • provides @Getter @Setter @Data @Builder @NoArgsConstructor … (reduce boilerplate code)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

MySQL Driver

A

essential for app( which use MySQL as a database ) to connect with MySQL database

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Spring Data JPA

A

-provides JpaRepository interface which provides CRUD methods

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Spring Security

A

-Add authentication and authorization to app ( by adding login/logout + user roles + JWT token + annotations like @PreAuthorize …)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Validation

A

Ensures data correctness before processing ( input validation with @NotNull @Email @Size …)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly