Best of JavaFebruary 2025

  1. 1
    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.

  2. 2
    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.

  3. 3
    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.

  4. 4
    Article
    Avatar of lonely_programmerLonely Programmer·1y

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

  5. 5
    Article
    Avatar of justjavaJust Java·1y

    Understanding & Implementing OAuth Mechanism

    Learn to build an OAuth 2.0 server using Java, Spring Boot, Spring Security, and MySQL. This guide covers setting up an OAuth server for authentication, creating microservices, and integrating the OAuth server with a resource server for secured access. Key components, repository layers, and service implementations are discussed for a modular, scalable system.

  6. 6
    Article
    Avatar of trendyoltechTrendyol Tech·1y

    Java 21 Virtual Threads Deadlock Awareness

    An issue was identified in a Java 21 application utilizing Virtual Threads that caused deadlocks during the generation of Excel reports in the Gulf Local Cargo Invoices Project. The root cause was traced to the use of synchronized code blocks in the HTTP client library, which were incompatible with Virtual Threads. The deadlock issue was resolved by employing the jcmd utility to capture detailed thread dumps and updating the library to use ReentrantLock instead of synchronized blocks.

  7. 7
    Article
    Avatar of javarevisitedJavarevisited·1y

    Top 15 Java Stream and Functional Programming Interview Questions and Answers

    Java 8 introduced significant changes, including the Stream API and functional programming idioms, making it essential for Java developers to understand these concepts for interviews. The post provides a list of common Java Stream and functional programming interview questions with answers, covering essential topics like map(), filter(), and flatMap() methods, alongside various functional interfaces. With investment banks and other companies heavily relying on these skills, mastering Java 8 is crucial for modern Java development.

  8. 8
    Article
    Avatar of javarevisitedJavarevisited·1y

    Top 22 Spring Boot Interview Questions and Answers for 2 to 5 Years Experienced Developers

    This post provides a comprehensive list of the top 22 Spring Boot interview questions and answers, targeting Java developers with 2 to 5 years of experience. It covers essential Spring Boot features such as auto-configuration, starter dependencies, Spring Boot CLI, and Actuator. The article aims to equip developers with the knowledge needed to tackle Spring Boot-related questions in job interviews.

  9. 9
    Article
    Avatar of shaafShaaf·1y

    Java + LLMs: A hands-on guide to building LLM Apps in Java with Jakarta

    Java continues to be a dominant programming language used in various critical applications. The rise of Large Language Models (LLMs) opens new opportunities for Java developers. Despite the common perception that Python is necessary for LLM implementation, Java, with tools like LangChain4J, is equally capable of integrating LLMs through REST APIs. Resources, including a step-by-step guide and source code, are available for developers to explore this integration.

  10. 10
    Article
    Avatar of javarevisitedJavarevisited·1y

    Spring Transaction Propagation Guide

    Spring transaction propagation controls how transactions flow between service methods using the @Transactional annotation. Key propagation types include REQUIRED, REQUIRES_NEW, and NESTED. Each type serves different use cases: REQUIRED for default, all-or-nothing processes; REQUIRES_NEW for independent actions like logging; and NESTED for partial rollbacks. The guide also discusses transaction isolation levels, best practices, and common pitfalls.

  11. 11
    Article
    Avatar of vladmihalceaVlad Mihalcea·1y

    MySQL Performance Tuning with Releem

    Releem is a tool designed to optimize MySQL performance by monitoring and providing optimization tips. The setup involves creating a database user, configuring the Releem agent, and adjusting MySQL settings for optimal data collection. Users can monitor query response times, throughput, and slow queries through an online dashboard. The tool also offers insights into database schema optimization for better application performance.

  12. 12
    Article
    Avatar of javarevisitedJavarevisited·1y

    Why Become a Certified Spring Professional/Developer in 2025?

    Becoming a Certified Spring Developer in 2025 can significantly enhance your career prospects by unlocking higher salaries, ensuring growth, and differentiating you from other Java developers. The certification process helps you master core Spring concepts, including Spring Boot, Security, and Cloud, while providing hands-on experience with real-world projects. As demand for skilled Spring developers continues to grow, a certification validates your expertise and makes you a strong candidate for top companies. Recommended resources for preparing include books, practice tests, official documentation, and courses on platforms like Udemy and Baeldung.

  13. 13
    Article
    Avatar of netguruNetguru·1y

    Java Performance: Optimizing Code for Maximum Efficiency

    Optimizing Java performance can lead to faster applications, reduced resource usage, and better user experiences. Focusing on key areas such as memory management, garbage collection, and code optimization is essential. Recent versions of Java, particularly Java 8 and later, offer built-in features and tools to enhance performance. Effective performance optimization involves measuring the efficiency of Java applications using profiling tools, proper memory management, and tuning JVM settings for optimal performance.

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

    Where's Java Going In 2025?

    The post reviews the state of Java in the enterprise environment, highlighting its persistent influence due to stability and support. Despite Oracle's high costs and licensing issues, many companies are moving towards OpenJDK with third-party vendor support. Java's role in cloud-native applications and efforts to improve JVM startup times are also discussed.

  15. 15
    Video
    Avatar of bytebytegoByteByteGo·1y

    How the Garbage Collector Works in Java, Python, and Go!

    Effective memory management is crucial to prevent programs from gradually consuming more memory, leading to slower performance and crashes. Garbage collection (GC) addresses this by reclaiming memory no longer used by a program. This concept varies in languages like Java, Python, and Go. Java uses a generational hierarchy dividing memory into the Young Generation, Old Generation, and Metaspace. Python employs reference counting and a cyclic garbage collector, while Go uses a concurrent mark and sweep collector with a tricolor marking algorithm. Each approach aims to balance performance, latency, and scalability while minimizing pause times and handling memory fragmentation.

  16. 16
    Article
    Avatar of vaadinVaadin·1y

    Maven 4 is coming – Here's what you should know

    Maven 4, currently in Release Candidate 2, brings key improvements for multi-module projects and better build management. It introduces the separation of build and consumer POMs, requires Java 17, and drops support for the 2.0 plugin API. Notable changes include the addition of the Project Local Repository and several quality-of-life improvements for declaring multi-module projects. These updates aim to streamline complex builds and improve overall build reliability.

  17. 17
    Article
    Avatar of codemotionCodemotion·1y

    Top Programming Languages in 2025

    In 2025, the most popular and in-demand programming languages are Python, JavaScript, Java, TypeScript, PHP, C#, Rust, Go, Kotlin, and Swift. Python continues to dominate due to its versatility in data science and web development. JavaScript remains essential for web development. Java and C# are strong in enterprise applications. Rust and Go are gaining popularity for high-performance and cloud applications, while Kotlin and Swift are key for Android and iOS development. There's a strong demand for developers with these skills, particularly due to the digital transformation in various sectors globally and in Italy.

  18. 18
    Article
    Avatar of javarevisitedJavarevisited·1y

    Mastering Java Concurrency: Virtual Threads, Structured Concurrency & Best Practices

    Java concurrency has evolved significantly over the years. Traditional threading models were resource-intensive and challenging to manage, but Project Loom introduces virtual threads, allowing the creation of millions of lightweight threads with minimal overhead. The future includes structured concurrency, enhancing task management and debugging. Developers should start experimenting with these new tools for scalable and efficient concurrent applications.

  19. 19
    Article
    Avatar of netguruNetguru·1y

    Java Build Tools: Essential Frameworks for Modern Development

    Java build tools like Maven, Gradle, and Ant automate key development tasks such as compiling code, managing dependencies, and creating deployable packages. Maven is known for managing dependencies, Gradle for its flexibility and speed, and Ant for providing fine-grained control. Each tool has unique strengths, making the choice dependent on project needs and team expertise. Effective use of these tools enhances efficiency in Java development.

  20. 20
    Article
    Avatar of javarevisitedJavarevisited·1y

    What happens inside JVM Memory? Scope & example walkthrough.

    Understanding JVM runtime memory areas is crucial for optimizing performance, avoiding memory leaks, and improving debugging and concurrency handling. This post explains the roles, creation and destruction times, and scope of different memory areas within the JVM, using a step-by-step walkthrough of a simple Java program to illustrate how memory is allocated, stack frames are created and destroyed, and execution flow is tracked.

  21. 21
    Video
    Avatar of programmingwithmoshProgramming with Mosh·1y

    Spring Boot Tutorial for Beginners - Your First Spring Boot Application

    Learn how to build your first Spring Boot application with this comprehensive tutorial. The course covers the fundamental concepts, setting up the development environment, creating your first project, understanding dependency injection, integrating databases, and debugging techniques. It's designed to take you from beginner to proficient with practical examples and exercises. Ideal for those with a solid understanding of Java and familiar with relational databases and SQL.

  22. 22
    Article
    Avatar of javarevisitedJavarevisited·1y

    Top 5 Books to Learn Core Java Programming from Scratch in 2025

    Discover the top 5 core Java books for beginners in 2025, chosen for their readability, examples, and comprehensive content coverage. These books will help both new learners and those with some Java experience to master essential Java concepts. Combining these books with online courses can further enhance understanding and learning speed.

  23. 23
    Article
    Avatar of inside_javaInside Java·1y

    Modern Java Deep Dive – Inside.java

    Java 22 and 23 introduce numerous features, including unnamed patterns, module imports, the foreign-function and memory API, stream gatherers, the class-file API, enhanced main function handling, multi-source-file program launching, Markdown support in JavaDoc, and improved garbage collection. This post covers these new, improved, and finalized aspects in detail.