Best of JavaJanuary 2024

  1. 1
    Article
    Avatar of javacodegeeksJava Code Geeks·2y

    Optimize Your Deployments: Docker Image Best Practices

    Learn how to optimize your Docker deployments through best practices such as choosing the right base image, minimizing layers, using .dockerignore, optimizing Dockerfile instructions, updating dependencies wisely, implementing security best practices, reducing image size, using Docker Compose for multi-container applications, automating image builds with CI/CD, and monitoring and optimizing runtime performance.

  2. 2
    Article
    Avatar of javacodegeeksJava Code Geeks·2y

    Java Projects for All: From Beginner to Expert Level Coding Fun!

    Embark on a journey of Java projects! Explore beginner projects like Hello World GUI and Number Guessing Game. Learn about Java's key characteristics, including platform independence and multi-threading support. Discover more advanced projects like RESTful APIs, web scrapers, and music players. Challenge yourself with projects that provide real-world application and enhance your skills.

  3. 3
    Article
    Avatar of baeldungBaeldung·2y

    Introduction to Spring AI

    This post provides an introduction to the Spring AI project, including its purpose and main concepts. It also explains how to configure Spring AI in a Spring Boot application. The post includes examples and code snippets for demonstration purposes.

  4. 4
    Article
    Avatar of communityCommunity Picks·2y

    Quarkus Vs. Micronaut

    This post compares Quarkus and Micronaut in terms of architecture, design, code samples, use cases, development experience, documentation, community support, tooling, observability capabilities, ease of integration, and future sustainability.

  5. 5
    Article
    Avatar of communityCommunity Picks·2y

    What's Your Go-To Java Framework

    Explore different Java frameworks such as Java 21, Quarkus, Spring Boot, Maven, JUnit 5, and Testcontainers.

  6. 6
    Article
    Avatar of baeldungBaeldung·2y

    List vs. Set in @OneToMany JPA

    Hibernate and Spring JPA provide tools for seamless database communication, but confusion arises when deciding between using Lists or Sets in one-to-many or many-to-many relationships. Sets are generally more suitable for these relationships but come with performance implications. This tutorial explores the differences between Lists and Sets in the context of entity relationships and discusses the advantages and disadvantages of each approach.

  7. 7
    Article
    Avatar of foojayioFoojay.io·2y

    Where do you get your Java?

    Java distribution options have evolved, and there are now multiple vendors providing their own OpenJDK-based distributions. IBM Semeru Runtimes stands apart with its support for multiple platforms and its use of the Eclipse OpenJ9 JVM.

  8. 8
    Article
    Avatar of communityCommunity Picks·2y

    6 Tips for Resolving Common Java Performance Problems

    Tips for resolving common Java performance problems, including preventing memory leaks, avoiding thread deadlocks, and optimizing garbage collection.

  9. 9
    Article
    Avatar of freecodecampfreeCodeCamp·2y

    Advanced Object Oriented Programming in Java – Full Book

    Learn about handling exceptions in Java I/O, including the syntax for throwing exceptions, creating custom exceptions, and best practices for exception handling.

  10. 10
    Article
    Avatar of jetbrainsJetBrains·2y

    JetBrains Academy: New Learning Content in January

    JetBrains Academy has new learning content available in January, including a new Go project, Kotlin topics, and updates in Python, Java, algorithms and structures, system administration and DevOps, and cybersecurity.

  11. 11
    Article
    Avatar of towardsdevTowards Dev·2y

    Spring Boot Meets OpenAI: A Java’s Leep into GenAI

    The article discusses the Spring AI initiative, which aims to simplify the creation of AI-powered applications. It explores the building blocks of Spring AI, such as the ChatClient interface and the compatibility with OpenAI and Azure OpenAI. The article also mentions the use of prompt engineering techniques with Spring AI.

  12. 12
    Article
    Avatar of baeldungBaeldung·2y

    Java Weekly, Issue 523

    This post discusses using AI to generate descriptions for JFR events, integrating LLMs in Quarkus applications, and includes various articles and podcasts related to Java and Spring.

  13. 13
    Video
    Avatar of primeagenThePrimeTime·2y

    1 Billion Rows Challenge

    The 1 Billion Rows Challenge is an exploration of how far modern Java can be pushed for aggregating 1 billion rows from a text file. The challenge requires participants to write a Java program that calculates the min, mean, and max temperature values per weather station and emits the results. The program must adhere to certain rules, and the results are evaluated based on execution times.