Spring Boot

Application Properties

application.properties is Spring Boot’s main external configuration file, located in src/main/resources. It holds settings such as the application name, server port, context path, database details, and your own custom values. It is used so behavior can change without touching Java code or recompiling. Values are read in code with @Value for a single property or […]

Application Properties Read More »

Spring Boot Configuration

Spring Boot Configuration is the mechanism used to define, externalize, and manage settings that control how an application behaves across different environments without modifying source code. It relies on a “convention over configuration” approach, providing sensible defaults while allowing developers to easily override settings such as server ports, database credentials, third-party API keys, and business

Spring Boot Configuration Read More »

Building and Running the Application(Capstone Project)

Learn how to build, package, configure, and run a complete Spring Boot application as a standalone application. This capstone project combines the concepts learned in the previous sections, including Spring Boot Starters, Auto Configuration, Embedded Server, REST APIs, JPA, database connectivity, application properties, and Maven build commands. The project demonstrates how a Spring Boot application

Building and Running the Application(Capstone Project) Read More »

Embedded Server

Understand how Spring Boot Embedded Servers allow web applications to run as standalone applications without requiring a separately installed and configured external web server. Spring Boot applications can package the server inside the application and start it automatically when the application runs. For a typical Spring Boot web application, the web starter brings the required

Embedded Server Read More »

Auto Configuration

Understand how Spring Boot Auto Configuration automatically configures application components based on the dependencies available in the project and the configuration provided by the developer. Auto Configuration reduces the amount of configuration that developers need to write manually. For example, when database dependencies are available and database properties are configured, Spring Boot can automatically configure

Auto Configuration Read More »

Spring Boot Starters

Spring Boot Starters are convenient dependency descriptors that provide a predefined set of libraries required for a particular application capability. Instead of manually adding many individual dependencies and managing their compatible versions, developers can add a single starter dependency to the pom.xml file. spring-boot-starter-web provides dependencies required for developing web applications and REST APIs. spring-boot-starter-data-jpa

Spring Boot Starters Read More »

Spring Boot Application Structure & Creating a Spring Boot Project

1. Creating a Spring Boot Project Spring Boot projects are typically generated using Spring Initializr, a web-based (or IDE-integrated) tool that lets you select your build tool, language, Spring Boot version, project metadata, and dependencies, then generates a ready-to-run project skeleton. This avoids manually setting up folder structures, pom.xml entries, and boilerplate classes by hand.

Spring Boot Application Structure & Creating a Spring Boot Project Read More »

Spring Boot Fundamentals

Spring Boot is an open-source, microservice-ready Java framework built on top of the traditional Spring Framework. It provides an opinionated, convention-over-configuration approach to building stand-alone, production-grade applications. Instead of requiring developers to manually configure dispatchers, view resolvers, database connectors, and XML descriptors, Spring Boot makes sensible assumptions based on classpath dependencies and provides ready-to-run configurations

Spring Boot Fundamentals Read More »

Getting Started with Spring Boot

Spring Boot is an extension of the Spring Framework that simplifies the process of building stand-alone, production-grade Spring applications. It removes the need for extensive XML configuration and boilerplate setup that traditional Spring applications required. Why Spring Boot is used: Auto-configuration – automatically configures Spring and third-party libraries based on the dependencies present in the

Getting Started with Spring Boot Read More »

Scroll to Top