Best of Java — 2025

  1. 1
    Article
    Avatar of lonely_programmerLonely Programmer·44w

    Grandpa Python

  2. 2
    Article
    Avatar of shaafShaaf·33w

    My first 6 hours with Rust

    A beginner's exploration of Rust fundamentals after 6 hours of learning, covering key concepts like ownership, borrowing, structs, enums, and memory management. The author compares Rust's unique ownership system to Java's garbage collection, explains how references work with borrowing rules, and demonstrates practical examples of data structures and method implementations. The post highlights Rust's safety guarantees through compile-time checks and its approach to modularity with default privacy.

  3. 3
    Article
    Avatar of halodocHalodoc·1y

    Log Standardization

    Debugging in microservices is challenging without structured logging. This post explores logging strategies for HTTP requests, Kafka events, and concurrency in Java, Golang, and Python. It addresses context loss in Java’s multi-threading by introducing MDCAwareCompletableFuture and MDCAwareExecutorService, ensuring traceability in concurrent systems. A structured logging approach with Request ID, Transaction ID, and Parent Transaction ID is recommended for better traceability and debugging efficiency.

  4. 4
    Article
    Avatar of javarevisitedJavarevisited·49w

    🧠 The Concurrency & Multithreading Bible for Engineers

    This comprehensive guide aims to equip engineers with the fundamental concepts of concurrency and multithreading, applicable across various programming languages like Java, C++, Rust, Go, Python, and JavaScript. It introduces nine essential pillars—mutual exclusion, visibility, atomicity, coordination, task management, non-blocking async models, immutability, parallelism, and thread lifecycle—which serve as a framework for building robust and efficient concurrent systems. Derived from extensive research and real-world application, the guide promises to clarify complex concurrency concepts with the use of visuals, code snippets, and cross-language examples.

  5. 5
    Video
    Avatar of codeheadCodeHead·49w

    Wait, Netflix is... Java?!

    Netflix leverages Java for its backend, despite its reputation as outdated or verbose. Java's performance, scalability, and mature ecosystem make it a reliable choice for Netflix's microservices. With tools like Spring Boot, Netflix efficiently manages its vast streaming services. The use of Java demonstrates the company's preference for dependable technology over trends.

  6. 6
    Video
    Avatar of codeheadCodeHead·25w

    99% Of Devs Don't Understand Spring Boot

    Spring Boot simplifies Java development by automating configuration and removing XML complexity, making it production-ready out of the box. Major companies like Netflix, Amazon, and Spotify rely on it to power massive-scale systems with billions of API calls daily. Modern versions support Kotlin, reactive programming through Spring WebFlux, and cloud-native deployments, making it more relevant than its outdated reputation suggests. The framework's strength lies in its reliability, comprehensive ecosystem, and ability to handle enterprise-scale workloads efficiently.

  7. 7
    Article
    Avatar of javarevisitedJavarevisited·1y

    Why become a Certified Java Developer in 2025

    Becoming a certified Java developer in 2025 can significantly boost your career by validating your skills and knowledge. Java certifications, such as Java SE 11, 17, and the latest Java SE 21, offer industry recognition, enhanced job opportunities, and higher earning potential. Preparing for these certifications involves understanding the exam objectives, practicing extensively with coding exercises and mock tests, and utilizing various online resources and communities. Java SE 21 is particularly recommended for future-proofing your career with its latest features and enhancements.

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

    CI/CD DevOps Pipeline Project: Deployment of Java Application on Kubernetes

    The project outlines the implementation of a CI/CD pipeline to deploy a Java application on Kubernetes. It leverages Jenkins for orchestration, along with tools like Maven, SonarQube, Trivy, and Prometheus for build automation, code quality, security scanning, and monitoring. The setup involves detailed steps for configuring the required infrastructure, integrating DevOps tools, and setting up a monitoring stack with Prometheus and Grafana.

  9. 9
    Article
    Avatar of javarevisitedJavarevisited·1y

    From Java Basics to Full Stack Development: A Simplified Roadmap for Beginners in 2025

    This roadmap provides a comprehensive guide for beginners to become full stack Java developers by 2025. It covers foundational Java concepts, mastering back-end development with Spring Framework, understanding RESTful APIs, microservices, and Spring Cloud. It also includes front-end development with HTML, CSS, JavaScript, and JavaScript frameworks like React. Additionally, it emphasizes the importance of learning databases, ORM frameworks, build tools, version control, deployment processes, and continuous learning.

  10. 10
    Article
    Avatar of java_libhuntAwesome Java Newsletter·35w

    Java desktop app with Shadcn UI

    Building modern desktop applications with Java doesn't have to mean using outdated UI toolkits like Swing or JavaFX. This guide demonstrates how to create a cross-platform Java desktop app using web technologies including shadcn/ui, React, and TypeScript. The approach uses JxBrowser to embed a Chromium-based web view, serves web resources from the classpath for security, and implements type-safe communication between JavaScript and Java using Protobuf and gRPC. This hybrid approach combines the power of Java backend with modern web UI capabilities.

  11. 11
    Article
    Avatar of hnHacker News·1y

    We switched from Java to Go and don't regret it

    Switching from Java/Kotlin to Go proved beneficial with faster startup times, lower resource consumption, and a more lightweight ecosystem. While Java still excels in some areas, Go offers advantages for cloud-native applications and Kubernetes tooling. The transition wasn't as challenging as expected, and the benefits were quickly evident.

  12. 12
    Article
    Avatar of springSpring·23w

    Null-Safe applications with Spring Boot 4

    Spring Boot 4 and the Spring portfolio now provide null-safe APIs using JSpecify annotations to help prevent NullPointerExceptions. The Spring team has annotated most major projects including Spring Framework 7, Spring Data 4, and Spring Security 7 with explicit nullability information. Developers can leverage this through IDE support (IntelliJ IDEA 2025.3+) for warnings, or use build-time checkers like NullAway for stricter enforcement. Kotlin 2 automatically translates these annotations to native Kotlin nullability. This allows teams to choose their level of null-safety adoption, from simple IDE warnings to fully null-safe applications, without breaking existing APIs.

  13. 13
    Video
    Avatar of youtubeYouTube·1y

    Why Spring Boot is the BEST Backend Framework

    Spring Boot is hailed as the superior backend framework for its built-in security, database integration, scalability, and reliability. The post criticizes other frameworks like Express.js, Django, and Ruby on Rails for their complexity, lack of built-in features, and scalability issues. Spring Boot is advocated as the practical choice for those who want a backend that works efficiently without excessive configuration or headaches.

  14. 14
    Article
    Avatar of javarevisitedJavarevisited·48w

    Mastering Java Optional: From Boring Null Checks to Elegant Code

    Java Optional is a powerful tool introduced in Java 8 to handle null values in a cleaner and safer way. Instead of cumbersome null checks, Optional provides methods like orElse, map, and flatMap to elegantly manage potential nulls in your code. This approach enhances readability and reduces the risk of NullPointerExceptions, making it easier to maintain and understand your programs.

  15. 15
    Article
    Avatar of javarevisitedJavarevisited·1y

    6 Must Read Spring Framework Books (includes Spring Boot and Spring Security) in 2025

    The post recommends six key books for learning the Spring framework, including Spring Boot and Spring Security, suitable for beginners to advanced Java developers. It highlights essentials like 'Spring in Action' by Craig Walls and covers topics such as dependency injection, MVC architecture, batch processing, and security practices. Each book has been updated for the latest Spring versions, providing comprehensive guides to mastering various components of the Spring ecosystem.

  16. 16
    Article
    Avatar of bytebytegoByteByteGo·46w

    How Netflix Runs on Java?

    Netflix operates its massive streaming platform primarily on Java, utilizing a federated GraphQL architecture with Spring Boot microservices. The company migrated from Java 8 to JDK 21+, adopting virtual threads for improved concurrency and ZGC garbage collector for near-zero pause times. Their backend consists of around 3000 Spring Boot services communicating via gRPC, with GraphQL serving as the client-facing API layer. Netflix moved away from reactive programming (RxJava) in favor of virtual threads and structured concurrency, while building custom tooling to maintain their Spring Boot Netflix stack with company-specific integrations for security, observability, and service mesh functionality.

  17. 17
    Article
    Avatar of java_libhuntAwesome Java Newsletter·41w

    Clean Code Reimagined

    A comprehensive guide to writing clean, maintainable code with practical examples in both Node.js and Java. Covers essential principles including meaningful naming conventions, single responsibility functions, DRY logic implementation, proper formatting, immutability patterns, and structured logging. Emphasizes that clean code is a mindset focused on building resilient, scalable systems that are understandable and extendable for future developers.

  18. 18
    Article
    Avatar of frankelA Java geek·22w

    Are you really wasting your time in Java without these 10 libraries?

    A critical analysis of 10 commonly recommended Java libraries, evaluating their current relevance and usefulness. The author argues that some popular tools like Lombok and MapStruct are no longer necessary given modern Java features and alternatives like Kotlin, while others like Liquibase/Flyway remain essential for production deployments. The piece emphasizes context-dependent decision-making over blindly following listicles, noting that tools like SLF4J, Jackson, JUnit, and Spring remain valuable, while Apache Commons Lang and Guava have diminished utility in modern Java versions.

  19. 19
    Video
    Avatar of awesome-codingAwesome·1y

    Now Is The Best Time To Learn Java

    Java 24 introduces several key improvements aimed at enhancing developer experience and performance. Significant advancements include Project Leen for better startup and warm-up times via ahead-of-time compilation, enhanced virtual threads from Project Loom for scalable concurrent applications, flexible stream gatherers for efficient data processing, and improved pattern matching for cleaner code. These updates position Java as a robust choice for modern programming, particularly in cloud environments.

  20. 20
    Article
    Avatar of lonely_programmerLonely Programmer·1y

    Which Language Is The Best C, C++, Python or Java

  21. 21
    Video
    Avatar of fknightForrestKnight·49w

    Netflix is Built on Java

    Netflix heavily relies on Java for its backend operations, utilizing it for both streaming services and studio applications. While front-end technologies vary, the backend is unified under Java, featuring a microservices architecture supported by GraphQL and gRPC. Netflix transitioned from Java 8 to newer versions like JDK17 and JDK23, improving performance with upgraded garbage collection and exploring virtual threads. Their backend involves distributed data stores and global streaming capabilities. The integration of Spring Boot and active collaboration on its development highlights Netflix's substantial influence on the Java ecosystem.

  22. 22
    Video
    Avatar of fknightForrestKnight·20w

    Why Rust Changed the Way I Think About Programming

    Learning Rust fundamentally changed how the author approaches programming in other languages. Rust's ownership model, borrow checker, and strict compiler forced explicit thinking about memory management, mutability, error handling, and concurrency. These lessons translated into writing more intentional code in Java and TypeScript—using immutability by default, treating the compiler as a collaborator, making error paths explicit, and thinking carefully about data ownership even with garbage collection. While Rust's strictness can be demanding, its principles help developers write safer, more maintainable code across any language.

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

    Understanding concepts in Event Driven Architectures (EDA)

    Event Driven Architecture (EDA) is a popular choice for developing highly scalable distributed systems, where components communicate by sending and reacting to events asynchronously. Key components include event producers, message brokers, and event consumers. Common technologies used are Kafka, RabbitMQ, AWS SNS/SQS, and Google Pub/Sub. EDA offers advantages such as scalability, flexibility, and resilience, but also has challenges like eventual consistency and complex debugging.

  24. 24
    Article
    Avatar of javarevisitedJavarevisited·26w

    Stop Writing Database-Dependent Tests — Mock Your Data Access Layer

    Database-dependent tests are slow, fragile, and blur the boundaries between unit and integration testing. Mocking the data access layer through interfaces and dependency injection enables fast, isolated unit tests that focus on business logic rather than infrastructure. The recommended approach is to use mocks for 90% of tests while reserving database-touching integration tests for the remaining 10%, ensuring high coverage without sacrificing development speed.

  25. 25
    Article
    Avatar of colkgirlCode Like A Girl·52w

    A Complete Guide to Build, Test and Deploy a Spring Boot Application

    This guide covers how to build, test, and deploy a Spring Boot application. It provides step-by-step instructions on setting up prerequisites, creating the project, implementing CRUD APIs, configuring an H2 database, and writing tests. Additionally, it includes details on dockerizing the application and deploying it with Kubernetes.