Tag

JDK 9

0 views collected around this technical thread.

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.

AutoCloseableBest PracticesException Handling
0 likes · 17 min read
Understanding Java Try‑with‑Resources: Syntax, Bytecode, and Best Practices