Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Spring Boot Revision — Concept && Coding (Shrayansh Jain)

Structured study notes for every video in Shrayansh's Spring Boot from Basics to Advanced playlist. Each topic has its own NOTES.md with concepts, code examples, configuration, and gotchas.

How to use

# Read the notes for a topic
cat src/main/java/revision/_06_bean_lifecycle/NOTES.md

# Build / run (requires Maven + internet for the first build)
./mvnw spring-boot:run            # if mvnw is added
mvn spring-boot:run               # or system Maven

The pom.xml pulls Spring Boot 3.3 + starters (web, data-jpa, security, aop, actuator, hateoas) + H2 + JJWT — so any code snippet from these notes can be copied into your own @SpringBootApplication class to experiment.

Topic index

Part 1 — Foundations

  1. Intro: Spring Boot vs Spring MVC vs Servlets
  2. Project setup & Layered architecture
  3. Maven & lifecycle
  4. Controller-layer annotations
  5. Beans, lifecycle & IoC
  6. Dependency Injection
  7. Bean scopes
  8. Dynamically initialised beans (@Value)
  9. @ConditionalOnProperty
  10. @Profile

Part 2 — Cross-cutting concerns

  1. AOP (Aspect-Oriented Programming)
  2. @Transactional Part 1
  3. @Transactional Part 2 — Declarative vs Programmatic, Propagation
  4. @Transactional Part 3 — Isolation levels
  5. @Async Part 1 — ThreadPoolExecutor
  6. @Async Part 2 — Interview gotchas

Part 3 — Web layer

  1. Custom Interceptors & Custom Annotations
  2. Filters vs Interceptors
  3. HATEOAS
  4. ResponseEntity & HTTP response codes
  5. Exception handling (@ControllerAdvice, @ExceptionHandler)

Part 4 — JPA (10 parts)

  1. JPA Part 1 — JDBC Template
  2. JPA Part 2 — Setup, architecture, entity lifecycle
  3. JPA Part 3 — L1 caching
  4. JPA Part 4 — L2 caching
  5. JPA Part 5 — Mapping DTO ↔ Table (@Table, @Column, @Id, @Embeddable)
  6. JPA Part 6 — @OneToOne uni & bidirectional
  7. JPA Part 7 — @OneToMany, @ManyToOne, @ManyToMany
  8. JPA Part 8 — JPQL, Derived queries, N+1, joins, pagination
  9. JPA Part 9 — Native query & Criteria API
  10. JPA Part 10 — Specification API

Part 5 — Security

  1. Web attacks: CSRF / XSS / CORS / SQL Injection
  2. Security Part 1 — Architecture & setup
  3. Security Part 2 — Multiple users (in-memory, DB)
  4. Security Part 3 — Form-based stateful auth
  5. Security Part 4 — Basic auth (stateless)
  6. JWT explained
  7. Security Part 6 — JWT implementation
  8. OAuth 2.0 explained
  9. Security Part 8 — OAuth implementation
  10. Security Part 9 — Method security (@PreAuthorize, @PostAuthorize)

Part 6 — Operations

  1. Spring Boot Actuator
  2. @ConfigurationProperties

About

Structured Spring Boot revision notes for 43 topics, organized by Shrayansh Jain's Concept && Coding YouTube playlist.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages