Java - Application

> Procedural Languages > Java

1 - About

Normally an application in shipped in an archive format which contains a deployment descriptor that points to the 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 environment in which the application is running.


3 - Start

4 - Deployment

4.1 - JSE

If the main class is described in the deployment descriptor of the archive, a double click is enough to run it.

4.2 - J2EE

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.


5 - Documentation / Reference

lang/java/application.txt · Last modified: 2019/09/30 21:33 by gerardnico