Posts

Showing posts from December, 2018
Spring Boot + Crypto Vault Example Vault Configuration This guide walks you through the process of using Spring Cloud Vault to build an application that retrieves its configuration properties from HashiCorp Vault. What you’ll build You’ll start up Vault, store configuration properties inside Vault, build a Spring application and connect it with Vault. What you’ll need About 15 minutes favorite text editor or IDE JDK 1.8 or later Gradle 4+ or Maven 3.2+ You can also import the code straight into your IDE: Spring Tool Suite (STS) IntelliJ IDEA How to complete this guide Like most Spring Getting Started guides, you can start from scratch and complete each step, or you can bypass basic setup steps that are already familiar to you. Either way, you end up with working code. Install and launch HashiCorp Vault With your project set up, you can install and launch HashiCorp Vault. If you are using a Mac with homebrew, this is as simple as: $ brew install vault Al...
Microservices Using Spring Boot and Spring Cloud Microservices is the hot buzzword in software development and many organizations prefer building their enterprise applications using microservices architecture. In the Java community, Spring Boot is the most widely used framework for building both monoliths and microservices. I am planning to write a series of articles covering how to build microservices using  Spring Boot  and  Spring Cloud . In this article, we are going to learn about the following: Monoliths What are microservices? Advantages of microservices Challenges with microservices Why Spring Boot and Spring Cloud are a good choice for microservices Introducing the application Traditionally, we are building large enterprise applications in a modularized fashion (?!) but finally deploy them together as a single deployment unit (EAR or WAR). These are called monolithic applications. There are some issues with the monolithic architecture, s...
Image
Docker Tutorial with Hello World Example Docker  is a developer tool to package applications along with their runtime environment, so anybody can deploy and run them in any other machine without facing runtime environment conflicts. It is very similar to virtual machine concept ( virtualization ), where you can get a VM image and run it on any supporting hardware. All internal programs in VM will function as they were packaged originally. Difference between a VM and a docker image  is that docker image does not package whole virtual operating system. It uses the OS resources just like other process in developer’s machine, only application and it’s runtime specific dependencies are packaged ( Containerization ). Docker allows users to publish docker images and consume those published by others in repositories like  Docker Hub . In this tutorial, learn to  install Docker container in windows , to  create docker image  and to  deploy Docker i...