current location:Home > Technical Articles > Java

  • GC latency high optimization
    GC latency high optimization
    This article addresses high GC latency issues in applications, highlighting common causes like excessive object creation and inefficient data structures. It presents solutions for optimization, including reducing object creation, selecting optimized
    javaTutorial 981 2024-08-15 12:13:19
  • Detailed tutorial on sorting java list
    Detailed tutorial on sorting java list
    This article provides a comprehensive guide to sorting Java lists. It explores different sorting algorithms and demonstrates how to sort lists based on single and multiple criteria, both in ascending and descending order. The article includes practic
    javaTutorial 1003 2024-08-15 12:02:22
  • java business scenario interview questions
    java business scenario interview questions
    This article provides guidance on designing Java applications with high concurrency and low latency through techniques such as asynchronous programming, thread pooling, caching, and horizontal scaling. It also discusses managing transactions and data
    javaTutorial 601 2024-08-15 11:55:23
  • Java  Say Goodbye to &#public static void&#
    Java Say Goodbye to &#public static void&#
    Java has always been known for its verbosity, and perhaps nothing exemplifies this more than the iconic public static void main(String[] args) method signature. It's the first thing every Java programmer learns, and for years, it's been the gateway t
    javaTutorial 650 2024-08-15 07:05:32
  • Exploring the Power of Pattern Matching with Switch in Java 21
    Exploring the Power of Pattern Matching with Switch in Java 21
    One popular use case for pattern matching with switch is when working with different types of data in a program. Consider the following example of a WeatherStation class that has different types of sensors and returns the current temperature: `publi
    javaTutorial 936 2024-08-15 06:43:32
  • Metrics Can Fool You: Measuring Execution Time in Connection-Pooled Environments
    Metrics Can Fool You: Measuring Execution Time in Connection-Pooled Environments
    Measuring the execution time of requests to external services is critical for performance monitoring and optimization. However, when connections to these external services are pooled, you might be inadvertently measuring more than just the request ti
    javaTutorial 306 2024-08-14 22:44:02
  • Shadow Testing: A Comprehensive Guide for Ensuring Software Quality
    Shadow Testing: A Comprehensive Guide for Ensuring Software Quality
    In the dynamic landscape of software development, ensuring that new features or updates don’t negatively impact existing functionality is crucial. One effective approach to achieve this is through shadow testing. This method allows teams to validate
    javaTutorial 699 2024-08-14 20:40:32
  • Simplifying Microservices with an API Gateway in Java: A Practical Guide
    Simplifying Microservices with an API Gateway in Java: A Practical Guide
    If you work with microservices, you've probably heard about API Gateway. In a microservices architecture, where multiple independent services communicate to form a complete application, managing the communication between these services can become a c
    javaTutorial 666 2024-08-14 20:31:35
  • How to develop code analyzer in hours
    How to develop code analyzer in hours
    Static analysis is a robust tool that helps developers to control code quality. Let's try to develop a simple analyzer for Lua using Java and see what's under the static analyzer hood. Small foreword We'll write the static analyzer for
    javaTutorial 900 2024-08-14 18:43:32
  • java tree half check processing
    java tree half check processing
    Implementing semi-selectable nodes in a Java tree structure involves introducing a third state besides selected and unselected. Best practices include clearly defining semantics, providing visual cues, and enabling easy toggling. Suitable data struct
    javaTutorial 707 2024-08-14 16:08:21
  • json capitalized comments
    json capitalized comments
    This article discusses the appropriate capitalization standard for JSON property names, arguing that camelCase is the most widely used and supported standard. It also provides tips on enforcing consistent capitalization across different systems using
    javaTutorial 248 2024-08-14 16:05:18
  • Design patterns used in java projects
    Design patterns used in java projects
    Design patterns commonly used in Java projects include Singleton, Factory, Observer, and Strategy. These patterns enhance code flexibility and reusability. Specifically, Facade provides a unified interface, Adapter enables compatibility, and Template
    javaTutorial 753 2024-08-14 15:57:18
  • transmittablethreadlocal usage scenarios
    transmittablethreadlocal usage scenarios
    TransmittableThreadLocal, a thread-local variable, allows data sharing between parent and child threads. It addresses data transfer issues by extending ThreadLocal to transfer data during thread creation, eliminating the need for explicit data copyin
    javaTutorial 229 2024-08-14 15:33:19
  • transmittablethreadlocal detailed explanation
    transmittablethreadlocal detailed explanation
    TransmittableThreadLocal in Java offers controlled data transfer between threads, encapsulating the data transfer process. It enables explicit data transfer, providing advantages such as encapsulation and flexibility. However, it retains data across
    javaTutorial 266 2024-08-14 15:32:32
  • Java Cleaners: The Modern Way to Manage External Resources
    Java Cleaners: The Modern Way to Manage External Resources
    Code for this article can be found on GitHub. If you’re the type of programmer who likes to understand the internals of how things work before seeing examples, you can jump directly to Cleaners behind the scene after the introduction. Introduction
    javaTutorial 555 2024-08-14 12:40:32

Tool Recommendations

jQuery enterprise message form contact code

jQuery enterprise message form contact code is a simple and practical enterprise message form and contact us introduction page code.
form button
2024-02-29

HTML5 MP3 music box playback effects

HTML5 MP3 music box playback special effect is an mp3 music player based on HTML5 css3 to create cute music box emoticons and click the switch button.

HTML5 cool particle animation navigation menu special effects

HTML5 cool particle animation navigation menu special effect is a special effect that changes color when the navigation menu is hovered by the mouse.
Menu navigation
2024-02-29

jQuery visual form drag and drop editing code

jQuery visual form drag and drop editing code is a visual form based on jQuery and bootstrap framework.
form button
2024-02-29

Organic fruit and vegetable supplier web template Bootstrap5

An organic fruit and vegetable supplier web template-Bootstrap5
Bootstrap template
2023-02-03

Bootstrap3 multifunctional data information background management responsive web page template-Novus

Bootstrap3 multifunctional data information background management responsive web page template-Novus
backend template
2023-02-02

Real estate resource service platform web page template Bootstrap5

Real estate resource service platform web page template Bootstrap5
Bootstrap template
2023-02-02

Simple resume information web template Bootstrap4

Simple resume information web template Bootstrap4
Bootstrap template
2023-02-02

Cute summer elements vector material (EPS PNG)

This is a cute summer element vector material, including the sun, sun hat, coconut tree, bikini, airplane, watermelon, ice cream, ice cream, cold drink, swimming ring, flip-flops, pineapple, conch, shell, starfish, crab, Lemons, sunscreen, sunglasses, etc., the materials are provided in EPS and PNG formats, including JPG previews.
PNG material
2024-05-09

Four red 2023 graduation badges vector material (AI EPS PNG)

This is a red 2023 graduation badge vector material, four in total, available in AI, EPS and PNG formats, including JPG preview.
PNG material
2024-02-29

Singing bird and cart filled with flowers design spring banner vector material (AI EPS)

This is a spring banner vector material designed with singing birds and a cart full of flowers. It is available in AI and EPS formats, including JPG preview.
banner picture
2024-02-29

Golden graduation cap vector material (EPS PNG)

This is a golden graduation cap vector material, available in EPS and PNG formats, including JPG preview.
PNG material
2024-02-27

Home Decor Cleaning and Repair Service Company Website Template

Home Decoration Cleaning and Maintenance Service Company Website Template is a website template download suitable for promotional websites that provide home decoration, cleaning, maintenance and other service organizations. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-05-09

Fresh color personal resume guide page template

Fresh color matching personal job application resume guide page template is a personal job search resume work display guide page web template download suitable for fresh color matching style. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-29

Designer Creative Job Resume Web Template

Designer Creative Job Resume Web Template is a downloadable web template for personal job resume display suitable for various designer positions. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-28

Modern engineering construction company website template

The modern engineering and construction company website template is a downloadable website template suitable for promotion of the engineering and construction service industry. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-28
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!