Written by Anil kumar Sahoo Fullstack developer.

In this article, we will learn about how to deploy multiple war files in a single elastic beanstalk account.

Bundling multiple WAR files for Tomcat environments.

To reduce resources and optimize the server cost we can deploy multiple WAR files in a single elastic beanstalk environment.

To deploy multiple web applications to your environment, combine each component’s web application archive (WAR) files into a single zip file.

The zip file contains multiple WAR files, organizes the WAR files using the following structure.


Written by Anil Kumar Sahoo Fullstack developer.

In this article, we will learn about how to create an EC2 instance in Aws Account.

Ec2 Instance is nothing but a virtual server given by Amazon. It stands for Elastic Compute Cloud.

For this, you need an AWS account, if you don’t have an AWS account then create an AWS account, it is very simple and straight forward.

To create EC2 Resources and Launch Your EC2 Instance

  1. Sign in to the AWS Management Console


Written by Anil Kumar Sahoo Fullstack developer.

In this article, We will learn about how to create a free SSL certificate for our website. so that our website becomes secured.

To create a Free SSL certificate, I am using the ZeroSSl certificate provider. You can use any other free certificate provider.

  1. Login to ZeroSsl if you don't have an account then register
  2. Click on the “New Certificate” button.
  3. Give your domain details. Click on the Next Step.


Written by Anil kumar Sahoo Fullstack developer.

In this article, we will learn about how to use the double colon(::) operator as method reference in Java 8.

Double colon(::) operator is known as method reference in java 8.

As I said before, Normally we use lambda expressions to create anonymous methods. However, sometimes a lambda expression does nothing but it just calls an existing or predefined method. In those cases, it’s often clearer to refer to the existing method by name. Double colon(::) operator enable to do this.

In simple words, the functionality of the Double colon(::) operator is, Instead…


Written by Anil Kumar Sahoo Fullstack developer.

  1. git config

It is Used to configure the author's name and email address to be used with your commits. In simple words tell Git who you are.

// set user name 
git config --global user.name "Anil kumar"
// set email address
git config --global user.email anilkumarsahoo17@gmail.com

2. git init

This is the first step in creating a repository. The git init command creates a new local Git repository.

git init

3. git clone

To copy a git repository from a remote or local source. …


Written by Anil kumar Sahoo Fullstack developer.

In this Article, we will learn about how to convert java.util.Date to java.time.LocalDate and java.time.LocalDateTime .

There are multiple ways to convert java.util.Date to java.time.LocalDate or java.time.LocalDateTime. But the easiest way to convert is via Instant class which is given in JDK 8.

java.util.Date to java.time.LocalDate

  1. By using toInstance() method
way 1
way 1

2. By using Instance class ofEpochMilli() method


Written by Anil kumar Sahoo Fullstack developer.

In this article, we will learn about how to install iReport Designer in Windows Operating System.

iReport not starting using JRE 8

iReport 5.6.0 Application was not in JDK 8 but it supports in JDK 7.

To Install iReport In windows OS you need to install JDK7.

You can install both JDK8 and JDK7 in your system.

Procedure to install

First Download iReport.exe file from the below link.

https://community.jaspersoft.com/project/ireport-designer/releases

Then install the iReport application as normal .exe file installation

Open ireport.conf file in a normal text editor.

change the JDK home to your Jdk7 path

jdkhome=”C:\Program Files\Java\jdk1.7.0_80"

Now run iReport Application it will open.


Written by Anil kumar Sahoo Fullstack developer.

In this article, we will learn about how to configure SSL in HAProxy Load balancer. So that all HTTPS and HTTP Request comes to HAproxy load balancer then redirects to the HTTP backend server.

Here I am using ZeroSSL certificate you can use any other SSL certificate provider (Godaddy, comodo any other ) the process remains the same.

As shown in above Figure all HTTPS/HTTP request comes to HAproxy and Haproxy terminate all (both HTTPS/HTTP request ) request to HTTP.

To install SSL certificate to HAproxy, we need to have the below files.


In this article, we’ll illustrate how to configure Spring boot profile for the tomcat server.

Spring 3.1 onwards Spring team introduces a very use full concept call Profiles so that we can build a single package(jar, war) and that can be run/deployed in all environments (development, test, production ).

Eclipse Tomcat:

To configure Profiles in eclipse tomcat you have to add one parameter in VM arguments.

For that you have to go run -> configurations and choose your Tomcat server then add “-Dspring.profiles.active=dev” to VM arguments.

-Dspring.profiles.active=dev

External Tomcat :

To configure profiles in external tomcat there are multiple ways.

  1. Through “catalina.properties” file
  2. Create a…

Anil kumar Sahoo

Software Engineer(Web Development) passionate about Java

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store