Skip to main content

Search CooLWJ

选择搜索范围,输入关键词后按回车。

Language

Technology & everyday life

Development, AI tools, local voices and reading.

Latest articles

13–18 / 25 articles

Development

Which design patterns are used in the JDK?

Which design patterns are used in the JDK?Structural patterns,Adapter pattern,Bridge pattern,Composite pattern,Decorator pattern,Facade pattern,Flyweight pattern,Proxy pattern

Development

Determining File Types in Java

In Java development, we often need to determine file types. For example, a file upload feature needs to check whether a file uploaded by a user is of an accepted type. This article explains in detail how to obtain file types using Java.

Development

The Art of Encryption and Decryption

Symmetric encryption and asymmetric encryption are two different encryption methods that play important roles in data security and information transmission.

Development

Technology from a Global Perspective—The Evolution of Java Multithreading

On 2022-09-22, JDK19 was released. Its biggest highlight was support for virtual threads, adding another major member to the lightweight thread family. Virtual threads free the JVM from relying on the operating system to schedule threads, allowing the JVM to schedule them itself. In fact, early on, Sun implemented JVM-scheduled threads in its virtual machine for the Solaris operating system. Considering complexity and maintainability, it ultimately returned to the operating-system-scheduled threading model.

Development

The 3 Best Ways to Build Docker Images with SpringBoot

This article introduces 3 techniques for building SpringBoot applications into Docker images using Maven. (1)Use build-image built into spring-boot-maven-plugin. (2)Use Google's jib-maven-plugin. (3)Use dockerfle-maven-plugin.

Choose your theme

Your theme applies across the site.