Tagged articles
2 articles
Page 1 of 1
HomeTech
HomeTech
Jan 4, 2023 · Backend Development

Practicing Service Modularization in Java 9

This article explores Java 9's module system, its core principles, and practical implementation through a multi-module project example, highlighting benefits like modular encapsulation, dependency management, and reduced resource usage.

Backend DevelopmentJDK 9java-modules
0 likes · 13 min read
Practicing Service Modularization in Java 9
vivo Internet Technology
vivo Internet Technology
Oct 20, 2020 · Fundamentals

Understanding Java Try‑with‑Resources: Syntax, Bytecode, and Best Practices

The article explains Java’s try‑with‑resources feature as syntactic sugar that the compiler rewrites into a try‑finally structure with sophisticated exception handling, demonstrates the generated bytecode, clarifies AutoCloseable versus Closeable, and offers best‑practice guidelines for reliable resource management.

Exception HandlingJDK 9Java
0 likes · 17 min read
Understanding Java Try‑with‑Resources: Syntax, Bytecode, and Best Practices