Best of Awesome Java NewsletterJanuary 2025

  1. 1
    Article
    Avatar of java_libhuntAwesome Java Newsletter·1y

    Spring AI + Java

    This tutorial explains how to integrate Spring AI applications with mcp.run's tool ecosystem. Instructions include creating a chat interface to interact with external tools using OpenAI, setting up required tools, configuring parameters, creating a Spring Boot application, and testing the integration. The complete source code for different implementations is available in the mcpx4j repository.

  2. 2
    Article
    Avatar of java_libhuntAwesome Java Newsletter·1y

    How To Do Logging In Java

    Discover the right logging library for your Java applications and understand how to configure and use them effectively. This guide covers legacy and modern logging libraries including java.util.logging, Log4j, Logback, and SLF4J. Learn best practices for logging, such as choosing appropriate log levels, ensuring proper message contents, and implementing centralized logging solutions within Java applications.

  3. 3
    Article
    Avatar of java_libhuntAwesome Java Newsletter·1y

    A Beginner’s Guide to Java: 10 Must-Know Development Tools🎉🎉

    Java is expected to remain a dominant programming language by 2025. This guide highlights ten essential tools for Java developers, including IntelliJ IDEA, Maven, Git, Docker, Apidog, JUnit, Eclipse, Gradle, Jenkins, and VisualVM. Each tool offers unique advantages in enhancing productivity, code quality, and project management. While some tools are free, others may require payment. These tools can significantly improve your development workflow and software quality.

  4. 4
    Article
    Avatar of java_libhuntAwesome Java Newsletter·1y

    Parallel processing with Virtual Threads - A comparative analysis

    Explores the limitations of OS/platform threads and introduces virtual threads from Project Loom in JDK 21 as a solution. Provides a comparative analysis of virtual thread implementations in both JDK and Spring Core Reactor, highlighting use cases, performance metrics including processing time, memory footprint, and GC metrics. Concludes that JDK-based virtual threads are significantly faster for virtual thread implementations, whereas Spring Core Reactor performs better with platform threads.

  5. 5
    Article
    Avatar of java_libhuntAwesome Java Newsletter·1y

    Understanding JVM Garbage Collector Performance :: The Mill JVM Build Tool

    Garbage collectors are vital for managing memory in programming languages, particularly in environments like the JVM. This post explores the fundamental workings of garbage collectors, providing both theoretical insights and real-world benchmarks, especially focusing on JVM implementations. Key points include the design and performance of simple versus modern GCs, comparing them with other strategies like reference counting, and understanding their impact on application performance. Benchmarks for JVM's G1 and ZGC are provided to illustrate practical differences, highlighting how memory allocation and live-set size impact GC pause times and throughput.

  6. 6
    Article
    Avatar of java_libhuntAwesome Java Newsletter·1y

    Top Java Conferences to Attend in 2025

    Explore the top Java conferences to attend in 2025, featuring over 15 prominent events such as Devoxx, JavaOne, Spring I/O, JfocUS, qCon, and JAX. These conferences provide excellent opportunities for networking, skill enhancement, and staying updated with the latest Java technologies, including microservices, cloud computing, and DevOps. They take place in numerous cities worldwide and are organized by various tech communities and groups.