1/45
Vocabulary practice flashcards covering key topics, annotations, interfaces, and architecture principles for the Spring Certification Exam Reviewer.
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.
Spring Boot Fat JAR
An executable archive that contains compiled application classes along with all the dependencies required for the code to run.
@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.
@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.
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.
@Qualifier
An annotation used alongside @Autowired on fields, setter methods, or parameters to resolve ambiguity when multiple beans match the required dependency type.
spring-boot-devtools
A module dependency that provides development-time features, including the automatic restart of the application whenever code changes are detected.
Singleton Scope
The default bean scope in Spring, where the ApplicationContext creates and maintains exactly one shared instance of the bean definition.
@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.
@Profile
An annotation applied to Java configuration classes or @Bean methods to restrict their registration to specific active bean definition profiles.
@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.
@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.
Actuator Meter Primitives
The core measurement types provided by Micrometer in Spring Boot 2.x Actuator, which include Counter, Gauge, Timer, and DistributionSummary.
Actuator Timer
A metric primitive that measures both the total count of timed events and the total duration of all events timed.
@SpringBootTest
An annotation used for integration testing that builds a full ApplicationContext, expecting by default a single class annotated with @SpringBootConfiguration.
UserDetailsService
A core Spring Security interface implemented to retrieve user details from custom storage, relational databases, LDAP, or in-memory stores.
META-INF/spring.factories
The properties file location where candidate auto-configuration classes are registered and processed by Spring Boot.
@ResponseStatus
An annotation placed on controller handler methods or exception classes to specify an HTTP status code, such as HttpStatus.NO_CONTENT (204).
@AfterReturning
An AspectJ advice type executed only when an intercepted method completes and returns normally without throwing an exception.
Spring Data
An umbrella project that provides consistent data access abstractions for diverse persistence stores (e.g., MongoDB, Neo4j, Redis) and reduces boilerplate code.
@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.
Declarative Transaction Default Rollback
The default rollback rule in Spring transaction management that triggers a rollback when any uncaught unchecked (runtime) exception is thrown.
@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.
Propagation.REQUIRES_NEW
A transaction propagation setting that always starts a new transaction, temporarily suspending any existing active transaction.
@SpringBootApplication
A composed meta-annotation that includes @Configuration, @ComponentScan, and @EnableAutoConfiguration, initiating component scanning from its package.
ApplicationContext
The central Spring IoC container interface that manages, instantiates, and configures beans across standalone, web, and testing environments.
Pointcut
An AOP predicate expression that matches and selects one or more join points, supporting logical operators (&&, ||, !) and annotation-based matching.
JdbcTemplate
A central Spring JDBC class that simplifies database operations by executing queries and mapping results into Maps, primitive/simple types, or custom objects.
@PreAuthorize
A method-level security annotation that enforces authorization rules before method execution based on user identity or assigned roles.
@PropertySource
An annotation used on Java configuration classes to contribute external name-value pairs from a property file to the Spring Environment.
RowMapper
A callback interface used by JdbcTemplate to map each individual row of a JDBC ResultSet to a corresponding domain object.
spring-boot-starter-web
A starter dependency for building web applications and RESTful services using Spring MVC, configuring an embedded servlet container by default.
@EnableTransactionManagement
A Java configuration annotation that activates Spring's annotation-driven declarative transaction capabilities via proxies.
@ActiveProfiles
A class-level test annotation used to declare which bean definition profiles should be active when constructing the ApplicationContext for an integration test.
BeanPostProcessor
A container extension point whose callback methods are executed during the initialization phase of a bean's lifecycle to modify new bean instances.
CrudRepository
A core Spring Data interface for generic CRUD operations whose implementation is dynamically generated at runtime by Spring Data JPA.
Actuator Info Endpoint
A Spring Boot Actuator endpoint (/actuator/info) used to expose arbitrary application, build, or source control metadata.
@TestPropertySource
A test annotation used to specify inlined properties or property files to override properties loaded from standard application configurations.
Actuator Health Statuses
The built-in health indicators represented in decreasing order of severity: DOWN, OUT OF SERVICE, UNKNOWN, and UP.
@MockBean
An annotation used within Spring Boot tests to create and inject Mockito mock instances directly into the ApplicationContext.
spring-boot-starter-test
A starter dependency that imports primary testing libraries including JUnit, Hamcrest, and spring-test.
@ConfigurationProperties
An annotation that enables type-safe, relaxed binding of external configuration properties into Java beans, without supporting SpEL expressions.
DelegatingPasswordEncoder Format
A password storage format structured as {id}encodedPassword, where the {id} prefix specifies which PasswordEncoder should be used.
@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.
BeanFactoryPostProcessor
A container extension point, implemented by PropertySourcesPlaceholderConfigurer, that permits reading and modifying bean definitions before any beans are instantiated.
@DataJpaTest
A test slice annotation used to test JPA applications that focuses on JPA components and auto-configures a TestEntityManager bean.