- Home
- Java Ecosystem
- Book 4
Book 4: Spring & Spring Boot
How Spring really works: IoC and DI, proxies and AOP, Spring Boot, MVC and REST, Spring Data, Spring Security and testing.
The library is released one complete volume at a time, in order, starting with Book 1. The current release is Book 1, Volume II (Generics, Collections & Type System). The other volumes show the first topics published earlier; each fills in when its turn in the release order comes.
Spring Core, IoC & Dependency Injection
1.1 Why Spring ExistsThe enterprise-Java problems Spring was created to solve — and the philosophy that still shapes Spring Framework 71.2 Spring Framework ArchitectureThe functional building blocks of Spring — from the core container up to web, data, security and integration1.3 Spring ModulesHow the Spring Framework is packaged into modules — core container, data access, web, testing, integration, messaging and security1.4 Spring EcosystemThe portfolio of Spring projects around the Framework — what each one solves, how they fit together, and how versions are alignedVolume page →Spring AOP, Proxies, Events & Transactions
1.1 Cross-Cutting ConcernsLogging, security, transactions, auditing, metrics and caching — behaviour that belongs to every module and none1.2 Why Cross-Cutting Concerns Are DifficultCode duplication, tangling, scattering and their cost to maintainability1.3 Aspect-Oriented ProgrammingAspect, join point, pointcut, advice and weaving — the vocabulary of modular cross-cutting behaviour2.1 Spring AOP ArchitectureProxy-based AOP — target objects, proxy objects and the interceptor chain between themVolume page →Spring Boot, Configuration & Application Lifecycle
1.1 Why Spring Boot ExistsSpring configuration complexity, dependency management, embedded servers and production readiness1.2 Spring Boot ArchitectureSpringApplication, ApplicationContext, auto-configuration and starter dependencies — how the pieces fit together1.3 Spring Boot vs Spring FrameworkRelationship, differences and when Spring Boot is useful2.1 Starter ConceptDependency aggregation and consistent dependency versionsVolume page →Spring MVC, REST & Web Applications
1.1 MVCModel, View and Controller — the pattern and its Spring implementation1.2 DispatcherServletFront controller, request routing, handler selection and response processing1.3 MVC Request LifecycleHTTP request → DispatcherServlet → HandlerMapping → Controller → Service → Response1.4 HandlerAdapterController invocation, argument resolution and return value handlingVolume page →Spring Data, JPA & Persistence
1.1 Repository AbstractionRepository, CRUD, paging and sorting1.2 Spring Data ArchitectureRepository interfaces, repository proxy and query generation1.3 Repository TypesCrudRepository, ListCrudRepository, PagingAndSortingRepository and JpaRepository2.1 Derived QueriesMethod naming, conditions and operatorsVolume page →Spring Security, OAuth2 & Identity
1.1 Security ArchitectureAuthentication, authorization, principal and SecurityContext1.2 Security Filter ChainRequest → security filters → authentication → SecurityContext → authorization → controller1.3 Security ContextSecurityContext, Authentication, principal and authorities2.1 Authentication ArchitectureAuthenticationManager, AuthenticationProvider and UserDetailsServiceVolume page →Spring Integration, Testing & Cloud-Native Development
1.1 Enterprise IntegrationMessaging, channels, endpoints and adapters1.2 Integration PatternsMessage channel, router, filter, transformer, aggregator and splitter1.3 Messaging SystemsKafka, RabbitMQ, JMS and cloud messaging2.1 Kafka FundamentalsTopic, partition, producer, consumer and consumer groupVolume page →
Free question pack
Get 100 free Core Java interview questions
Subscribe for the Book 1 question pack (PDF, every answer explained) and new tutorials once a week. No spam, unsubscribe anytime. What is in the pack?