Annotations in Java

September 22, 2019 Vikash 0

Annotations has introduced in jdk 1.5 version. Before that XML was extensively used as metadata, it was quite difficult while having any complex configurations and configurations got difficult while maintenance for XML configuration. For the development point of view, it required something in the place of xml configuration that can […]

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 […]

Building a Spring boot Initializr Project

August 20, 2019 Vikash 0

As We know that the spring boot is the advance feature over the normal spring framework using with maven or gradle. Previously with spring framework there was a lot of configurations were required to perform dependency injections or, mvc (model view controller). All setup was done through by adding spring […]

Implementation of HATEOAS driven apis in Springboot

July 17, 2019 Vikash 2

  In Spring boot, HATEOAS stands for “Hypermedia as the engine of application state”. Basically, it concerns with the term Hypermedia. That will be able to provide the ease access of Rest web services with the help of hypermedia driven link. Which will produce fetching or, creating CRUD operation over […]

Concurrency in Java 8

June 22, 2019 Vikash 0

In programming language terminology Concurrency term refers to Multithreading. Basically, multithreading is a type of execution model which will allow multiple threads which exist within the context of a process so that they all can execute independently but they can share their process resources. The  Java memory model describes how […]

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 […]