Java application

from Wikipedia, the free encyclopedia

A Java application, also called Java application , is an application program written in the Java programming language .

In the Java environment, a distinction is often made between Java applets running in web browsers and independently running Java applications. However, according to the definition of application program , Java applets are also application programs. Applet-related classes of the Java standard library have been marked as deprecated since version 9, which generates a warning at compile time. As of version 11, Oracle has completely removed support for applets.

Furthermore, in the Java environment, a distinction is made between web applications and fat client applications. The former use a web browser to display the surface, while the latter are implemented using the Java techniques Swing or Standard Widget Toolkit . There are also Java web services or portlets , all of which also fall under the term Java application programs .

The different types of Java applications are used for different purposes and differ in the techniques used. For example, fat client applications must have a method mainas a starting point for executing the Java application. The other types, however, have different interfaces for entry points. They also differ in the techniques used for software distribution . Fat client applications, for example, use Java Web Start for automatic software distribution and to ensure that the current version of the application is always running on the local computer. The other types of Java applications are installed in the application server and are therefore always available in the latest version for the (web) user.

Individual evidence

  1. Prof. Dr.-Ing. Michael Resch - Basics of Programming ( Memento from September 28, 2007 in the Internet Archive ) (PDF; 120 kB), p. 32
  2. Glossary on bluewin.ch ( Memento from April 21, 2008 in the Internet Archive )
  3. JEP 289: Deprecate the Applet API. In: OpenJDK. Oracle Corporation and / or its affiliates, October 19, 2017, accessed March 6, 2020 .
  4. JDK 11 Release Notes, Important Changes, and Information. In: Technical Resources from Oracle. Oracle and / or its affiliates, October 17, 2019, accessed March 6, 2020 (American English).