Spring Boot

Spring Boot Starters

Starters (web, data-jpa, security, test), transitive dependencies, BOM, custom starters

18 питань зі співбесід·
Junior
1

What is a Spring Boot Starter?

Відповідь

A starter is a dependency descriptor that automatically bundles all necessary libraries for a specific use case, with compatible versions tested together. This eliminates the need to manually search for each dependency and automatically manages transitive dependencies. For example, spring-boot-starter-web includes Spring MVC, embedded Tomcat, Jackson for JSON, and all their compatible dependencies.

2

What is the naming convention for official Spring Boot starters?

Відповідь

All official Spring Boot starters follow the naming convention spring-boot-starter-*, where the asterisk represents the type of application or functionality. This convention allows immediately distinguishing official starters maintained by the Spring Boot team from community-created third-party starters which use the reverse pattern *-spring-boot-starter. This distinction is important for trust and compatibility. Official examples: spring-boot-starter-web, spring-boot-starter-data-jpa, spring-boot-starter-security.

3

What is the role of spring-boot-starter-parent in a project?

Відповідь

The spring-boot-starter-parent is a Maven parent POM that provides centralized version management for all Spring Boot dependencies and compatible third-party libraries. It also defines default Maven configurations such as UTF-8 encoding, Java version, and build plugins. Thanks to it, there is no need to specify versions for managed dependencies, which ensures compatibility and simplifies maintenance.

4

What are transitive dependencies in a starter?

5

Which starter to use for creating a REST web application with Spring Boot?

+15 питань зі співбесід

Інші теми співбесід Spring Boot

Spring Core - IoC & DI

Junior
22 запитань

Spring Boot Auto-Configuration

Junior
20 запитань

Application Properties & YAML

Junior
16 запитань

Logging with SLF4J & Logback

Junior
20 запитань

Spring Boot DevTools

Junior
15 запитань

Spring MVC Basics

Mid-Level
20 запитань

Spring REST Controllers

Mid-Level
20 запитань

Request & Response Handling

Mid-Level
20 запитань

Exception Handling

Mid-Level
25 запитань

Bean Validation

Mid-Level
25 запитань

Spring Data JPA Basics

Mid-Level
25 запитань

JPA Entities & Relationships

Mid-Level
30 запитань

JPA Queries

Mid-Level
30 запитань

Spring Data Repositories

Mid-Level
25 запитань

Spring Security Basics

Mid-Level
25 запитань

Spring Boot Actuator

Mid-Level
20 запитань

Unit Testing with JUnit & Mockito

Mid-Level
30 запитань

Spring Boot Testing

Mid-Level
30 запитань

Profiles & Environment

Mid-Level
20 запитань

RestTemplate & WebClient

Mid-Level
24 запитань

Async & Scheduling

Mid-Level
25 запитань

Caching with Spring

Mid-Level
25 запитань

Spring WebFlux (Reactive)

Mid-Level
25 запитань

Spring Transactions

Senior
30 запитань

Advanced Authentication & Authorization

Senior
30 запитань

JWT & Stateless Security

Senior
20 запитань

OAuth2 & Authorization Server

Senior
20 запитань

Spring Boot & Docker

Senior
19 запитань

Microservices with Spring

Senior
25 запитань

Spring Cloud Config

Senior
19 запитань

Performance Optimization

Senior
30 запитань

GraalVM Native Images

Senior
20 запитань

Опануй Spring Boot для наступної співбесіди

Отримай доступ до всіх питань, flashcards, технічних тестів, вправ code review та симуляторів співбесід.

Почни безкоштовно