Maven

Packaging war, jar modules into ear

Introduction Here we will see the process of packaging war, jar modules into ear file. EAR, aka, Enterprise Archive, in which all files (.jar and .war) are packaged as JAR file with .ear (enterprise archive) extension and deployed into Application Server. WAR, JAR and EAR EJB modules which contain enterprise java beans (class files) and […]

How to encrypt user passwords in maven ~/.m2/settings.xml file

Introduction Here we will see how to encrypt user passwords in maven’s ~/.m2/settings.xml file. The maven’s configuration file, settings.xml , which has all the required configurations such as repository, server etc. Problem Now, for example, when you want to access the protected repository, you need to use your credentials(username/password) to access the repository for downloading […]

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

Analyze Code Quality of Java Application using SonarQube

This tutorial will show you how to analyze code quality of Java applications using SonarQube. Maintaining the quality of code is an important part of the application and it is required to find out any bugs, issues in the developed code so that we can remove any kind of vulnerabilities from the application before moving […]

Creating Multi-Modules Maven Project in Eclipse

Introduction In this tutorial I will explain you how to create multi-modules maven project in Eclipse. This kind of project is a good design when you want to group similar projects and reduce the duplication in code. A multi-module project is built from a parent pom that manages a group of submodules. In most cases, […]

Setup Mule, Maven and JDK in Windows

I will show you how to setup Mule, Maven and JDK in Windows environment. Prerequisites Mule Studio 3.x(Anypoint Studio) (Download from https://www.mulesoft.com/platform/studio) Maven 3.2.1 (Download from https://maven.apache.org/download.cgi?Preferred=ftp://mirror.reverse.net/pub/apache/) JDK 1.7 (Download from http://www.oracle.com/technetwork/java/javase/downloads/index.html)

Contract First SOAP Web Service

Introduction This tutorial will show you how we can create and publish SOAP based webservice in Contract-first approach using Apache cxf, Spring and Maven. There are mainly two approaches to create the Webservice – Contract-first & Contract-last. The Contract-first approach tells us to create first WSDL and then create end-point interface and implementation class. The […]

Scroll to top