Blog Archives

Containerizing Spring Boot Applications with Buildpacks

Step 3: I have added a simple controller to test the application once we run the docker container of our Spring Boot app. Below is the controller code. package org.smarttechie.controller; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RestController; @RestController public class DemoController { @GetMapping public

Tagged with: , , , , ,
Posted in Containers, Java, Spring, Spring Boot

Build Reactive REST APIs with Spring WebFlux – Part3

Photo by Chris Ried on Unsplash In continuation of the last article, we will see an application to expose reactive REST APIs. In this application, we used, Spring Boot with WebFlux Spring Data for Cassandra with Reactive Support Cassandra Database

Tagged with: , , , , ,
Posted in Java, Microservices, Reactive Programming, Spring, Spring Boot

Build Reactive REST APIs with Spring WebFlux – Part2

                            In continuation of the last post, in this article, we will see the reactive streams specification and one of its implementation called Project Reactor. Reactive Streams

Tagged with: , , , , ,
Posted in Java, Microservices, Reactive Programming, Spring, Spring Boot

Build Reactive REST APIs with Spring WebFlux – Part1

                                        In this article, we will see how to build reactive REST APIs with Spring WebFlux. Before jumping into the reactive

Tagged with: , , , , , ,
Posted in Java, Reactive Programming

Jib – Containerize Your Java Application

Jib is an opensource plugin for Maven and Gradle. It uses build information to build a Docker image without requiring a Dockerfile and Docker daemon

Tagged with: , , ,
Posted in Containers, Java

Java 11 Features – Java Flight Recorder

                            In this article we will see how we can leverage Java Flight Recorder feature as part of Java 11. Earlier it was one of the commercial

Tagged with: ,
Posted in Java

Java 10 – Local Variable Type Inference

Java 10 Local-Variable Type Inference
Allows the developer to declare variable by enhancing type inference.

Posted in Java

Java 9 : Convenience Factory Methods to create immutable Collections

                             In this article we will see another JDK 9 feature to create immutable collections. Till Java 8, If we want to create immutable collections we use

Tagged with: ,
Posted in Java

jshell: The Java Shell (Read-Eval-Print Loop)

                         In this article, we will discuss jshell(Java Shell) Java 9 feature. We can explore jShell with JDK 9 Early Access Release.  As of now the general availability of JDK9 is scheduled

Tagged with: , ,
Posted in Java

Byteman – Byte code manipulation tool for Logging, Testing and Fault Injection

Byteman is a byte code manipulation tool for fault injection, testing and tracing. The Byteman agent allows to inject the rules into the existing java application with out changing the source code. You can inject the rules during the JVM

Tagged with: ,
Posted in Java
DZone

DZone MVB

Java Code Geeks
Java Code Geeks