SPRING CONCEPTS

Spring Concepts

Find a focused explanation when you need it, then return to the stage where you use it.

← Spring Learning Path

Detailed walkthroughs · 10 guides

Find a concept

75 concepts

AOP advice and pointcutsAOP applies additional behaviour to selected method executions.Apache TomcatTomcat is the Servlet and JSP container running this Java web application.Application context pathThe context path identifies a deployed application within a server.ApplicationContextApplicationContext is Spring’s container for bean configuration and access.AuthenticationAuthentication verifies the caller’s identity.Authorization / ownershipAuthorization determines which operations and resources a caller may access.Auto-configurationAuto-configuration supplies suitable infrastructure when its conditions are met.BCryptBCrypt stores a salted, deliberately expensive password hash.Bean lifecycle callbacksLifecycle callbacks run during managed initialization and supported destruction.Bean ValidationBean Validation checks declared constraints on Java values.BeanFactory and ApplicationContextBeanFactory is the basic bean-container contract; ApplicationContext extends it with application facilities.Bearer tokenA bearer token grants the access allowed to whoever possesses it.Component scanningScanning discovers eligible bean classes in selected packages.Constructor, setter and field injectionInjection describes how an object receives another object it needs.ControllerA controller translates HTTP requests into application calls and responses.CookieA cookie is data a browser stores and sends on matching HTTP requests.CORS · Cross-Origin Resource SharingCORS governs which cross-origin browser requests may read responses.CRUDCRUD means Create, Read, Update, and Delete.CSRF · Cross-Site Request ForgeryCSRF exploits credentials that a browser attaches automatically to a request.DAO · Data Access ObjectA DAO is a component that reads and writes persistent data. Its interface declares the available operations; an implementation class contains the code that performs them.Database indexA database index supports query access and can enforce uniqueness.Dependency injectionDependency injection supplies an object with the collaborators it needs.DispatcherServletDispatcherServlet is Spring MVC’s central request dispatcher.DTO · Data Transfer ObjectA DTO defines the data exchanged across an application boundary.EL · Expression LanguageEL reads values and properties for server-side view rendering.Environment variablesEnvironment variables supply configuration to a running process.Factory methods and @BeanA factory method creates or obtains an object and returns its reference to the caller.HTML formAn HTML form gathers named values for a browser HTTP request.HTTPHTTP is the request/response protocol used by browsers and API clients.HTTP message conversionA message converter reads or writes HTTP bodies using a supported representation.HTTP redirectA redirect tells the browser to request a different URL.HTTP status codesHTTP status codes describe the outcome of a request.HttpSession / session scopeHttpSession stores server-side attributes associated with a visitor’s session.IoC · Inversion of ControlIoC gives a container control over object creation and assembly.JavaBean property conventionsJavaBean-style getters expose named object properties to tools and view expressions.JSONJSON is a text format for structured data exchanged by the APIs.JSP · Jakarta Server PagesJSP is a server-side view technology for generating response content.JSTL · Jakarta Standard Tag LibraryJSTL supplies reusable view tags for common JSP tasks.JSXJSX expresses UI markup inside JavaScript.JWT · JSON Web TokenA JWT contains claims and, in this app, a signature that protects their integrity.MavenMaven builds Java projects and resolves their dependencies.MongoDBMongoDB stores BSON documents in collections inside databases.MongoDB AtlasAtlas hosts and manages MongoDB deployments.MongoDB transactions and rollbackA transaction coordinates related writes so they commit together or roll back.MVC · Model–View–ControllerMVC separates application data, presentation, and HTTP request handling.MVC handler interceptorAn interceptor participates in MVC handler processing.MVC mapping and view resolutionSpring MVC locates a handler, invokes it and processes its result.MVC ModelAn MVC Model contains the data passed to a view.On-demand bean resolutionA provider lets a consumer request a bean when an operation needs it.PostmanPostman sends HTTP requests and checks API responses.ProfilesProfiles select which conditional bean definitions participate in a context.Property values and sourcesA property source contributes configuration values that beans can read.Proxies and self-invocationA proxy applies configured behaviour before delegating to a target object.ReactReact builds a browser interface from components and state.React stateReact state holds values whose changes should update the interface.RepositoryA repository abstracts access to stored domain objects.Request / session attributesAttributes are Java values stored by server-side code in a scope.Request parametersRequest parameters are named client inputs from a query string or supported form body.Request-body binding@RequestBody binds an HTTP body to a Java method argument.REST / resource APIREST is an architectural style centered on resources and a uniform interface.Server-side forwardA forward delegates to another server resource inside the same request.Service layerA service groups the application’s business operations.ServletA Servlet is a Java server component that handles requests through a Servlet container.Servlet FilterA Filter runs around request handling and can decide whether processing continues.Singleton and prototype scopeScope controls how the container reuses or creates instances for a bean definition.Spring beanA bean is an object registered with and managed by the Spring container.Spring BootSpring Boot helps configure, start, and package Spring applications.Spring FrameworkSpring Framework helps you connect selected Java objects and build features such as web request handling.Starter dependencyA starter groups dependencies needed for a capability.Stateless APIA stateless API request carries the authentication information needed for that request.ThymeleafThymeleaf is a server-side template engine used here to render HTML.Transaction propagationPropagation determines how a transactional call relates to an existing transaction.View / templateA view presents application data to the user.ViteVite is the frontend development server and build tool.WAR · Web Application ArchiveA WAR packages a Java web application in its deployable layout.
Java 21 · Spring Boot 4.1.1 · Edupoly