- Updated Jan 7, 2020 In this guide, let’s create a Kubernetes cluster using Google Cloud Platform (GCP) account and connect to this cluster using GCP Cloud SDK. [ Read more ]
- Updated Feb 1, 2020 Apache ActiveMQ is the most popular open source JMS server. ActiveMQ supports Spring for configuration of the JMS client side as well as for configuring the JMS Message Broker. In this post, let’s integrate an embedded ActiveMQ JMS 5 broker (Classic version as they call it) with a simple Spring Boot application which sends/recieves data from the embedded ActiveMQ broker. [ Read more ]
- Updated Jan 3, 2020 In this tutorial, let’s configure and deploy spring cloud data flow server to pivotal cloudfoundry (PCF). For deploying streams, the Data Flow Server delegates the deployment work to Skipper Server. Hence, we shall configure and deploy Skipper server as well. [ Read more ]
- Updated Jan 3, 2020 In this tutorial, let’s use Spring provided HTTP source and LOG sink applications to create a stream and deploy it to cloudfoundry. We shall use SCDF server running locally on our machine to deploy the stream to cloudfoundry. [ Read more ]
- Updated Jan 2, 2020 Config Server for Pivotal Cloud Foundry (PCF) is an externalized configuration service, which gives us with a central place to manage an application’s external properties across all environments. Spring cloud config client applications can use Config Server to manage configurations across environments. In this tutorial, let’s deploy a sample spring cloud config client application (say..Pet Store App) which binds to Config Server. [ Read more ]
- Updated Jan 1, 2020 Swagger UI is used to generate interactive API documentation that lets you to try out the REST service calls directly in the browser. In this guide, let’s build a simple Spring Boot REST service and integrate Swagger UI to this service. This lets us to test our REST service directly in the browser using spring boot integrated Swagger UI. [ Read more ]
- Updated Jan 1, 2020 Kafka is a streaming platform capable of handling trillions of events a day. Kafka provides low-latency, high-throughput, fault-tolerant publish and subscribe data. In this guide, let’s build a Spring Boot REST service which consumes the data from the User and publishes it to Kafka topic. Let’s also create a kafka consumer which pulls the data from this topic and prints it to the console. [ Read more ]
- Updated Feb 1, 2020 Apache ActiveMQ is the most popular open source JMS server. ActiveMQ supports Spring for configuration of the JMS client side as well as for configuring the JMS Message Broker. In this post, let’s integrate an embedded ActiveMQ JMS Artemis server with a simple Spring Boot application which sends/recieves data from the embedded ActiveMQ server. [ Read more ]
- Updated Jan 1, 2020 Oauth2 is a widely used authorization framework and is supported by Spring. The Spring OAuth 2.0 Authorization mechanism manages and verifies the OAuth 2.0 tokens. These tokens are then used to access the protected resources. Without going much into theory, let’s assume a real world security problem statement and see how we can accomplish our desired solution using JDBC OAuth2 security features provided by Spring. [ Read more ]
- Updated Jan 1, 2020 Oauth2 is a widely used authorization framework and is supported by Spring. The Spring OAuth 2.0 Authorization mechanism manages and verifies the OAuth 2.0 tokens. These tokens are then used to access the protected resources. Without going much into theory, let’s assume a real world security problem statement and see how we can accomplish our desired solution using JWT (JSON Web Token) OAuth2 security features provided by Spring. [ Read more ]
- Updated Jan 1, 2020 Config Server for Pivotal Cloudfoundry is an externalized configuration service, which can be used as a central place to manage all of our cloudfoundry application’s external properties across all the environments. Cloudfoundry applications can use the Pivotal Cloudfoundry Config Server service to manage configurations across environments. In this tutorial, let’s register Config Server for Pivotal Cloud Foundry (PCF) and configure it’s git coordinates. [ Read more ]
- Updated Jan 1, 2020 In this guide, let’s add a custom actuator endpoint to Spring Boot application. [ Read more ]
- Updated Jan 1, 2020 Spring Boot exposes health information of the app through actuator endpoints. We can use health information to check the status of the running application. It can be used by a monitoring software to alert someone when the application goes down. In this guide, let’s add a custom DB health check indicator to Spring Boot application. [ Read more ]
- Updated May 29, 2021 In this post, let’s download tomcat software and setup two instances of tomcat. Let’s also test this setup by deploying a sample web app on each of the instances. [ Read more ]
- Updated Jan 1, 2020 In this post, let’s download NGINX software and setup NGINX as a load balancer for a sample application running on two instances of tomcat. In this scenario, NGINX will be setup to act as a reverse proxy. [ Read more ]