Sun Microsystems developed, in 1991, the object-oriented programming language known as Java. The goal was to use it in a set-top box, a type of device that is responsible for the reception and decoding of the television signal. The first name of the language it was Oak, then it became known as Green and finally adopted the name of Java.
Sun’s intention was to create a language with a structure and syntax similar to C and C ++, albeit with a simpler object model and eliminating low-level tools.
The pillars on which Java is based are five: object-oriented programming, the possibility of executing the same Program In various operating systems, the inclusion by default of support for networking, the option to run the code in remote systems safely and ease of use.
Typically, Java applications are compiled into a bytecode (a binary file that has an executable program), although they can also be compiled into machine code native.
Sun controls the specification 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 license GNU GPL.
The app Java is very broad. The language is used in a wide variety of mobile devices, such as telephones and small appliances. Within the scope of the Internet, Java allows the development of small applications (known by the name of 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 correct plug-in for its operation, but the installation is light and simple.
Reasons to choose Java over other languages
* It is object oriented: although there are detractors of this modality, the programming Object-oriented is very convenient for most applications, and essential for video games. Among the most obvious benefits it offers is greater control over the code and better organization, since it is enough to write an object’s methods and properties once, regardless of how many times they are used.
* It is very flexible: Java is a language specially prepared for code reuse; allows its users to take a program that they have developed time back and update it very easily, whether you need to add features 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 who executes them, but the virtual machine (known as Java Virtual Machine or JVM).
* Its use does not entail economic investments: programming in Java is absolutely free; no need to purchase any license, but simply download the development kit (Java Development Kit or JDK) and give free rein to the imagination.
* It is open source: Java offers the code of almost all its native libraries so that developers can know and study them in depth, or extend 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 its job it 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.