Java is an object-oriented programming language that was developed in 1991 by Sun Microsystems . The objective was to use it in a set-top box , a type of device that is responsible for receiving and decoding the television signal. The first name of the language was Oak , then it became known as Green and eventually adopted the name Java .
Sun's intention was to create a language with a structure and syntax similar to C and C++ , although with a simpler object model and eliminating low-level tools.
Java Pillars
The pillars on which Java is based are five: object-oriented programming, the possibility of executing the same program on various operating systems, the inclusion by default of support for networking, the option of executing the code on remote computer systems. safe way and ease of use.
Typically, Java applications are compiled into bytecode (a binary file that has an executable program), although they can also be compiled into native machine code.
Sun controls the specifications and development of the language, compilers, virtual machines, and class libraries through the Java Community Process . In recent years, the company (which was acquired by Oracle ) has released much of the Java technologies under the GNU GPL license.
Your application
The application of Java is very broad. The language is used on a wide variety of mobile devices, such as phones and small appliances.
Within the Internet, Java allows you to develop small applications (known as Java applets ) that are embedded in the HTML code of a page for direct execution from a browser; It is worth mentioning that it is necessary to have the appropriate plug-in for its operation, but the installation is light and simple.
Reasons to choose Java
- It is object-oriented : although there are detractors of this modality, object-oriented programming is very convenient for most applications, and is essential for video games. Among the most obvious advantages it offers is great control over the code and better organization, since it is enough to write the methods and properties of an object once, regardless of the number of times they are used.
- It is very flexible : Java is a language specially prepared for code reuse; It allows its users to take a program they have developed a long time ago and update it very easily, whether they need to add functions or adapt it to a new environment.
- Works on any platform : unlike programs that require specific versions for each operating system (such as Windows or Mac ), applications developed in Java work in any environment, since it is not the system that executes them, but the machine. known as Java Virtual Machine ( JVM ).
- Its use does not entail financial investments : programming in Java is absolutely free; It is not necessary to acquire any license , but simply download the Java Development Kit ( JDK ) and give free rein to your imagination.
- It is open source : Java offers the code for almost all of its native libraries so that developers can learn about them and study them in depth, or expand their functionality, benefiting themselves and others.
- It is an expandable language : continuing with the previous point, each programmer has the freedom to review and improve the native Java code, and their work can become the solution to the problems of many people around the world. Countless developers have taken advantage of this virtue of the language and continue to do so.
The platform
The environment that can execute applications that were developed with Java is known as the Java platform . It is a virtual machine with a series of libraries that provide common functionality.
This resource includes the so-called Java Platform Standard Edition or Java SE (Standard Edition) ; the Java Platform Enterprise Edition or Java EE (Enterprise Edition) ; and the Java Platform Micro Edition or Java ME (Micro Edition) .
The virtual machine (JVM) offered by Sun along with the conventional libraries is called the Java Runtime Environment (JRE) . A system, therefore, must have a JRE for the execution of a Java application.
It should be noted that there is also a Java technology for creating applications on smart cards: Java Card .
Java Island
Beyond computing we can also find the term Java. This is the name given to the island that has the largest population in the world among all the island territories.
The island of Java belongs to Indonesia and is part of the Greater Sunda Islands . It is located in Southeast Asia and is home to the city of Jakarta , the Indonesian capital and one of the most populated cities on the planet.