Uncategorized

Create Password Protected Excel using Apache POI

Create Password Protected Excel Using Apache POI

In the previous tutorials we saw how to read and write Excel files using the Apache POI library. In this tutorial we will see how to create password protected excel using Apache POI. There are 2 types of password protections offered in Excel:

Eclipse Maven Plugin

Eclipse Maven Plugin

In one of our previous tutorials we saw how Maven Eclipse Plugin can be used to convert a Maven project into an eclipse project. Eclipse similarly has a Maven plugin. In this tutorial, we will have a detailed look at the Eclipse Maven Plugin.

Maven Tomcat Plugin

In this tutorial we will see how to configure and use the Maven Tomcat Plugin for Tomcat 7. We can readily use the Maven Tomcat Plugin to perform common tasks like deploy, undeploy, start, stop etc.

Maven eclipse plugin

Maven Eclipse Plugin

Although Maven does a great job in creating projects, handling dependencies etc, but we would still most probably be using an IDE for editing the code. Eclipse is one of the most popular IDEs for Java projects (although it can handle a wide variety of projects other than Java as well). In this tutorial we […]

Introduction to Maven Plugins

In this particular post in the series of tutorials for Maven, we will have a quick Introduction to Maven Plugins and see some of the commonly used plugins Maven can be described as a plugin execution framework. Maven by itself does not offer a lot of functionality. It will basically pass on all the responsibilities […]

Create Web Application using Maven

Create Web Application using Maven

In the previous tutorials we went through the basics of Maven, saw how to set it up and created a basic Java application. We also saw how to run different phases of build lifecycle like compile, package etc using Maven. In this tutorial we will see another example, this time we will create web application […]

Dependency Management in Maven

Dependency Management in Maven

In this tutorial we will have a look at the Dependency Management in Maven. Java based projects most often make use of external libraries in the form of jar files. Some of the commonly used libraries are Struts, Hibernate, Spring and so on. For a problem free build and deployment of the Java project, it […]

Maven Tomcat Plugin

Maven phases

In the previous tutorial, we used the compile and package keywords. These are called as phases. The build Maven phases are covered in greater details in this tutorial. Maven is based on central concept of the build lifecycle. A typical build lifecycle will have phases like compile, test, package etc. Maven analogously, has corresponding commands […]

Compiling your Maven Project

Compiling your Maven Project

In this tutorial we will see in detail how to compile your Maven project. We will be using the sample project that we created in our previous tutorial, however you can run most of the commands listed in this tutorial on any Maven based projects (If case you want to use your own project, just […]

Create your first project with Maven

Create your First Project with Maven

In the previous tutorial we saw how to download and install Maven. In this tutorial, we will see how to create your first project with Maven. If you don’t have Maven downloaded and installed yet please follow this link. We will be creating a simple Java project with main() function. Lets get started.