Author: Arpit Mandliya
- 08 August
Spring boot profiles example
In this tutorial, we will see about Spring boot profiles. Need for profiles Application development is complex process. You might have different environment for application development. Dev SIT QA Prod We require different configuration based on the environment. For example: Using a different database or different queues. Let’s create a simple spring boot application. Step […]
- 08 August
Spring Profile annotation example
In this tutorial, we will see about Spring @Profile annotation. This tutorial is an extension to Spring boot profile example. Profile annotation represents named logical grouping may be activated via By using ConfigurableEnvironment.setActiveProfiles(java.lang.String...) By setting the spring.profiles.active property as a JVM system property, as an environment variable, or as a Servlet context parameter in web.xml for web applications. You […]
- 04 August
LRU cache implementation in java
If you want to practice data structure and algorithm programs, you can go through Java coding interview questions. In this post, we will see LRU cache implementation in java. Problem Design a Least recently used cache implementation in java. It should have below properties. bounded size: It should have bounded size to take care of memory limits. […]
- 02 August
Jhipster : Create Spring Boot + Angular/React applications
In this tutorial, we are going to see about JHipster. JHipster is a powerful development tool to generate, create and deploy spring boot and angular js or react js application faster. It will create an application for you in no time and it provides a lot of out of the box features such as logging, […]
- 01 August
Count Factorial Trailing Zeroes in java
In this tutorial, we will see how to count trailing zeros in factorial of a number in java. Problem Count number of zeros in factorial of number in java. For example: Factorial of 6 is 720, so a number of trailing zeros is 1. Factorial of 14 is 87 178 291 200, so a number […]
- 21 July
Jenkins tutorial
In this tutorial, we will see about Jenkins tutorial. Before going to Jenkins, let’s first understand continuous integration. What is continuous integration? Developer commits code to the shared repository on a regular basis. As soon as the new commit is detected, a build will be automatically triggered and tested If the build is not successful, developers […]
- 21 July
Install Jenkins on Mac OS X
In this tutorial, we will see how to install Jenkins on Mac OS X. Step 1:Open browser and enter URL https://jenkins.io/download Step 2:Scroll down the page until you see the Mac OS X section then click on it. This will start the download for a Mac installation package. Once the download is complete, click on […]
- 19 July
Dropwizard validation example
In this tutorial, we will see about Dropwizard validation example. As discussed in the previous dropwizard tutorial, hibernate validator is packaged with Dropwizard, so whatever validations you can put with hibernate validator, you can do same with Dropwizard as well. Resource endpoint validation You can validate almost anything at resource end point. Let’s take a […]
- 19 July
Dropwizard tutorial
In this post, we will see about Dropwizard tutorial. Dropwizard is java framework to develop high-performance restful web services faster. It will use some of the stable libraries to create simple,light-weight package so that you can actually focus on business logic rather than worrying about configuration. Dropwizard provides out of the box support for configuration, […]