Java History Beginning in 1991 formed a team called green The team is led by Patrick Naughton and James Gosling (A group of Sun engineers). At first they wanted to make a computer language that can be used by cable TV (Cable TV Box) which has a small memory and each company has different types. To apply this they use what ever attempted by Pascal.
Previous Niclaus Wirth has made a portable language that will be used in subsequent image machine is called a Virtual Machine, but it was not announced. Finally, use the green team is finally their ideas to create Java Virtual Machine. Vitual machine made this can be run in different java platforms. In 1992 the green team make products that are named * 7 (Star Seven)
However, these products fail in the market. After that created a new product. This java, programming language originally created it was given the name "oak" (This name probably derived from the name of an existing tree in front of the window James Gosling) But after a review found the name oak has been used. Thus was born the name "Java" In the year 1993 until the mid-1994 the green team has a new name First Person. Inc. spent only with respect to the sale of its products. Apparently none of those found. Finally, in 1994 First Person dissolved.
In that year the Web has changed rapidly when it is widely used browser is Mosaic a free browser.
In an interview in the mid-94 James Gosling says "We could build a real cool browser. It was one of the few things in the client / serve the mainstream that needed some of the weird things We'd done: architecture neutral, real-time, reliable, secure-weren't issues that terribly important in the workstation world. So we built a browser. " Finally a browser that was made by Patrick Naughton and Jonathan Payne. The browser was named Hot Java. This browser is made by using java language to show Traffic from java. Are no less great they also make the technology known as a browser applet that can run within the browser program code. This is proof of that technology is shown java on 25 May 1995 Since then the browser java browser gives license to others to be able to run the applet and in 1996 applied to Internet Explorer. Finally, in 1996 issued the first version of java with java issue 1:02 In the year 1998 issued java 1.2 and java started out slogan "Write once, Run anywhre"
Java Edition
Java is a language that can run anywhere and on any platform any, in various environmentInternet, Intranets, electronic consumer products, and computer applications.The java 2 platform is available in 3 editions for different purposes. For a variety of applications created with the Java language, java bundled in editions:
1. Java 2 Standard Edition (J2SE)
2. Java 2 Enterprise Edition (J2EE)
3. Java 2 Micro Edition (J2ME)
Each - each edition contains the Java 2 Software Development Kit (J2SDK) to develop applications and the Java 2 Runtime Environent (j2re) to run the application.
Excess Java compared to C + + Java makers have designed programs to eliminate the allocation of java and memory deallocation manually, because java has Garbage Collection Introduction of the actual array declaration and eliminate pointer arithmetic. This often causes a memory overwrite.
Removal of multiple inheritance, they replaced it with the interface.
JAVA is the language of object-oriented programming (OOP) and can run on different operating system platforms with characteristics used programs such as C + +, Open Platform, Wora (Write One Run Anywhere), portable, multiplatform, the program can run on the Windows operating system, Solaris, Macintosh, Linux / Unix, the architecture firm and secure programming is supported by the Open Source community.
Characteristics of Java Programming.
- Simple. Java programming language uses a syntax similar to C + + but the syntax of Java has improved a lot in eliminating the use of pointers especially complicated.
- Object oriented. Java using object-oriented programming so as to facilitate the program development process, improve quality, easier maintenance, enhance the ability to modify and improve software reuse.
- Distributed. Java was made to create distributed applications easily with of integrated networking libraries in Java.
- Interpreted. Run Java programs using the Java Virtual interpreters Machine (JVM). JVM is an imaginary machine (virtual) that working with applications like on a real machine. JVM hardware specifications and provide a platform where the compilation Java code occurs. This makes the specification-based applications Java to be free from any platform for the compilation completed by the JVM. Applications created with Java program files
text using ". java". The program is compiled to produce a bytecode file using ". class". Bytecode is a set of instructions similar to machine code instructions. The difference is the machine code must run on the system computer JDBC (Java Database Connectivity) provides a way to access the database independently of the database vendors. This causes the Java source code that has been compiled into Java bytecodes can run on different platforms different. - Robust. Java has a high reliability. Compiler in Java has the ability to detect errors more thoroughly compared to other programming languages. Java has a runtime - Exception handling to help overcome the error in programming.
- Secure. As a programming language for Internet and distributed applications, Java has several security mechanisms to keep the application not used to damage a computer system that runs application.
- Architecture firm. Architecture is robust and secure programming supported by the Open Source community (the third largest after the C and C + + and implementation of the Java language has become public property).
- Portable. Source code and Java programs can easily be taken to platform different without being recompiled.
- Multithreaded. Java has the ability to create a program that can do several jobs at once and simultaneously.
- Dynamic. Java is designed to be run in a dynamic environment. Changes in a class by adding properties or method carried out without interfering with programs that use the class.
- Language is designed to complicate the execution of malicious code. Negation pointer security is a major step. Java is not operation known pointer. The operation pointer is outside the used for optimization and the creation of efficient programs and awesome. Pointer is a great tool for Usage. With negation pointer operation, java can be language that JDBC provides one way to access the database independently of the database vendor. Through JDBC can be mySQL access with the same program to access the Oracle, and PostgreSQL UDB2. This supports the spirit of java write once, run anywhere.
- The main key of the JDBC is a JDBC Driver is responsible be the bridge between java programs and databases. JDBC Driver for mySQL, for example, was responsible for bridge between programs written in java to mySQL RDBMS.
- To access the database via JDBC, it is necessary to use objects Connection. There are objects Statement and PreparedStatement. Through the Statement and PreparedStatement, use the SQL command to databases such as INSERT, SELECT, UPDATE, and DELETE.
- Java has some security to the applet. To prevent disturbing action program storage medium, then the applet not allowed to open, read or write to the file arbitrarily. Since java applet can open a window The new browser, the window has java logos and text identification of the open window. This prevents the window pop-up menu as a request username and password information.
Tidak ada komentar:
Posting Komentar