Best of Spring BootOctober 2024

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

    Java Performance Optimization Techniques

    Optimizing Java code performance is critical, especially considering that most users abandon a page if it takes longer than 3 seconds to load. Key techniques include using Java virtual threads, enabling lazy loading in Hibernate, implementing effective caching strategies, avoiding GenerationType.TABLE due to its performance overhead, and leveraging Hibernate's Query Plan Cache.

  2. 2
    Article
    Avatar of communityCommunity Picks·2y

    5 Tips for Structured Logging in Spring Boot 3.4

    Spring Boot 3.4 introduces native support for structured logging using formats like Elastic Common Schema (ECS) and Logstash. This reduces dependency management and enhances observability in applications by capturing logs in a structured manner. The post emphasizes the importance of logs in understanding application behavior, particularly in distributed systems, and highlights best practices for logging. It also underscores the role of tools like OpenTelemetry and Digma in achieving comprehensive observability.

  3. 3
    Article
    Avatar of kramtiKramti·2y

    Java Performance Optimization Techniques

    Learn key techniques to optimize Java performance, including using virtual threads from Java 19, implementing lazy loading in Hibernate, and utilizing caching strategies in the Spring framework. Additionally, avoid using GenerationType.TABLE for key generation in JPA to enhance efficiency.

  4. 4
    Article
    Avatar of baeldungBaeldung·2y

    Rapid Spring Boot Prototyping with Bootify

    Bootify is a tool designed to accelerate Spring Boot development by automating the creation of boilerplate code and configuration files. It provides a user-friendly interface to set up entities, relationships, and application components, making it easier to focus on business logic and custom features. The post details a step-by-step guide to creating a Spring Boot CRUD application using Bootify, from project setup to code generation.

  5. 5
    Video
    Avatar of teluskoTelusko·2y

    Spring Boot and Spring Security with JWT

    The post discusses the Spring Framework, popular in enterprise Java applications for its scalability and security. It highlights the evolution from Java EE to Spring and introduces Spring Boot, which simplifies project setup and management. The post also mentions Spring's role in building various applications like microservices and serverless apps, emphasizing dependency injection and the ioc container. The discussion extends to auto-wiring and configuring Spring Boot via annotations for efficient object management.

  6. 6
    Article
    Avatar of trendyoltechTrendyol Tech·2y

    Turning Millions of Kafka Events Into Meaningful Reports for Sellers

    Trendyol’s Export Center developed the Seller Reporting API to transform Kafka event data into insightful reports for sellers. They used Elasticsearch for data storage and effective Date Histogram Aggregation to handle time-based data. The implementation involved creating a system to index order events and querying the indexed data to create detailed reports. These reports cater to sellers' needs for data over various periods, comparing sales across different regions and currencies.

  7. 7
    Article
    Avatar of vaadinVaadin·2y

    Building a custom AI agent in Java: A hands-on guide

    Learn how to create a custom AI agent in Java tailored to your business needs. This guide details the process with a hands-on example of building an AI-powered customer support agent for an airline using technologies like Spring Boot for the backend, React for the frontend, and LangChain4j for AI coordination. The guide covers setting up dependencies, defining AI interactions, maintaining chat history, and integrating business-specific knowledge using retrieval-augmented generation (RAG). It also explores how to empower the AI to perform specific actions, enhancing user experience and automating tasks.

  8. 8
    Article
    Avatar of baeldungBaeldung·2y

    Caching Guide

    Caching enhances system performance by temporarily storing data from resource-intensive methods. This guide explores popular caching libraries like Caffeine, Ehcache, and JCache, and provides steps for implementing cache abstraction in Spring applications. Advanced topics include two-level caching configuration and the use of multiple caching managers within the same project.

  9. 9
    Article
    Avatar of justjavaJust Java·2y

    Why Spring Boot

    Spring Boot streamlines project setup, making development easier with features like auto-configuration, extensive tools, and strong community support. It excels in microservices, cloud-based projects, and simplifies testing processes.