spring boot

  • Multiple Spring Boot Applications in the Same Project

    I frequently use Spring Boot in my demos. The latest one is no different, showing how to achieve CQRS using two different code paths.

    Read more
  • Book Review: “Effortless Cloud-Native App Development Using Skaffold” (2)

    Skaffold is a cloud native open source framework from Google that lets SpringBoot devs build Kubernetes apps easily and deploy effortlessly!

    Read more
  • Better Error Handling for Your Spring Boot REST APIs

    One of the things that distinguishes a decent API from one that is a pleasure to work with is robust error handling. Nothing is more frustrating than using some API and getting back cryptic errors where you can only guess why the server is not accepting your request.

    Spring Boot lets you customize the error handling for your application, but there is quite a lot of low-level coding involved if you want to do this correctly.

    Read more
  • New Book: “Taming Thymeleaf”

    Spring Boot is heavily promoted as the best way to write REST API’s in Java, but it can also be used as a very good alternative to Laravel/PHP, Rails/Ruby, or Django/Python to write server-side rendered HTML for Java developers.

    When combining the ease of use of Spring Boot with the power of Java and the easy templating of Thymeleaf, you have a very powerful combination that makes Java developers extremely productive to write web applications.

    The book Taming Thymeleaf teaches you step-by-step how to get started with those technologies and build a fully fledged web application including security, validation, internationalization, testing and more.

    Read more
  • Creating a Simple Spring Boot Application in IntelliJ IDEA

    In this tutorial, we’ll use the New Project Wizard in IntelliJ IDEA to create a Spring Boot project with the Spring Web dependency.

    We’ll also create a Spring Controller and served some text to the local Tomcat webserver.

    Finally, we’ll add a test for our HTTP call.

    Read more
  • Your own custom Spring Data repository

    Functional Programming is becoming more and more popular. Spring provides a couple of DSLs for the Kotlin language. For example, the Beans DSL and the Routes DSL allow for a more functional approach toward Spring configuration. On the type side, Vavr (previously Javaslang) is pretty popular in Java, while Kotlin has Arrow.

    In this post, I’d like to describe how one can use Arrow’s type system with Spring Data. Ultimately, you can benefit from the explanations to craft your custom Spring Data repository.

    Read more
  • Kicking Spring Native’s Tires

    I’ve been playing with GraalVM Ahead-Of-Time compilation capability since I became aware of it.

    As a long-time Spring aficionado, I carefully monitored the efforts that the engineers at Tanzu have put into making Spring AOT-compatible. Recently, they announced the beta version of the integration.

    In this post, I want to check how easy it is to produce a (working!) Docker image from an existing Spring Boot application.

    Read more
  • Running Spring Boot Applications on OpenShift

    Learn how to deploy a Spring Boot application on OpenShift (Minishift).

    Cloud platforms have dramatically changed the way we develop and deploy modern applications. Not so long ago, everything was on-premise infra. However, things have changed dramatically over the years. Now, there are a number of vendors offering solutions for different cloud computing models, i.e., Saas, Paas, and Iaas.

    This article will cover Openshift developed by Redhat, which comes under the Paas cloud computing model.

    Read more
  • Monitoring Across Frameworks: Spring Boot, Micronaut, Quarkus, and Helidon

    Gone are the times when developers’ jobs ended with the release of the application. Nowadays, developers care more and more about the operational side of IT: perhaps they operate applications themselves, but more probably, their organizations foster increased collaboration between Dev and Ops.

    I started to become interested in the Ops side of software when I was still a consultant. When Spring Boot released the Actuator, I became excited. Via its convention-over-configuration nature, it was possible to add monitoring endpoints with just an additional dependency.

    Since then, other frameworks have popped up. They also provide monitoring capabilities. In this article, I’d like to compare those frameworks concerning those capabilities.

    Read more

Subscribe to foojay updates:

Copied to the clipboard