Getting Started with GraphQL Kotlin

Introduction to GraphQL Kotlin GraphQL Kotlin is a collection of libraries built on top of graphql-java, specifically designed for the Kotlin language. Its primary goal is to streamline the development of both GraphQL clients and servers. This guide provides an overview of the project's key features and how to use them effectively. Project Over ...

Posted on Tue, 04 Aug 2026 16:00:20 +0000 by Shygirl

Creating a Custom Spring Boot Starter

Custom Spring Boot starters are valuable for encapsulating common functionalities, such as integrating with notification services like Feishu or DingTalk, or standardizing response code handling. Project Setup Initialize a Maven Project: Create a new Maven project, for instance, named holmium-spring-boot-starter. Implement Core Functionalit ...

Posted on Sun, 02 Aug 2026 16:05:18 +0000 by tibiz

Integrating MyBatis with Spring Boot Applications

Configuration Setup Establish database connectivity and tune the connection pool via application.yml. The following excerpt demonstrates HikariCP parameter optimization alongside MyBatis scanning direcitves. server: port: 8080 spring: datasource: driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://db-server:3306/data_stor ...

Posted on Thu, 30 Jul 2026 16:32:24 +0000 by PHP_TRY_HARD

Resolving MyBatis-Plus XML Mapper Scanning Issues in Spring Boot with Gradle

Project Setup with MyBatis-Plus and Gradle Start with a standard Spring Boot 2.3.x project using Gradle. Below is a minimal build.gradle configuration: plugins { id 'org.springframework.boot' version '2.3.12.RELEASE' id 'io.spring.dependency-management' version '1.0.11.RELEASE' id 'java' } group = 'com.example' version = '0.0.1-SNA ...

Posted on Wed, 29 Jul 2026 16:25:04 +0000 by suge

Generating Dynamic Excel Files in Spring Boot with Apache POI

Introduction Implementing data export functionality is a common requirement in enterprise Java applications. By leveraging the Apache POI library, developers can generate Excel spreadsheets programmatically. This approach allows for dynamic column mapping using Java annotations and reflection, ensuring that the spreadsheet structure remains syn ...

Posted on Tue, 28 Jul 2026 17:14:55 +0000 by Darkmatter5

Integrating Ehcache and Cache Annotations in Spring Boot Applications

Core Cache Annotations Spring Boot simplifies data caching through a declarative approach. To utilize the cache abstraction, ensure the @EnableCaching annotation is present on a configuration class. The framework manages storage based on method-level annotations. Retrieving Cached Results The @Cacheable annotation applies to read operations. Wh ...

Posted on Sat, 25 Jul 2026 16:43:23 +0000 by ns1025

Implementing JWT-Based Authentication and Authorization with Spring Security

This guide provides a comprehensive walkthrough for building robust authentication and authorization mechanisms using Spring Security with JWT tokens, Redis session storage, and database-backed user management. Core Concepts of Access Control Any system involving user participation requires access control mechanisms as part of its security arch ...

Posted on Sat, 25 Jul 2026 16:21:40 +0000 by THW

Configuring AuthenticationManager in Spring Security 5.7+ Without WebSecurityConfigurerAdapter

With Spring Security 5.7.4, the framework has depercated WebSecurityConfigurerAdapter, requiring develoeprs to adopt new configuration patterns. When implementing custom authentication filters that extend UsernamePasswordAuthenticationFilter and override the attemptAuthentication method, obtaining an AuthenticationManager instance becomes chall ...

Posted on Thu, 23 Jul 2026 16:31:54 +0000 by RamboJustRambo

Java TCP Socket Implementation and Cloud File Upload Strategies

Fundamentals of Network Communication Network programming facilitates data exchange between processes runing on different machines within a network infrastructure. Common applications include instant messaging, video conferencing, online gaming, and email services. Any scenario involving data transmission across a network relies on underlying n ...

Posted on Tue, 21 Jul 2026 16:27:20 +0000 by FillePille

Generating Configuration Metadata for Spring Boot Libraries

Understanding Spring Boot Configuration Metadata When developing reusable Spring Boot libraries, providing proper configuration metadata ensures that developers using your library get full IDE support including auto-completion, documentation tooltips, and validation warnings. This metadata describes the custom properties your library exposes th ...

Posted on Mon, 20 Jul 2026 17:29:43 +0000 by rocksolidhq