<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Self-Review on Java &amp; Software Architecture Knowledge Hub</title><link>https://samirsahoo.github.io/design-patterns-hub/tags/self-review/</link><description>Recent content in Self-Review on Java &amp; Software Architecture Knowledge Hub</description><generator>Hugo</generator><language>en-US</language><copyright>© 2026 Samir Kumar Sahoo (https://github.com/samirsahoo). All rights reserved.</copyright><atom:link href="https://samirsahoo.github.io/design-patterns-hub/tags/self-review/index.xml" rel="self" type="application/rss+xml"/><item><title>Quick Check: Java, Spring and Microservices</title><link>https://samirsahoo.github.io/design-patterns-hub/self-review/quick-check/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://samirsahoo.github.io/design-patterns-hub/self-review/quick-check/</guid><description>&lt;p&gt;Answers are short, just enough to check your understanding. Each section links to the full articles.&lt;/p&gt;&#10;&lt;aside class="callout callout--tip" role="note"&gt;&#10; &lt;p class="callout__title"&gt;&lt;span class="callout__label"&gt;Tip&lt;/span&gt;&lt;span class="callout__heading"&gt;How to use this page&lt;/span&gt;&lt;/p&gt;&#10; &lt;div class="callout__body"&gt;&lt;p&gt;Cover the answer, explain it in your own words, then compare. Mark anything you hesitated on and reread the linked article. Aim for 80% before moving on.&lt;/p&gt;&lt;/div&gt;&#10;&lt;/aside&gt;</description></item><item><title>Spring Boot Service Review Checklist</title><link>https://samirsahoo.github.io/design-patterns-hub/self-review/service-review-checklist/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://samirsahoo.github.io/design-patterns-hub/self-review/service-review-checklist/</guid><description>&lt;h2 id="how-to-use-it"&gt;How to use it&lt;a class="heading-anchor" href="#how-to-use-it" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;Review your own service before release, or a team&amp;rsquo;s service at a production-readiness review. Score each area 0–3 and note evidence (links to code, tests, dashboards).&lt;/p&gt;&#10;&lt;figure class="diagram" aria-label="Nine review areas"&gt;&lt;figcaption class="diagram__title"&gt;Nine review areas&lt;/figcaption&gt;&#10; &lt;pre class="mermaid"&gt;flowchart LR&#10; A1[&amp;#34;1 · Java &amp;amp; code&amp;#34;] --&amp;gt; A2[&amp;#34;2 · Spring config&amp;#34;] --&amp;gt; A3[&amp;#34;3 · API&amp;#34;] --&amp;gt; A4[&amp;#34;4 · Data &amp;amp; tx&amp;#34;] --&amp;gt; A5[&amp;#34;5 · Security&amp;#34;]&#10; A5 --&amp;gt; A6[&amp;#34;6 · Resilience&amp;#34;] --&amp;gt; A7[&amp;#34;7 · Observability&amp;#34;] --&amp;gt; A8[&amp;#34;8 · Testing&amp;#34;] --&amp;gt; A9[&amp;#34;9 · Operations&amp;#34;]&lt;/pre&gt;&#10;&lt;/figure&gt;&#10;&lt;h2 id="1-java-and-code"&gt;1. Java and code&lt;a class="heading-anchor" href="#1-java-and-code" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Immutable value objects and records; no shared mutable state in singletons?&lt;/li&gt;&#10;&lt;li&gt;Executors bounded and named; no blocking in the common ForkJoinPool; virtual threads considered for I/O?&lt;/li&gt;&#10;&lt;li&gt;Exceptions chained, translated at boundaries, never swallowed?&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Red flags:&lt;/strong&gt; raw types; &lt;code&gt;catch (Exception e) {}&lt;/code&gt;; &lt;code&gt;synchronized&lt;/code&gt; around blocking I/O on Java 21–23; unbounded caches.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="2-spring-configuration"&gt;2. Spring configuration&lt;a class="heading-anchor" href="#2-spring-configuration" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Constructor injection throughout; no circular dependencies?&lt;/li&gt;&#10;&lt;li&gt;&lt;code&gt;@ConfigurationProperties&lt;/code&gt; records with validation; no secrets in &lt;code&gt;application.yml&lt;/code&gt;?&lt;/li&gt;&#10;&lt;li&gt;Auto-configuration customised through properties or customisers rather than exclusions?&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Red flags:&lt;/strong&gt; field injection everywhere; &lt;code&gt;@EnableWebMvc&lt;/code&gt; in Boot; logic branching on profiles.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="3-api-design"&gt;3. API design&lt;a class="heading-anchor" href="#3-api-design" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Resource URIs, correct methods and status codes; 201 + &lt;code&gt;Location&lt;/code&gt; on create?&lt;/li&gt;&#10;&lt;li&gt;Validation at the edge; DTOs, not entities; pagination?&lt;/li&gt;&#10;&lt;li&gt;Errors as RFC 9457 Problem Details through &lt;code&gt;@RestControllerAdvice&lt;/code&gt;; no stack traces?&lt;/li&gt;&#10;&lt;li&gt;Idempotency keys for non-idempotent operations; versioning strategy?&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Red flags:&lt;/strong&gt; 200 with error bodies; returning JPA entities; retrying POSTs.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="4-persistence-and-transactions"&gt;4. Persistence and transactions&lt;a class="heading-anchor" href="#4-persistence-and-transactions" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;All associations LAZY; N+1 checked (query counts in tests); open-in-view disabled?&lt;/li&gt;&#10;&lt;li&gt;&lt;code&gt;@Transactional&lt;/code&gt; on public service methods; rollback rules understood; no remote calls inside transactions?&lt;/li&gt;&#10;&lt;li&gt;Locking strategy for contended data (&lt;code&gt;@Version&lt;/code&gt; or &lt;code&gt;FOR UPDATE&lt;/code&gt;)?&lt;/li&gt;&#10;&lt;li&gt;Flyway or Liquibase migrations with &lt;code&gt;ddl-auto=validate&lt;/code&gt;; expand–contract for breaking changes?&lt;/li&gt;&#10;&lt;li&gt;Caches with TTLs, evicted after commit?&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Red flags:&lt;/strong&gt; EAGER &lt;code&gt;@ManyToOne&lt;/code&gt;; &lt;code&gt;ddl-auto=update&lt;/code&gt;; &lt;code&gt;@Transactional&lt;/code&gt; on private methods.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="5-security"&gt;5. Security&lt;a class="heading-anchor" href="#5-security" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;A SecurityFilterChain per area; deny by default; CSRF correct for the client type?&lt;/li&gt;&#10;&lt;li&gt;JWT validation with issuer and &lt;strong&gt;audience&lt;/strong&gt;; scopes and roles mapped?&lt;/li&gt;&#10;&lt;li&gt;Object-level checks (ownership or tenant) on every resource access (&lt;code&gt;@PreAuthorize&lt;/code&gt; or bean checks)?&lt;/li&gt;&#10;&lt;li&gt;Actuator on a separate port, with sensitive endpoints protected?&lt;/li&gt;&#10;&lt;li&gt;Dependencies scanned; secrets from a vault or secret manager?&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Red flags:&lt;/strong&gt; role checks only (BOLA); &lt;code&gt;permitAll&lt;/code&gt; before specific rules; tokens in localStorage.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="6-resilience"&gt;6. Resilience&lt;a class="heading-anchor" href="#6-resilience" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Timeouts on every outbound call (connect and read)?&lt;/li&gt;&#10;&lt;li&gt;Retries only on idempotent calls, with backoff and jitter; not at every layer?&lt;/li&gt;&#10;&lt;li&gt;Circuit breakers and bulkheads per dependency; safe fallbacks?&lt;/li&gt;&#10;&lt;li&gt;Outbox + idempotent consumers + DLQs for messaging?&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Red flags:&lt;/strong&gt; no HTTP client timeouts; infinite retries; &amp;ldquo;pretend success&amp;rdquo; fallbacks for payments.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="7-observability"&gt;7. Observability&lt;a class="heading-anchor" href="#7-observability" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Micrometer metrics (RED) with percentile histograms; business metrics?&lt;/li&gt;&#10;&lt;li&gt;Traces exported via OTLP; context propagated over HTTP and messaging?&lt;/li&gt;&#10;&lt;li&gt;Structured logs with trace IDs; no PII in logs?&lt;/li&gt;&#10;&lt;li&gt;SLOs with burn-rate alerts; dashboards per service?&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Red flags:&lt;/strong&gt; high-cardinality tags; logs without correlation; alerts on every spike.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="8-testing"&gt;8. Testing&lt;a class="heading-anchor" href="#8-testing" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Fast unit tests for domain logic (real objects and fakes; mocks at boundaries)?&lt;/li&gt;&#10;&lt;li&gt;&lt;code&gt;@WebMvcTest&lt;/code&gt; for controllers (validation, errors, security)?&lt;/li&gt;&#10;&lt;li&gt;&lt;code&gt;@DataJpaTest&lt;/code&gt; + Testcontainers on the real database engine; migrations tested?&lt;/li&gt;&#10;&lt;li&gt;A few &lt;code&gt;@SpringBootTest&lt;/code&gt; end-to-end flows; contract tests with consumers?&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Red flags:&lt;/strong&gt; H2 instead of the real database; &lt;code&gt;@SpringBootTest&lt;/code&gt; everywhere; flaky time-dependent tests.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="9-operations"&gt;9. Operations&lt;a class="heading-anchor" href="#9-operations" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Liveness and readiness probes correct (dependencies only in readiness); graceful shutdown?&lt;/li&gt;&#10;&lt;li&gt;Container memory sized (&lt;code&gt;MaxRAMPercentage&lt;/code&gt;); GC logs available?&lt;/li&gt;&#10;&lt;li&gt;Configuration externalised; one artifact for every environment?&lt;/li&gt;&#10;&lt;li&gt;Runbooks, on-call ownership, dependency and version upgrade plan (Java 25 LTS, Boot 4.x)?&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Red flags:&lt;/strong&gt; heap equal to the container limit; database checks in liveness; unpatched framework versions.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="scoring-rubric"&gt;Scoring rubric&lt;a class="heading-anchor" href="#scoring-rubric" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;div class="table-wrap" tabindex="0" role="region" aria-label="Table"&gt;&#10;&lt;table&gt;&#10; &lt;thead&gt;&#10; &lt;tr&gt;&#10; &lt;th&gt;Score&lt;/th&gt;&#10; &lt;th&gt;Meaning&lt;/th&gt;&#10; &lt;/tr&gt;&#10; &lt;/thead&gt;&#10; &lt;tbody&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;0&lt;/td&gt;&#10; &lt;td&gt;Not considered&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;1&lt;/td&gt;&#10; &lt;td&gt;Considered, but not implemented&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;2&lt;/td&gt;&#10; &lt;td&gt;Implemented, but not verified&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;3&lt;/td&gt;&#10; &lt;td&gt;Implemented and verified (tests, dashboards, drills)&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;A service is &lt;strong&gt;ready for production&lt;/strong&gt; with no zeros in areas 4–7 and an average of at least 2.&lt;/p&gt;</description></item><item><title>Java &amp; Spring Quick Reference</title><link>https://samirsahoo.github.io/design-patterns-hub/self-review/quick-reference/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://samirsahoo.github.io/design-patterns-hub/self-review/quick-reference/</guid><description>&lt;h2 id="java-choices"&gt;Java choices&lt;a class="heading-anchor" href="#java-choices" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;div class="table-wrap" tabindex="0" role="region" aria-label="Table"&gt;&#10;&lt;table&gt;&#10; &lt;thead&gt;&#10; &lt;tr&gt;&#10; &lt;th&gt;Need&lt;/th&gt;&#10; &lt;th&gt;Use&lt;/th&gt;&#10; &lt;/tr&gt;&#10; &lt;/thead&gt;&#10; &lt;tbody&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;List&lt;/td&gt;&#10; &lt;td&gt;&lt;code&gt;ArrayList&lt;/code&gt;&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;Lookup&lt;/td&gt;&#10; &lt;td&gt;&lt;code&gt;HashMap&lt;/code&gt; / &lt;code&gt;HashSet&lt;/code&gt;&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;Sorted or range queries&lt;/td&gt;&#10; &lt;td&gt;&lt;code&gt;TreeMap&lt;/code&gt; / &lt;code&gt;TreeSet&lt;/code&gt;&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;Queue or stack&lt;/td&gt;&#10; &lt;td&gt;&lt;code&gt;ArrayDeque&lt;/code&gt;&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;Thread-safe map&lt;/td&gt;&#10; &lt;td&gt;&lt;code&gt;ConcurrentHashMap&lt;/code&gt; (&lt;code&gt;computeIfAbsent&lt;/code&gt;, &lt;code&gt;merge&lt;/code&gt;)&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;Producer–consumer&lt;/td&gt;&#10; &lt;td&gt;&lt;code&gt;BlockingQueue&lt;/code&gt;&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;Counter under contention&lt;/td&gt;&#10; &lt;td&gt;&lt;code&gt;LongAdder&lt;/code&gt;&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;Blocking I/O fan-out&lt;/td&gt;&#10; &lt;td&gt;Virtual threads (&lt;code&gt;newVirtualThreadPerTaskExecutor&lt;/code&gt;)&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;CPU-bound parallel work&lt;/td&gt;&#10; &lt;td&gt;A fixed pool ≈ cores, or &lt;code&gt;ForkJoinPool&lt;/code&gt;&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;Async composition&lt;/td&gt;&#10; &lt;td&gt;&lt;code&gt;CompletableFuture&lt;/code&gt; (always pass an executor)&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;Context passing&lt;/td&gt;&#10; &lt;td&gt;Scoped values (Java 25), else ThreadLocal&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;/div&gt;&#10;&lt;h2 id="modern-java-by-version"&gt;Modern Java by version&lt;a class="heading-anchor" href="#modern-java-by-version" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;div class="table-wrap" tabindex="0" role="region" aria-label="Table"&gt;&#10;&lt;table&gt;&#10; &lt;thead&gt;&#10; &lt;tr&gt;&#10; &lt;th&gt;Version&lt;/th&gt;&#10; &lt;th&gt;Highlights&lt;/th&gt;&#10; &lt;/tr&gt;&#10; &lt;/thead&gt;&#10; &lt;tbody&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;17 LTS&lt;/td&gt;&#10; &lt;td&gt;Sealed classes, records (16), pattern-matching &lt;code&gt;instanceof&lt;/code&gt; (16), text blocks (15)&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;21 LTS&lt;/td&gt;&#10; &lt;td&gt;Virtual threads, record patterns, pattern-matching &lt;code&gt;switch&lt;/code&gt;, sequenced collections, generational ZGC&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;22–24&lt;/td&gt;&#10; &lt;td&gt;Unnamed &lt;code&gt;_&lt;/code&gt;, FFM API, stream gatherers, no &lt;code&gt;synchronized&lt;/code&gt; pinning (24)&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;&lt;strong&gt;25 LTS&lt;/strong&gt;&lt;/td&gt;&#10; &lt;td&gt;Flexible constructor bodies, module imports, compact source files, scoped values, compact object headers&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;26&lt;/td&gt;&#10; &lt;td&gt;HTTP/3 client, warnings for reflective &lt;code&gt;final&lt;/code&gt; mutation&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;27 (Sept 2026)&lt;/td&gt;&#10; &lt;td&gt;G1 the default everywhere, post-quantum hybrid TLS key exchange; previews continue&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;/div&gt;&#10;&lt;h2 id="spring-annotations-by-purpose"&gt;Spring annotations by purpose&lt;a class="heading-anchor" href="#spring-annotations-by-purpose" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;div class="table-wrap" tabindex="0" role="region" aria-label="Table"&gt;&#10;&lt;table&gt;&#10; &lt;thead&gt;&#10; &lt;tr&gt;&#10; &lt;th&gt;Purpose&lt;/th&gt;&#10; &lt;th&gt;Annotations&lt;/th&gt;&#10; &lt;/tr&gt;&#10; &lt;/thead&gt;&#10; &lt;tbody&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;Beans&lt;/td&gt;&#10; &lt;td&gt;&lt;code&gt;@Component&lt;/code&gt;, &lt;code&gt;@Service&lt;/code&gt;, &lt;code&gt;@Repository&lt;/code&gt;, &lt;code&gt;@Configuration&lt;/code&gt;, &lt;code&gt;@Bean&lt;/code&gt;, &lt;code&gt;@Primary&lt;/code&gt;, &lt;code&gt;@Qualifier&lt;/code&gt;, &lt;code&gt;@Lazy&lt;/code&gt;, &lt;code&gt;@Scope&lt;/code&gt;, &lt;code&gt;@Profile&lt;/code&gt;&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;Lifecycle&lt;/td&gt;&#10; &lt;td&gt;&lt;code&gt;@PostConstruct&lt;/code&gt;, &lt;code&gt;@PreDestroy&lt;/code&gt;, &lt;code&gt;SmartLifecycle&lt;/code&gt;&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;Config&lt;/td&gt;&#10; &lt;td&gt;&lt;code&gt;@ConfigurationProperties&lt;/code&gt;, &lt;code&gt;@Value&lt;/code&gt;, &lt;code&gt;@ConfigurationPropertiesScan&lt;/code&gt;&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;Conditions&lt;/td&gt;&#10; &lt;td&gt;&lt;code&gt;@ConditionalOnClass&lt;/code&gt;, &lt;code&gt;@ConditionalOnMissingBean&lt;/code&gt;, &lt;code&gt;@ConditionalOnProperty&lt;/code&gt;, &lt;code&gt;@ConditionalOnWebApplication&lt;/code&gt;&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;Web&lt;/td&gt;&#10; &lt;td&gt;&lt;code&gt;@RestController&lt;/code&gt;, &lt;code&gt;@GetMapping&lt;/code&gt;…, &lt;code&gt;@PathVariable&lt;/code&gt;, &lt;code&gt;@RequestParam&lt;/code&gt;, &lt;code&gt;@RequestBody&lt;/code&gt;, &lt;code&gt;@Valid&lt;/code&gt;, &lt;code&gt;@RestControllerAdvice&lt;/code&gt;, &lt;code&gt;@ExceptionHandler&lt;/code&gt;&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;Data&lt;/td&gt;&#10; &lt;td&gt;&lt;code&gt;@Entity&lt;/code&gt;, &lt;code&gt;@Id&lt;/code&gt;, &lt;code&gt;@ManyToOne(fetch = LAZY)&lt;/code&gt;, &lt;code&gt;@Query&lt;/code&gt;, &lt;code&gt;@EntityGraph&lt;/code&gt;, &lt;code&gt;@Transactional&lt;/code&gt;, &lt;code&gt;@Version&lt;/code&gt;, &lt;code&gt;@Lock&lt;/code&gt;&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;Cache&lt;/td&gt;&#10; &lt;td&gt;&lt;code&gt;@EnableCaching&lt;/code&gt;, &lt;code&gt;@Cacheable&lt;/code&gt;, &lt;code&gt;@CachePut&lt;/code&gt;, &lt;code&gt;@CacheEvict&lt;/code&gt;&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;Events and async&lt;/td&gt;&#10; &lt;td&gt;&lt;code&gt;@EventListener&lt;/code&gt;, &lt;code&gt;@TransactionalEventListener&lt;/code&gt;, &lt;code&gt;@Async&lt;/code&gt;, &lt;code&gt;@Scheduled&lt;/code&gt;&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;Security&lt;/td&gt;&#10; &lt;td&gt;&lt;code&gt;@EnableWebSecurity&lt;/code&gt;, &lt;code&gt;@EnableMethodSecurity&lt;/code&gt;, &lt;code&gt;@PreAuthorize&lt;/code&gt;, &lt;code&gt;@PostAuthorize&lt;/code&gt;&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;Resilience&lt;/td&gt;&#10; &lt;td&gt;Spring 7: &lt;code&gt;@Retryable&lt;/code&gt;, &lt;code&gt;@ConcurrencyLimit&lt;/code&gt;; Resilience4j: &lt;code&gt;@CircuitBreaker&lt;/code&gt;, &lt;code&gt;@Retry&lt;/code&gt;, &lt;code&gt;@Bulkhead&lt;/code&gt;, &lt;code&gt;@RateLimiter&lt;/code&gt;&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;Observability&lt;/td&gt;&#10; &lt;td&gt;&lt;code&gt;@Observed&lt;/code&gt;, &lt;code&gt;@Timed&lt;/code&gt;&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;Testing&lt;/td&gt;&#10; &lt;td&gt;&lt;code&gt;@SpringBootTest&lt;/code&gt;, &lt;code&gt;@WebMvcTest&lt;/code&gt;, &lt;code&gt;@DataJpaTest&lt;/code&gt;, &lt;code&gt;@MockitoBean&lt;/code&gt;, &lt;code&gt;@ServiceConnection&lt;/code&gt;, &lt;code&gt;@WithMockUser&lt;/code&gt;&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;/div&gt;&#10;&lt;h2 id="transactions"&gt;Transactions&lt;a class="heading-anchor" href="#transactions" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;div class="table-wrap" tabindex="0" role="region" aria-label="Table"&gt;&#10;&lt;table&gt;&#10; &lt;thead&gt;&#10; &lt;tr&gt;&#10; &lt;th&gt;Propagation&lt;/th&gt;&#10; &lt;th&gt;Behaviour&lt;/th&gt;&#10; &lt;/tr&gt;&#10; &lt;/thead&gt;&#10; &lt;tbody&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;REQUIRED (default)&lt;/td&gt;&#10; &lt;td&gt;Join or create&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;REQUIRES_NEW&lt;/td&gt;&#10; &lt;td&gt;Suspend, create a new one (second connection)&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;NESTED&lt;/td&gt;&#10; &lt;td&gt;Savepoint&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;SUPPORTS / NOT_SUPPORTED / NEVER / MANDATORY&lt;/td&gt;&#10; &lt;td&gt;Join-if-present / suspend / fail-if-present / fail-if-absent&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;Rollback on &lt;code&gt;RuntimeException&lt;/code&gt; and &lt;code&gt;Error&lt;/code&gt; by default. Proxies apply only to public methods called from outside the bean. Default isolation: READ COMMITTED (PostgreSQL, Oracle, SQL Server), REPEATABLE READ (MySQL).&lt;/p&gt;</description></item></channel></rss>