Evolution of Spring Configuration and Building Your First Spring Boot Application
The configuration approach in the Spring ecosystem has shifted significant over the years.
Early Spring (1.x Era)
In the initial release, dependency injection and bean definitions were managed exclusively through verbose XML files. As applications grew, this led to massive configuration files and tangled dependency graphs, making maintenance di ...
Posted on Wed, 03 Jun 2026 17:15:42 +0000 by locomotive
Architecting a Multi-Module Spring Boot Application Structure
Layered Module Architecture
The foundation relies on a hierarchical Maven aggregation strategy. A root Spring Boot aggregator orchestrates dependency inheritance, while distinct child modules operate as independent deployment units. A dedicated commons artifact consolidates reusable components, including domain models, persistence layers, utili ...
Posted on Mon, 01 Jun 2026 17:32:44 +0000 by Yawa
Maven Dependency Inheritance: Dependencies vs DependencyManagement
Inheritance BehaviorWhen managing a large number of libraries in a Maven multi-module architecture, a parent POM (packaged as pom) is typically utilized to centralize version control. The behavior differs significantly between the <dependencies> and <dependencyManagement> configurations.Artifacts declared within the <dependencies ...
Posted on Mon, 01 Jun 2026 16:43:06 +0000 by l!m!t
Building and Deploying an SSM Backend Application with Maven and Tomcat
This article walks through creating a Java web backend using the SSM stack (Spring, Spring MVC, MyBatis) with Maven, packaging it as a WAR, and deploying it to Tomcat. Common configuration pitfalls are highlighted along the way.
1. Create a WAR‑based Maven project
Using your IDE, choose File → New → Maven Project → Create a simple project. Fill ...
Posted on Sun, 31 May 2026 15:59:27 +0000 by burn1337
Building a Java Deployment Tool with Jenkins
Constructing a Java Deployment Automation Tool Using Jenkins
Overview of the Process
The following outlines the procedure for developing a Java deployement automation tool utilizing Jenkins.
Step-by-Step Implementation
1. Initialize the Jenkins-based Project
Begin by setting up a new Maven project, which serves as the foundation for the deploym ...
Posted on Sat, 30 May 2026 23:50:50 +0000 by grga
Creating a Spring MVC Project with Maven in Eclipse
This guide walks through setting up a Spring MVC project using Maven within the Eclipse IDE.
1. Create a Maven Web Project
In Eclipse, select File > New > Other > Maven > Maven Project.
Keep the default settings and click Next.
Choose the archetype maven-archetype-webapp and leave other options as default.
Fill in the project detai ...
Posted on Tue, 26 May 2026 22:15:57 +0000 by stringman
Understanding Java's ServiceLoader for Dynamic Provider Discovery
Understanding Java's ServiceLoader for Dynamic Provider Discovery
ServiceLoader is a Java utility designed for dynamic loading of service providers. A service in this context refers to a set of interfaces and classes (typically abstract classes), while a service provider represents an implementation of that service. ServiceLoader can automatica ...
Posted on Tue, 26 May 2026 16:23:56 +0000 by wystan
Mastering Advanced Maven: Modular Architecture, Dependency Control, and Repository Management
Multi-Module Project Decomposition
Large-scale applications benefit from splitting codebases into logical compartments such as data models, persistence interfaces, business logic, and web controllers. Each compartment operates as an independent Maven module. To establish these modules, create separate directories, copy relevant source files and ...
Posted on Sat, 23 May 2026 22:58:03 +0000 by ruach
Getting Started with MyBatis
<groupId>org.example</groupId>
<artifactId>A01mybatis</artifactId>
<version>1.0-SNAPSHOT</version>
<dependencies>
<!-- MyBatis dependency -->
<dependency>
<groupId>org.mybatis</groupId>
<artifactId>mybatis</artifactId>
<version>3 ...
Posted on Mon, 18 May 2026 18:14:24 +0000 by CBG
Understanding Spring Boot's Dependency Management and Starter Mechanism
Core Capabilities of Spring Boot
Starter Dependencies: Spring Boot groups commonly used libraries into cohesive modules called starters (e.g., spring-boot-starter-web). Each starter bundles transitive dependencies with compatible versions, enabling declarative inclusion via a single artifact.
Convention-over-configuration: Configuration is ...
Posted on Wed, 13 May 2026 05:11:27 +0000 by ccooper