Spring Certification Exam Reviewer

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/45

flashcard set

Earn XP

Description and Tags

Vocabulary practice flashcards covering key topics, annotations, interfaces, and architecture principles for the Spring Certification Exam Reviewer.

46 Terms

1
New cards

RestTemplate

A Spring class that provides convenience methods for client-side HTTP access, automatically supports sending and receiving Java objects, and handles HTTP data defined using RequestEntity and ResponseEntity.

2
New cards

Spring Boot Fat JAR

An executable archive that contains compiled application classes along with all the dependencies required for the code to run.

3
New cards

@Controller

A Spring MVC stereotype annotation similar to @Component that marks classes eligible for handling web requests and enables them to be detected by component scanning.

4
New cards

@ComponentScan

An annotation added to Java configuration that specifies the base package or packages to scan for classes annotated with @Component to be registered as Spring beans.

5
New cards

Constructor Injection

A dependency injection approach preferred over field injection for unit testing, which does not require an @Autowired annotation if the class defines only one constructor.

6
New cards

@Qualifier

An annotation used alongside @Autowired on fields, setter methods, or parameters to resolve ambiguity when multiple beans match the required dependency type.

7
New cards

spring-boot-devtools

A module dependency that provides development-time features, including the automatic restart of the application whenever code changes are detected.

8
New cards

Singleton Scope

The default bean scope in Spring, where the ApplicationContext creates and maintains exactly one shared instance of the bean definition.

9
New cards

@PreDestroy

An annotation used to mark a method as a lifecycle callback to be executed before a bean is removed and destroyed by the Spring container.

10
New cards

@Profile

An annotation applied to Java configuration classes or @Bean methods to restrict their registration to specific active bean definition profiles.

11
New cards

@WebMvcTest

A Spring Boot test slice annotation that focuses strictly on Spring MVC components, auto-configures MockMvc, and is commonly used with @MockBean to mock dependent services.

12
New cards

@Commit

A test annotation (equivalent to @Rollback(false)) indicating that the transaction managed during a transactional test method should be committed after the test method completes.

13
New cards

Actuator Meter Primitives

The core measurement types provided by Micrometer in Spring Boot 2.x Actuator, which include Counter, Gauge, Timer, and DistributionSummary.

14
New cards

Actuator Timer

A metric primitive that measures both the total count of timed events and the total duration of all events timed.

15
New cards

@SpringBootTest

An annotation used for integration testing that builds a full ApplicationContext, expecting by default a single class annotated with @SpringBootConfiguration.

16
New cards

UserDetailsService

A core Spring Security interface implemented to retrieve user details from custom storage, relational databases, LDAP, or in-memory stores.

17
New cards

META-INF/spring.factories

The properties file location where candidate auto-configuration classes are registered and processed by Spring Boot.

18
New cards

@ResponseStatus

An annotation placed on controller handler methods or exception classes to specify an HTTP status code, such as HttpStatus.NO_CONTENT (204).

19
New cards

@AfterReturning

An AspectJ advice type executed only when an intercepted method completes and returns normally without throwing an exception.

20
New cards

Spring Data

An umbrella project that provides consistent data access abstractions for diverse persistence stores (e.g., MongoDB, Neo4j, Redis) and reduces boilerplate code.

21
New cards

@BeforeAll

A JUnit test lifecycle annotation indicating that the annotated method must run only once before any individual test methods in the class are executed.

22
New cards

Declarative Transaction Default Rollback

The default rollback rule in Spring transaction management that triggers a rollback when any uncaught unchecked (runtime) exception is thrown.

23
New cards

@DirtiesContext

A test annotation that indicates the test modifies the Spring context, causing the cached ApplicationContext to be closed and recreated before or after the test executes.

24
New cards

Propagation.REQUIRES_NEW

A transaction propagation setting that always starts a new transaction, temporarily suspending any existing active transaction.

25
New cards

@SpringBootApplication

A composed meta-annotation that includes @Configuration, @ComponentScan, and @EnableAutoConfiguration, initiating component scanning from its package.

26
New cards

ApplicationContext

The central Spring IoC container interface that manages, instantiates, and configures beans across standalone, web, and testing environments.

27
New cards

Pointcut

An AOP predicate expression that matches and selects one or more join points, supporting logical operators (&&, ||, !) and annotation-based matching.

28
New cards

JdbcTemplate

A central Spring JDBC class that simplifies database operations by executing queries and mapping results into Maps, primitive/simple types, or custom objects.

29
New cards

@PreAuthorize

A method-level security annotation that enforces authorization rules before method execution based on user identity or assigned roles.

30
New cards

@PropertySource

An annotation used on Java configuration classes to contribute external name-value pairs from a property file to the Spring Environment.

31
New cards

RowMapper

A callback interface used by JdbcTemplate to map each individual row of a JDBC ResultSet to a corresponding domain object.

32
New cards

spring-boot-starter-web

A starter dependency for building web applications and RESTful services using Spring MVC, configuring an embedded servlet container by default.

33
New cards

@EnableTransactionManagement

A Java configuration annotation that activates Spring's annotation-driven declarative transaction capabilities via proxies.

34
New cards

@ActiveProfiles

A class-level test annotation used to declare which bean definition profiles should be active when constructing the ApplicationContext for an integration test.

35
New cards

BeanPostProcessor

A container extension point whose callback methods are executed during the initialization phase of a bean's lifecycle to modify new bean instances.

36
New cards

CrudRepository

A core Spring Data interface for generic CRUD operations whose implementation is dynamically generated at runtime by Spring Data JPA.

37
New cards

Actuator Info Endpoint

A Spring Boot Actuator endpoint (/actuator/info) used to expose arbitrary application, build, or source control metadata.

38
New cards

@TestPropertySource

A test annotation used to specify inlined properties or property files to override properties loaded from standard application configurations.

39
New cards

Actuator Health Statuses

The built-in health indicators represented in decreasing order of severity: DOWN, OUT OF SERVICE, UNKNOWN, and UP.

40
New cards

@MockBean

An annotation used within Spring Boot tests to create and inject Mockito mock instances directly into the ApplicationContext.

41
New cards

spring-boot-starter-test

A starter dependency that imports primary testing libraries including JUnit, Hamcrest, and spring-test.

42
New cards

@ConfigurationProperties

An annotation that enables type-safe, relaxed binding of external configuration properties into Java beans, without supporting SpEL expressions.

43
New cards

DelegatingPasswordEncoder Format

A password storage format structured as {id}encodedPassword, where the {id} prefix specifies which PasswordEncoder should be used.

44
New cards

@Around

An AOP advice type that surrounds a join point, with the ability to stop exception propagation up the call stack and return an alternative fallback value.

45
New cards

BeanFactoryPostProcessor

A container extension point, implemented by PropertySourcesPlaceholderConfigurer, that permits reading and modifying bean definitions before any beans are instantiated.

46
New cards

@DataJpaTest

A test slice annotation used to test JPA applications that focuses on JPA components and auto-configures a TestEntityManager bean.