Setting up JBoss Application server in Eclipse IDE

August 23, 2019 Chandra Mani Gupta 0

There are time when you need to continuously develop, deploy and test your web application or rest services in java domain. If you are using any external application server (one not configured with your IDE), first you have to create war file and then make the deployment. This will kill […]

Convert List To Comma Separated String In Java

June 8, 2019 Chandra Mani Gupta 0

Recently I came across a small requirement where I would receive country codes in list of String from User Interface and in the back-end i had to convert it into comma separated String and store in database. In this article, we will explore what are all the ways to convert […]

Insert File Into MySQL Database In Java

February 3, 2019 Chandra Mani Gupta 2

Introduction Sometimes we have a requirement to insert file into database rather then storing it in the file system. For a developer, it is always hard to decide this. You can find good discussion in different forums on web over storing the file either in database or file system. I […]

Custom Banners In Spring Boot

January 27, 2019 Chandra Mani Gupta 0

Introduction As soon as you run your spring boot application, it comes up with a default banner. Have you ever thought that you can easily change that banner with very little configuration ? Well, then this article is for you. Here we will see how to customize the spring boot […]

Spring Boot Restful API Documentation With Swagger 2

January 20, 2019 Chandra Mani Gupta 1

Introduction APIs that you design are meant to be consumed by your probable clients or consumers. So, it becomes more important that they understand it quickly and put it into implementation. It is therefore essential to document your api. API documentation is a technical artifact where you learn about endpoints, […]

Code-Adda: Building Restful webservice With Jersey And Spring Boot

Building Restful Webservices With Jersey And Spring Boot

January 14, 2019 Chandra Mani Gupta 0

In this article we are going to see how to develop restful web service using JAX-RS specification along with Spring Boot.  This will be a step-by-step tutorial using Jersey implementation combined with the power of Spring Boot + DevTools + JPA + Lombok + H2 in-memory database to demonstrate CRUD […]

Scheduling Task In Spring Boot

January 7, 2019 Chandra Mani Gupta 6

In this article we will build a simple spring boot application where we will schedule a task that gets triggered automatically at a certain interval. Scheduling is an important concept when we want to accomplish a certain task at a certain time of day, or periodically at a certain interval […]

Integrating Spring Boot with H2 In Memory Database

December 25, 2018 Chandra Mani Gupta 8

Hey Folks, I hope you are doing great. In this article, you will learn how to integrate H2 In-Memory database with your spring boot application. We will create rest service offering all CRUD operations in spring boot where some records will be initialized in H2 database table with the help […]

How To Enable SSL or HTTPS In Apache Tomcat 8

June 23, 2018 Chandra Mani Gupta 0

In this article we are going to see how to enable SSL in Apache Tomcat Server 8 and automatic redirect http to https. All we need is a Self-Signed-Certificate and do some configurations. There are many tools/utilities available to generate the certificate. We will be using KEYTOOL which comes along […]

Enable HTTPS with Self-Signed-Certificate in Spring Boot

June 7, 2018 Chandra Mani Gupta 8

Hello Spring Boot enthusiasts, I am back again with another article. I hope you enjoyed my last article on different spring boot deployment strategies.  In today’s article, I will demonstrate how to enable SSL/HTTPS in embedded servlet container with a self-signed certificate and access spring boot application over HTTPS scheme. […]