Apache Software Foundation - Yash-777/LearnJava GitHub Wiki

Apache Software Foundation Distribution Directory

  • Apache Tomcat - apache-tomcat-7.0.37 James Duncan Davidson(the original author of Tomcat). Tomcat is primarily meant to be an application webServer(Servlet Container). An apache server is an http server wich can serve any simple http requests, servelt request get the response data. web client request(web browsers) which process the response and displays the Output(JSP)

Servlet Architecture

Servlet Interaction


Apache JMeter is the leading open-source load and performance testing tool, which tests the scale of servers and networks, and analyzes overall performance by simulating heavy loads. JMeter can run on any platform or operating system because it is a JAVA-based application.

Sample JMX Files « JMX Files « https://jmeter.apache.org/demos/

  1. JMeter can be used to test performance of both static resources such as JavaScript and HTML, as well as dynamic resources, such as JSP, Servlets, and AJAX.
  2. JMeter can discover maximum number of concurrent users that your website can handle
  3. JMeter provides a variety of graphical analyses of performance reports.

Performance Testing using Jmeter « https://www.guru99.com/jmeter-performance-testing.html


  • Apache MAVEN - apache-maven-3.3.9 Apache Maven is a software project management and comprehension tool. Based on the concept of a project object model (POM), Maven can manage a project's build, reporting and documentation from a central piece of information.

  • Apache Ant - apache-ant-1.9.4
    Ant is written in Java. The main known usage of Ant is the build of Java applications. Ant supplies a number of built-in tasks allowing to compile, assemble, test and run Java applications. Ant can also be used effectively to build non Java applications, for instance C or C++ applications.
SET JAVA_HOME	=	C:\Program Files (x86)\Java\jdk1.8.0_66 [location of a JDK home dir]
SET PATH		= 	%JAVA_HOME%\bin		[OS to find java, javac, javap… commands]

SET ANT_HOME	=	D:\Apache\apache-ant-1.9.4     [ANT Home directory]
SET PATH		=	%ANT_HOME%\bin		[OS to find ant.bat]


echo %ANT_HOME%
ant -version

SET MAVEN_HOME	=	D:\Apache\apache-maven-3.3.9    [Maven installation location]
SET PATH		=	%MAVEN_HOME%\bin             
echo %MAVEN_HOME%
(OR) echo %M2_HOME%

The % sign  around the variable indicates, it's an environment variable.

ERROR: JAVA_HOME is set to an invalid directory: C:\Program Files\Java\jdk1.8.0_ 144\bin;

Remove ; from the end to resolve the problem.