×
java

Best Practices for Generating a Unit Test by Using Tongyi Lingma to Simplify Unit Testing

This article discusses what unit testing is, the value of unit testing, the principles of adequate unit testing, and how to write an adequate unit test.

Exploration of Java Virtual Threads and Performance Analysis

This article introduces the new advancements and technical details of Alibaba Cloud in the Java-virtual-thread project.

ROS CDK Guide: Build Your Game World (Java)

This article describes how to use the Cloud Development Kit provided by Alibaba Cloud ROS to deploy 2048 games to the cloud.

ROS CDK Guide: New Skills for Migrating the Blog to the Cloud (Java)

This article explores the Asset module by walking through a case study of deploying website content to the cloud.

Scenario Execution Tool: Java

This article explores optimizing the process in Java through pattern design and tooling to reduce code redundancy and improve development efficiency and quality.

Case Analysis of Java Web Application Upgrade Fault

This article introduces the troubleshooting process of a log entry fault caused by a Tomcat upgrade and provides valuable reference and solution ideas for developers.

System Errors Caused by a Line of Log

This article records the system errors caused by a line of log and the author's approach to solving the problem.

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.