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

Method Reference in Java 8 - code-adda.com

Method References in Java 8 – Types

October 16, 2018 Vikash 0

In Java 8 method references has introduced, which will refer to methods or constructors without invoking them. These syntactic shortcuts create lambdas from existing methods or constructors. Basically, lambda expressions in Java are methods implemented without an enclosing class body and constructors created by lambdas are often referred to as constructor […]

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

No Image

Method Reference in Java 8

June 13, 2018 Vikash 1

In the place of an Anonymous class we can use Lambda expression but Sometimes, the lambda expression does nothing but call an existing method. In those cases, it’s often clearer to refer to the existing method by its name. [code lang=”java”] List digits = Arrays.asList(1,2,3,4,5,6,7,8); List numbers = map(new Integer(n), […]

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

No Image

How to deploy spring boot war in jboss

June 3, 2018 Chandra Mani Gupta 14

In this article, we will see what are different strategies to deploy spring boot applications. Spring Boot lets you focus mainly on application development without worrying about some common configurations you used to do in spring. You don’t even need to bother about deployment part while in development stage, thanks […]

No Image

Why Java 8 ?

May 15, 2018 Vikash 13

With this new release, Java 8 is introducing a completely new JVM with full packed of some really exciting features at both the JVM and programming language level. There are literally dozens of new features that make java even better than previous versions and improvement about performance and optimized coding […]

Working with Tomcat7 Maven Plugin

April 28, 2018 Chandra Mani Gupta 0

In this article we are going to create a simple web application with the help of maven-archetype-webapp and will learn how to “Working with Tomcat7 Maven Plugin”. I hope you have read my previous article on how to integrate maven plugin with eclipse IDE and also how to create a […]

Creating maven project in Eclipse

April 26, 2018 Chandra Mani Gupta 0

In this article we are going to learn how to “Creating maven project in Eclipse” IDE. If you have not installed maven plugin in eclipse, then first of all install it. Follow this article in order to install maven plugin “M2E Settings 2.0.4” in eclipse IDE. Before creating project, we […]