Introduction Here I will show you how to encrypt user passwords in maven’s ~/.m2/settings.xml file. The user here is the person who is going to access the remote maven’s protected repository. The maven’s configuration or setting file, settings.xml , which contains all the required configurations such as repository, server etc will be updated here. Problem…

Posted in Maven

How to encrypt User Passwords in Maven ~/.m2/settings.xml File

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…

Posted in Gradle Kotlin Maven

Creating Kotlin Project in Eclipse

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

Posted in Gradle Maven SOAP

Generating stubs from multiple WSDL files using Maven or Gradle

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 applications or projects and reduce the duplication in code. A multi-module project is built from a parent pom that manages a group of submodules. In…

Posted in Maven

Creating Multi-Modules Maven Project in Eclipse

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)

Posted in Maven Mule ESB

Setup Mule, Maven and JDK in Windows

This tutorial will show you how to setup Apache Maven in development environment. Prerequisites Maven is a Java tool, so you must have Java installed in order to proceed. Maven 3.3 requires JDK 1.7 or above to execute. So first install Java 1.7 and setup environment path for Java.

Posted in Maven

Maven setup

This tutorial will show you how we configure Spring MVC, maven and Tomcat 7. For this tutorial we will create maven based web project in Eclipse. If you already have an idea on how to create a maven project in Eclipse will be great otherwise I will tell you here how to create a maven…

Posted in Maven Spring MVC

Spring Web MVC

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…

Posted in Maven SOAP

Contract First SOAP Web Service

This tutorial will show you how you can consume SOAP based webservice which is built using Apache cxf, Spring. This is client side application and it consumes the service which I build earlier. The server side application is here at https://roytuts.com/create-soap-webservice-using-apache-cxf-spring/ I am using gradle and maven as build tools for this application.

Posted in Maven SOAP

Consume Apache CXF, Spring based SOAP Webservice

In this tutorial I will show you how you can publish SOAP based web service using Apache cxf, Spring. I am going to use Spring Boot framework to create this SOAP service application. I am using both gradle and maven as build tools. SOAP stands for Simple Object Access Protocol that works on various protocol…

Posted in Maven SOAP

Create SOAP Webservice using Apache CXF, Spring

Introduction This tutorial will show you what is the purpose of using immeditae attribute in JSF. Although the request processing lifecycle processes the different phases in a consistent manner, the execution order of the phases can be altered for special cases. For example, you may want to add a Cancel button to a form. When…

Posted in Java JSF Maven

Immediate attribute example in JSF

This tutorial will show you how we can configure JSF 2.x, maven and Tomcat 7. For this tutorial we will create maven based web project in Eclipse. If you already have an idea on how to create a maven project in Eclipse will be great otherwise I will tell you here how to create a…

Posted in Java JSF Maven

JSF 2, Maven and Tomcat 7 Configuration