Manage Jenkins – Configuring JDK, GIT and Maven

Here I will show you how to manage Jenkins – configuring JDK, GIT and Maven installations. We build mainly Java applications (also .NET applications) using Jenkins. Therefore we need to have everything which are required to perform build operation of Java applications, i.e., we need to have JDK, GIT or SVN or any other source repository and Maven or Gradle in order to build the applications.

You may also like to read:

Jenkins setup in Windows

Creating and building jobs in Jenkins

Jenkins: Detecting the current branch failed: ref HEAD is not a symbolic ref

Deploy both war and jar files into Nexus using maven in Jenkins

Continue reading “Manage Jenkins – Configuring JDK, GIT and Maven”

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 to the production.

Continue reading “Analyze Code Quality of Java Application using SonarQube”

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)

Continue reading “Setup Mule, Maven and JDK in Windows”

Maven setup

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. Continue reading “Maven setup”

Contract-first Webservice

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 Contract-last approach tells us to create first end-point interface and implementation class then create WSDL file.

For this tutorial we will create one maven 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 project in Eclipse. Continue reading “Contract-first Webservice”

Generic way of writing data to multiple sheets in excel using apache poi

With this example I will show you how to create an excel file and write any kind of list of objects to multiple sheets in excel file using Apache POI in Java language.

The Apache POI is to create and maintain Java APIs for manipulating various file formats based upon the Office Open XML standards (OOXML) and Microsoft’s OLE 2 Compound Document format (OLE2). You can read and write MS Excel files using Java. In addition, you can read and write MS Word and MS PowerPoint files using Java. Apache POI is the Java Excel solution (for Excel 97-2008).

For more information please go through https://poi.apache.org/

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 project in Eclipse. Continue reading “Generic way of writing data to multiple sheets in excel using apache poi”

Generic way of writing data in excel using apache poi

The example is about generic way of writing data in excel using apache poi. With this example I will show you how to create an excel file and write any kind of list of objects to excel file using Apache POI in Java language.

The Apache POI is to create and maintain Java APIs for manipulating various file formats based upon the Office Open XML standards (OOXML) and Microsoft’s OLE 2 Compound Document format (OLE2). You can read and write MS Excel files using Java. In addition, you can read and write MS Word and MS PowerPoint files using Java. Apache POI is the Java Excel solution (for Excel 97-2008).

For more information please go through https://poi.apache.org/

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 project in Eclipse. Continue reading “Generic way of writing data in excel using apache poi”

Consume SOAP Webservice using Apache CXF, Spring, Maven

This tutorial will show you how we can consume SOAP based webservice using Apache cxf, Spring and Maven. For this tutorial we will create one maven standalone project in Eclipse. Please go through the tutorial first https://www.jeejava.com/create-soap-webservice-using-apache-cxf-spring-maven/

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 project in Eclipse.

Continue reading “Consume SOAP Webservice using Apache CXF, Spring, Maven”