The Java programming language, originally called the OAK programming language, was pioneered by James Gosling, Patrick Naughton, Chris Warth, Ed Frank and Mike Sheridan of Sun Microsystems, Inc. in 1991, when the company started the Green Project (a research project making programming languages that can run on various platforms). This is a significant breakthrough because previously applications that were developed for certain operating systems (and hardware) would only be able to run well on certain operating systems as well. In other words, in the past, applications written on an operating system (such as Windows) were almost impossible to run on other operating systems (eg Unix / Linux).
The effort made by James Gosling from Sun Microsystem was quite successful. The current Java programming language can be used to develop desktop applications (using JSE [Java Standard Edition]), applications that run in the scope of enterprise and internet (JEE [Java Enterprise Edition]), and applications that run on facilities limited computing processing resources and limited memory use resources (JME [Java Micro Edition]), for example cellular phones, PDAs, and so on. The early version of Java in 1996 was already a release version so it was called Java Version 1.0. This version of Java includes many initial standard packages that continue to be developed in later versions:
• java.lang: Designation of basic elements.
• java.io: Purpose of input and output classes, including the use of files.
• java.util: The designation of complementary classes such as the data structure class and the calendar class.
• java.net: Allotment of TCP / IP classes, which allows communicating with other computers using TCP / IP networks.
• java.awt: The base class for user interface (GUI) applications
• java.applet: The base class of application interfaces to be applied to web browsers.
Java Programming Characteristics
The properties of java programming include:
A. Object-oriented Java
Writing a program must be made in the form of objects, then model the properties of each object in the program. Java determines and regulates interactions between objects.
B. Java is distributed
Java can be used to spread / distribute data or information on client workstations, e-mail servers, daabase servers, and web servers (on local computer networks and the internet).
C. Java is multiplatform
Java programs that have been translated / compiled correctly and successfully can be run on other platforms or on other operating systems. Java uses the principle of WORA (Write Once and Run Anywhere). Once writing a program, the results of the program can be run on any operating system. This means that once writing a program in the Java language and compiling it, the program can be run on various operating systems, such as DOS, Windows, Linux, MacOS, Solaris
D. Java Is Multithread
Is the amount of work done in almost the same time unit. For example, a web server has hundreds of client servers — several clients that access the web server simultaneously. If the web server has only one thread, the other clients must wait. Therefore multithread is needed to be able to serve client servers.
The Concept of Object-Based Programming
In this object-based programming concept, we will discuss objects, classes and methods. The following is a brief and concise explanation of the three concepts above.
Object and Class
In Object Oriented Programming see or view things based on the object. The object actually reflects the pattern of human work in everyday life. In an object can be seen into 2 (two) things, namely:
Attributes are everything that is attached to an object. In the application in the program, the attribute is Variable or Member. For example in Object Bird. Attributes attached to birds, such as beaks, tails, wings, legs, eyes, and others.
Behavior is a pattern of behavior or behavior possessed by an object. For example, the object of birds has a behavior such as flying, flapping wings, walking and others. In the application in the program, Behavior is a Method or Function.