Black Friday Deals For Authors Are On Now!

Leanpub Header

Skip to main content

Filters

Category: "Java"

Java

New to Java? Read the Java article

  1. Modern frontends with htmx
    Modern frontends with htmx
    Use htmx with Spring Boot and Thymeleaf to build dynamic and interactive web application
    Wim Deblauwe

    Imagine creating dynamic, interactive web applications with minimal JavaScript. That’s the revolutionary promise of htmx, a technology that redefines frontend development. This book is your gateway to mastering htmx alongside Java, Spring Boot, and Thymeleaf, transforming the way you build web interfaces.

  2. Functional programming in Modern Java

    Write code that you can understand without holding the entire system in your head. This book shows you how Java's modern functional features—records, sealed types, lambdas, streams—combine into a powerful approach to design. You'll learn: • How to eliminate race conditions without synchronized blocks • How to write tests that test business logic, not mock frameworks • How to compose complex behaviors from simple, reusable functions • How to manage deeply nested immutable data without boilerplate • How to adopt functional patterns incrementally in existing codebases Written for working developers. Filled with production-ready code examples.

  3. Spring Boot 4 In Practice
    Spring Boot 4 In Practice
    A Complete Guide to Spring Framework 7 and Modern Spring: from your first endpoint to production, native images, and the Boot 3 → 4 migration
    Jitin Kayyala

    Learn Spring Boot 4 the way it's used in production: virtual threads, native images, API versioning, security, observability and a safe Boot 3 to 4 migration. 27 chapters, 336 pages and real code, plus a fundamentals primer for newcomers. Complete, up to date and free to update.

  4. Hands-On Java with Kubernetes

    Build. Deploy. Scale.Take your Java skills to the cloud-native level with Hands-On Java with Kubernetes. From your first Spring Boot or Quarkus app to production-ready deployments with CI/CD, observability, and service mesh—you’ll learn by doing, not just reading. Ideal for developers who want to master Kubernetes without getting bogged down in YAML configuration.

  5. Jetpack Compose internals

    Jetpack Compose is the future of Android UI. Master how it works internally and become a more efficient developer with it. You'll also find it valuable if you are not an Android dev. This book provides all the details to understand how the Compose compiler & runtime work, and how to create a client library using them. You could also be interested on the Jetpack Compose Internals course by Jorge Castillo. Find it in composeinternals.com

  6. Study Guide for Spring
    Study Guide for Spring
    A study guide to master the Spring Framework fundamentals and advanced topics.
    Vincent VAUBAN

    Master Spring the smart way with a theory-first guide organized around real-world Spring Framework competencies. Clear explanations, annotated code, and simple diagrams build strong mental models—so you learn faster and feel confident when validating your knowledge (no practice questions, just the essentials).

  7. Building REST APIs with Spring Boot 4.0
    Building REST APIs with Spring Boot 4.0
    Practical and code-first learning for Java developers to build, test and deploy applications using Java 21
    GitforGits | Asian Publishing House

    What you've got here is a hands-on walkthrough of Spring Boot 4.0, where we'll build a single application from start to finish, using the command line and then packaging it as a JAR at the end. Each chapter adds one real capability, like a REST endpoint, a database, an error handler, a security layer or a test suite. Each chapter gets straight into the code, and you can run, modify and break it to see what happens.There's even a dedicated troubleshooting chapter at the end that deals with the exact errors beginners actually encounter in practice, not just hypothetical ones.

  8. High-Performance Java Persistence
    High-Performance Java Persistence
    Get the most out of your persistence layer
    Vlad Mihalcea

    A high-performance data access layer must resonate with the underlying database system. Knowing the inner workings of a relational database and the data access frameworks in use can make the difference between a high-performance enterprise application and one that barely crawls.

  9. Get Your Hands Dirty on Clean Architecture (2nd edition)
    Get Your Hands Dirty on Clean Architecture (2nd edition)
    A Hands-on Guide to Creating Clean Web Applications with Code Examples in Java
    Tom Hombergs

    A good software architecture should keep the cost of development low over the complete lifetime of an application. This book discusses how the Hexagonal Architecture style tries to fulfill this goal and translates the concepts into actual code to provide inspiration for software developers.

  10. Design Patterns in Modern Java

    Java has changed. Have your patterns kept up?The Gang of Four wrote their landmark patterns in 1994 — when Java didn't exist, generics were a decade away, and "concurrency" meant carefully managing a handful of platform threads. Thirty years later, Java 21 through 25 has transformed the language: records replace boilerplate classes, sealed interfaces model closed type hierarchies with compiler enforcement, pattern matching eliminates entire categories of unsafe casting, and virtual threads make a million concurrent tasks not just possible but routine.Modern Java Design Patterns bridges that gap. Every classic pattern is shown first in its original form, then systematically rebuilt with the language features that exist today. The result is code that is shorter, safer, more expressive, and immediately recognisable to any team working on a modern Java codebase.

  11. Modern Java - The Mindset Shift
    Modern Java - The Mindset Shift
    Pradeep Kumar Laxminarayana

    Modern Java is more than a collection of new language features—it is a shift from implementing mechanics to expressing intent. Learn how records, sealed types, pattern matching, streams, modules, virtual threads, and other modern capabilities help you build Java software that is clearer, safer, and easier to evolve.

  12. Mastering Regular Expressions
    Mastering Regular Expressions
    A Complete Guide for Developers Across Languages and Platforms
    Steve Publications

    Regex doesn't have to feel like cryptic punctuation. Mastering Regular Expressions shows you how patterns really work, how to debug them when they don't and how to use them confidently across nine programming languages. Go beyond memorizing syntax and learn to write regex that's clear, efficient and portable.

  13. Secure All The Things!
    Secure All The Things!
    (with Spring Security)
    Josh Long

    UPDATE: Please don't pay for this!! It's free. Please just take it for free. I'd much rather give it away. Even when it's done, it'll still be free. I'm 100% NOT trying to make money on this. Tell your friends, and be sure to read it. Your applications lives and runs in more places - MCP, desktop applications, browser-based application, data integration pipelines, gRPC, browsers, etc. - than ever. Can your security framework keep up? If you're using Spring Security, then it definitely can, and this book - by Spring Developer Advocate Josh Long - will show you how.

  14. Del Objeto al Dato
    Del Objeto al Dato
    Data-First Design en Java 21–27
    Jorge Aguilera
    No Description Available
  15. A Short Guide to Naming
    A Short Guide to Naming
    Understand how and why to better name modules, classes, functions, and variables.
    Tim Ottinger

    if you've read my chapter on naming in a famous software book (first or second edition) you may want to go a little deeper. Same author, same topic, all-new content!