Best of JavaNovember 2023

  1. 1
    Article
    Avatar of devgeniusDev Genius·2y

    Virtual Threads in Spring Boot

    The article discusses virtual threads in Spring Boot, highlighting their lightweight nature and aim to simplify concurrent programming compared to traditional Java threads.

  2. 2
    Article
    Avatar of freecodecampfreeCodeCamp·2y

    Get started with Quarkus and JPAStreamer

    This article introduces the Quarkus development platform and demonstrates how to use it with JPAStreamer to streamline Java application development. Quarkus is a cloud-native framework that addresses Java challenges and improves development experience. JPAStreamer is a lightweight library that simplifies database access in Java applications using the Java Persistence API (JPA). The article walks through the process of setting up a Quarkus project, connecting to a database, performing queries with JPAStreamer, and compiling the application for optimal performance. The tutorial also covers topics such as continuous testing and debugging with Quarkus. By the end, readers will have a solid understanding of how to develop Java applications with Quarkus and JPAStreamer.

  3. 3
    Article
    Avatar of gcgitconnected·2y

    Difference between @Component, @Service, @Controller, and @Repository in Spring Framework

    Learn about the differences between @Component, @Service, @Controller, and @Repository annotations in the Spring Framework and how Component Scanning works.

  4. 4
    Article
    Avatar of communityCommunity Picks·2y

    Every programming tutorial

    A beginner's programming tutorial in Java where the code provided creates a simple program that makes the computer do certain tasks, similar to creating Minecraft.

  5. 5
    Article
    Avatar of gcgitconnected·2y

    Experienced Spring/Spring Boot Interview Questions for Java Developers-2023[5–10 years]

    Experienced Java developers can find a list of interview questions related to Spring and Spring Boot in this article. Topics covered include alternative to spring boot application annotation, bean scopes, and differences between @inject and @autowire.

  6. 6
    Article
    Avatar of developercomDeveloper.com·2y

    Understanding Memory Consistency in Java Threads

    Understanding memory consistency in Java threads is crucial for developing reliable and predictable concurrent applications. Java provides support for multithreading, but it also comes with challenges related to data visibility and ordering of operations. The Java Memory Model (JMM) defines rules and guarantees for how threads interact with memory, ensuring a level of consistency. The basics of memory consistency involve concepts like atomicity, visibility, and ordering of operations. In Java, synchronization mechanisms like synchronized methods/blocks and the java.util.concurrent package can be used to control access to shared resources and ensure memory consistency. Developers can also use practical tips like employing volatile, using thread-safe collections, and utilizing atomic classes for atomic operations to manage memory consistency effectively.

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

    Mastering Spring Boot: Top Interview Questions with Solutions

    Spring Boot has emerged as a pivotal framework for building robust and scalable Java applications. Its simplicity, flexibility, and rapid development capabilities have made it a top choice for both developers and organizations. We’ve curated a comprehensive set of Spring Boot interview questions that are frequently posed by hiring managers and technical interviewers.

  8. 8
    Article
    Avatar of quastorQuastor Daily·2y

    The Architecture of DoorDash's Caching System

    DoorDash faced caching problems related to cache staleness, lack of runtime controls, inadequate metrics and observability, and inconsistent key schema. They implemented a shared caching library with layered caching, runtime feature flags, and observability and cache shadowing.