Best of Baeldung2023

  1. 1
    Article
    Avatar of baeldungBaeldung·2y

    Understanding NewSQL Databases

    NewSQL databases combine the transactional consistency of SQL databases with the scalability and performance of NoSQL databases. They are suitable for applications requiring strong transactional consistency, high performance, and scalability.

  2. 2
    Article
    Avatar of baeldungBaeldung·3y

    Why an HTTP GET Request Shouldn’t have a Body

    Why an HTTP GET Request Shouldn’t have a Body? In this tutorial, we'll learn why that request shouldn't be sent with a body. We'll explore the alternatives to having a body in a GET request. We may want to send GET requests with bodies for convenience.

  3. 3
    Article
    Avatar of baeldungBaeldung·2y

    Differences Between Entities and DTOs

    Entities and DTOs have different roles and characteristics. Entities represent real-world objects or concepts within the domain and often correspond directly to database tables. They incorporate ORM annotations, establish relationships with other entities, and can contain business logic. On the other hand, DTOs act as data carriers without any business logic. They are used for data transfer between applications or parts of the same application. DTOs are often made immutable, include validation annotations, and use JSON mapping annotations.

  4. 4
    Article
    Avatar of baeldungBaeldung·2y

    Modify Request Body Before Reaching Controller in Spring Boot

    Learn how to modify an HTTP request body in Spring Boot using filters and AOP.

  5. 5
    Article
    Avatar of baeldungBaeldung·3y

    A Guide to RestClient in Spring Boot

    An article introducing RestClient in Spring Boot, discussing its advantages over RestTemplate, demonstrating different HTTP request methods, response serialization, error handling, and building RestClient from RestTemplate.

  6. 6
    Article
    Avatar of baeldungBaeldung·3y

    Parallelize for Loop in Java

    Parallelize for Loop in Java may take a lot of time and keep the system underutilized. In this tutorial, we'll learn different ways to parallelize a for loop in Java to improve the performance of the application in such cases. For each element, we call the Thread.sleep() method to simulate a heavy operation.

  7. 7
    Article
    Avatar of baeldungBaeldung·3y

    Functional vs. Non-Functional Testing

    In this article, we'll explore the basics of testing. We’ll also explore some of the differences between functional and non-functional testing. In functional testing, we ensure that the functionality of the software meets the business requirements. Non-functional tests are as important as functional tests since they help us understand how the system behaves under certain circumstances.