×
java

Application of Stream Technology in Real-World Scenarios

This article provides theoretical explanations and demonstrates how to apply the Stream API to solve common programming problems through practical code examples.

Mock Framework Evolution under JDK11: From PowerMockito to Mockito Only

This article discusses the necessity and practical methods for the strategy of migrating from a testing environment that uses PowerMock to one that only uses Mockito.

In-depth Discussion of Java Tiered Compilation

This article primarily discusses Tiered Compilation in the Java Virtual Machine (JVM) and its impact on program performance.

Understanding the Java Platform Module System (Project Jigsaw)

This article introduces Java platform modular system in detail and provides best practices to help developers better understand and apply the Java modular system.

Implement Auto Instrumentation under GraalVM Static Compilation on OTel Java Agent

This article introduces Alibaba Cloud's Experts' presentation at 2024 OpenTelemetry Community Day and summarizes their explorations in the field.

Fall Into the Trap of Java Interface

This article introduces the experience of encountering errors in code and the potential for one line of code to have different effects in different scenarios.

Is There Just service_stdout.log on Your Application?

This article describes the troubleshooting ideas for the invalid logback-spring.xml file.

A Detailed Explanation of JVM Garbage Collector G1&ZGC

This article shares some execution processes of garbage collectors, providing a useful reference for those interested in the topic.

Java Thread Pool Implementation and Best Practices in Business Applications

The article discusses the implementation principles and source code analysis of Java thread pools, as well as best practices for using thread pools in business applications.

All You Need to Know About Upgrading from JDK 8 to JDK 11

This article describes the process of upgrading from JDK 8 to JDK 11, the enhancements after the upgrade, and new features in JDK 11.

Java Logging Part 5: Best Practices

This article is a comprehensive guide to Java logging. The fifth part of this series introduces the best practices of Java Logging.

Java Logging Part 3: About SLF4J

This article is a comprehensive guide to Java logging. The third part of this series introduces SLF4J.

Java Logging Part 4: Introduction to Logback

This article is a comprehensive guide to Java logging. The fourth part of this series introduces Logback.

Java Logging Part 2: Logging and Package Exclusion with SLF4J + Logback

This article is a comprehensive guide to Java logging. The second part of this series introduces SLF4J and Logback.

Java Logging Part 1: Past and Present

This article is a comprehensive guide to Java logging. The first part of this series introduces the past and present of Java logging.

Excel at Java AI Application Development within 5 Minutes

This article describes how to develop a Java AI application in 5 minutes using Spring AI and Alibaba Cloud's Tongyi series of large models.

Hands-on Labs | Build a Java Web Development Environment

This step-by-step tutorial introduces how to build a Java web development environment.

Common Java Code Defects and Solutions

This article summarizes common code defects and solutions encountered in daily development to provide helpful insights.

How to Avoid the Kotlin Coroutine Deadlocks?

This article analyzes the root cause of Kotlin coroutine deadlock and how to completely avoid this problem.

Non-intrusive Observability Exploration with GraalVM Static Compilation

This article introduces a static instrumentation approach for Java Agent, focusing on the concept of static instrumentation.