Tagged articles
13 articles
Page 1 of 1
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 1, 2025 · Backend Development

Master Dynamic Expression Engines in Spring Boot 3: 7 Real‑World Examples

This article introduces dynamic expression parsing for enterprise Java applications, compares seven Spring Boot‑compatible expression engines (SpEL, MVEL, Aviator, JEP, OGNL, JEXL, QLExpress) across performance, security and syntax, and provides complete code samples, execution results and pros‑cons for each engine.

AviatorExpression EngineJEP
0 likes · 19 min read
Master Dynamic Expression Engines in Spring Boot 3: 7 Real‑World Examples
Code Ape Tech Column
Code Ape Tech Column
Mar 24, 2025 · Backend Development

Overview of Common Java Expression Engines and Utility Classes

This article provides a comprehensive overview of popular Java expression engines—including Spring EL, OGNL, Aviator, MVEL2—and demonstrates how the Hutool facade unifies them with utility classes, offering developers a clear guide to choose and integrate the right engine for their backend applications.

AviatorMVELOGNL
0 likes · 16 min read
Overview of Common Java Expression Engines and Utility Classes
Java Tech Enthusiast
Java Tech Enthusiast
Jan 6, 2025 · Backend Development

Overview of Common Java Expression Engines and Utility Wrappers

The article surveys popular Java expression engines—including Spring Expression Language, OGNL, Aviator, and MVEL2—detailing their key features and providing lightweight utility wrappers, and highlights Hutool’s unified façade that can encapsulate these engines to simplify dynamic rule evaluation in backend applications.

AviatorExpression EngineJava
0 likes · 12 min read
Overview of Common Java Expression Engines and Utility Wrappers
Architecture Digest
Architecture Digest
Jan 5, 2025 · Backend Development

A Comparative Overview of Java Expression Engines: Spring EL, OGNL, Aviator, MVEL, and Hutool

This article introduces and compares several Java expression engines—including Spring Expression Language, OGNL, Aviator, MVEL, and Hutool's expression facade—detailing their key features, typical use cases, security considerations, and providing utility class examples with code snippets for each engine.

AviatorExpression LanguageJava
0 likes · 12 min read
A Comparative Overview of Java Expression Engines: Spring EL, OGNL, Aviator, MVEL, and Hutool
Java Tech Enthusiast
Java Tech Enthusiast
Jul 1, 2024 · Backend Development

MyBatis OGNL Comparison Pitfall: Single Character vs String

The article reveals that MyBatis’s OGNL treats a single‑character literal like '1' as a Character, causing equality checks against String values in if tags to fail, and shows how using double quotes, toString(), or proper type conversion resolves the comparison pitfall.

ComparisonDebuggingJava
0 likes · 4 min read
MyBatis OGNL Comparison Pitfall: Single Character vs String
Selected Java Interview Questions
Selected Java Interview Questions
Jun 5, 2024 · Backend Development

Analysis of MyBatis OGNL Concurrency Bug and Workarounds

This article investigates a concurrency bug in MyBatis caused by OGNL expression evaluation using reflection, explains the root cause through stack trace and source code analysis, and proposes solutions such as upgrading MyBatis or avoiding private inner‑class methods like Arrays.asList.

JavaMyBatisOGNL
0 likes · 13 min read
Analysis of MyBatis OGNL Concurrency Bug and Workarounds
Architecture Digest
Architecture Digest
May 19, 2021 · Backend Development

Why MyBatis Treats Integer 0 as an Empty String in <if> Conditions

When using MyBatis dynamic SQL to filter records by a numeric state field, the framework incorrectly evaluates the condition "state != ''" as false for the integer value 0 because its OGNL expression evaluator treats 0 as equivalent to an empty string, leading to unexpected query results.

Dynamic SQLInteger ComparisonJava
0 likes · 7 min read
Why MyBatis Treats Integer 0 as an Empty String in <if> Conditions
FunTester
FunTester
May 14, 2020 · Backend Development

Mastering Arthas watch: Real‑time Method Call Inspection in Java

This tutorial demonstrates how to use Arthas' watch command to monitor Java method entry parameters and return values in real time, explains the required OGNL syntax, shows a practical demo code, and notes performance considerations for online debugging.

ArthasJavaOGNL
0 likes · 3 min read
Mastering Arthas watch: Real‑time Method Call Inspection in Java
FunTester
FunTester
May 12, 2020 · Backend Development

Using Arthas watch command to monitor Java method calls (Part 1)

This article introduces the Arthas watch command, explains its four observation points and main parameters, and shows how to use OGNL expressions to monitor Java method invocations, including arguments, return values, and exceptions.

ArthasDebuggingJava
0 likes · 4 min read
Using Arthas watch command to monitor Java method calls (Part 1)
FunTester
FunTester
May 3, 2020 · Backend Development

Using Arthas ognl Command for Java Diagnostics

This article introduces the Arthas Java diagnostic tool, explains the powerful ognl command with basic usage examples for inspecting static fields and invoking static methods, and provides a sample Java code snippet illustrating how to apply these techniques in practice.

ArthasJavaOGNL
0 likes · 3 min read
Using Arthas ognl Command for Java Diagnostics