Gradle

Create Microservices using Spring Boot 2.1 and build using Gradle

Introduction Here we will see how to create Microservices using Spring Boot and Spring Cloud and build using Gradle tool. What are Microservices? Before I tell you about the microservices, I woul like to tell you about monolithic architectural style, which is built as a single, autonomous unit. So let’s say an web application with […]

Integrate H2 In-memory Database with Spring Boot 2.1 and build using Gradle

This tutorial will show you how to integrate in-memory H2 database with Spring Boot 2.1 and build using Gradle tool. We will see here simple JPA example to understand how it works. What is an in-memory database? An in memory database is created when an application starts up and destroyed when the application is stopped. […]

Utility classes should not have a public or default constructor – Spring Boot

Introduction The error, utility classes should not have a public or default constructor, you notice mainly in utility classes where you have declared your  class method(s) as public static and your class does not have private constructor as well as your class has not been declared as final. This error occurs due to the checkstyle […]

How to use checkstyle plugin in gradle based project

We will see here how to use checkstyle plugin in gradle based project. Checkstyle is a static code quality tool used to find Fan-out complexity of a class, complexity of method, utility class, bugs due to not following coding standards etc. so that we can remove the complexity from our Java source code and make […]

Building Mule Apps with Gradle in Eclipse

Building Mule Apps with Gradle in Eclipse, i.e., you are going to create Mule project outside Mule Studio. We will build the Mule project in Eclipse using Gradle script. Gradle is becoming more and more popularity as a build system. It combines the power of scripting with the simplicity of conventions, where customization does not […]

Integrate npm web app in Spring Boot with Gradle

Integrate npm web app in spring boot with gradle is basically a multi-module project as we have seen in our earlier tutorials here with maven build in spring boot and here with maven in Eclipse. But the example on integrate npm web app in spring boot with gradle uses gradle to build the project. Here […]

Creating Kotlin Project in Eclipse

In this tutorial I will show you how to create Kotlin project in Eclipse. This example shows you how to create Kotlin gradle project or Kotlin maven project. Kotlin is statically typed programming language for modern multiplatform applications. Kotlin has 100% compatibility with Java or vice-versa. Salient Features of Kotlin Drastically reduces the amount of […]

Evolving Database using Spring Boot and Liquibase

When developing web application, it is important to consider how to create schema for production and evolve the database schema going forward of a Java web application. Liquibase is an open source library for tracking, managing and applying database changes that can be used for any database. It helps you create the schema, run them […]

Spring Boot Activiti – Process Engine Configuration

We have seen in our previous tutorial Spring boot activiti example how Business Process Management works using Activiti framework. In my previous tutorial I have used the default behavior of the process engine. In this tutorial I will show you how you can bootstrap the process engine using Spring JavaConfig to create our own spring boot activity […]

Generating stubs from multiple WSDL files using Maven or Gradle

Introduction In this post we will see an example on generating stubs from multiple QSDL files using Maven or Gradle plugin. Let’s say, you are given a WSDL file and you want to generate Java class from it, then you need to do some configurations in your maven or gradle project to automate the activities. […]

Scroll to top