Java - Application

Java Conceptuel Diagram


An application in shipped in an archive format with a main class that contains a main method that starts the application.

Every Java application has a single instance of class Runtime that allows the application to interface with the Operating System environment in which the application is running.

Deployment / Start

Operating system

How to start a java application in its own process with the jvm directly from the console


You can start a java application by creating a shell script.

java -cp ../lib/myApplication.jar com.mypackage.myMainClass arg1 arg2



With a executable jar, you just need to call the jar with java.

java -jar my_executable.jar

Application Server (J2EE, Tomcat,…)

A Java EE application is packaged into one or more standard units for deployment to any Java EE platform-compliant system.

Each unit contains:

  • A functional component or components, such as an enterprise bean, web page, servlet, or applet
  • An optional deployment descriptor that describes its content

Once a Java EE unit has been produced, it is ready to be deployed. Once deployed, the application is ready to run.


A launcher is a java class that take into account all the steps needed to start your application. This is an advanced technique.

Documentation / Reference

Discover More
Card Puncher Data Processing

is a build tool such as make, gnumake, nmake, jam,... without their limitations. is a Java technology-based build tool developed by the Apache Software Foundation (). supplies...
Java Conceptuel Diagram
Java - (Environment|Operating System)

Most of the OS informations are managed in the java/lang/SystemSystem class. Every Java application has a single instance of java/lang/Runtimeclass Runtime that allows the application to interface with...
Java Conceptuel Diagram
Java - Launcher

A launcher commonly refers to a program that start an application. For Java, the standard launcher is (java or javaw.exe). Common Launcher...
J2ee Ear Structure
Java - Packaging, Archive, Library (JAR, WAR, EAR File)

For deployment purpose, J2EE applications are delivered and reside in Archive files (or unit). A RAR, WAR or EAR file is a standard JAR (.jar) file with a .war or .ear extension. Each archive extension...
Java Conceptuel Diagram
Java - Web Application (Web Module) - War

Web application in Java. A Java web application serve and/or generates interactive HTML web pages. An enterprise application may contain zero or more web applications. A web application is generally...
Java Conceptuel Diagram
Vert.x - Main Method

A Main method is one of the two start point of a Vert.x application. verticle Create a application script or a runnable jar. Example with the gradle application plugin ...
Weblogic Architecture Domain
Weblogic - Domain

An Oracle WebLogic Server administration domain is a logically related group of Java components: the Administration Server that you use for configuration and management purposes only. and the Managed...

Share this page:
Follow us:
Task Runner