Spring Cloud Connectors and Heroku 1. Overview In this article, we’re going to cover setting up a Spring Boot application on Heroku using Spring Cloud Connectors. Heroku is a service that provides hosting for web services. Also, they provide a large selection of third-party services, called add-ons, that provide everything… Continue Reading spring-cloud-heroku

Introduction to MockServer 1. Overview MockServer is a tool for mocking/stubbing external HTTP APIs. 2. Maven Dependencies To make use of MockServer in our application, we need to add two dependencies: <dependency> <groupId>org.mock-server</groupId> <artifactId>mockserver-netty</artifactId> <version>3.10.8</version> </dependency> <dependency> <groupId>org.mock-server</groupId> <artifactId>mockserver-client-java</artifactId> <version>3.10.8</version> </dependency> The latest version of the dependencies is available as… Continue Reading mockserver

org.springframework 1. Introduction The Spring Framework provides a clean and expressive programming and configuration model for modern Java-based enterprise applications that can run on any deployment platform. This article covers the high-level overview of the Spring framework and mainly, the org.springframework package which provides support for dependency injection, transaction management,… Continue Reading org-springframework

Spring Cloud – Securing Services 1. Overview In the previous article, Spring Cloud – Bootstrapping, we’ve built a basic Spring Cloud application. This article shows how to secure it. We’ll naturally use Spring Security to share sessions using Spring Session and Redis. This method is simple to set up and… Continue Reading spring-cloud-securing-services

Constructor Dependency Injection in Spring 1. Introduction Arguably one of the most important development principles of modern software design is Dependency Injection (DI) which quite naturally flows out of another critically important principle: Modularity. This article will explore a specific type of DI technique called Constructor-Based Dependency Injection within Spring… Continue Reading constructor-injection-in-spring