Java Tools



What is Ant?

Apache Ant (Another Neat Tool) is an open source project started by Apache Software Foundation. 
Ant is a Java library and a software tool used for automate software build processes such as compile, run, test and assemble Java application.

What is JUnit?

It is an open-source testing framework for java programmers. 
It is one of the unit testing framework. Current version is junit 4.
To perform unit testing, we need to create test cases. 
The unit test case is a code which ensures that the program logic works as expected.
The org.junit package contains many interfaces and classes for junit testing such as Assert, Test, Before, After etc.


1) What is Maven?

Maven is a project management tool. It is based on POM (Project Object Model).

2) What is the difference between Ant and Maven?

Ant

It is a toolbox.
It is mainly a build tool.
There is no life cycle.
Ant doesn't have formal conventions.
Ant is procedural.
The ant scripts are not reusable.

Maven

It is a framework.
It is mainly a project management tool.
There is alife cycle.
Maven has a convention to place source code, compiled code etc.
Maven is declarative.
The Maven plugins are reusable.

3) What is POM?

POM stands for Project Object Model. The pom.xml file contains information of project and project configuration.



What is Git?

Git is an open-source distributed version control system. 
It is designed to handle minor to major projects with high speed and efficiency. 
It is developed to co-ordinate the work among the developers. 
The version control allows us to track and work together with our team members at the same workspace.

What is SVN (Subversion)?

SVN stands for Subversion. 
It is called as SVN because of its commands (its command name svn). 
It is a centralized version control system. It is an open-source tool for version control.

SVN is used to manage the current and previous versions of files like source code, documentation, and files.
It acts as the time machine for the developers and allows them to go back and browse the history of the project.