The history of Java can be traced back to April 1991. The Green Project (Green Project) led by James Gosling of Sun Company began to focus on developing a distributed system structure to enable it to be used in various applications. To run on consumer electronics, they use C/C++/Oak language. Due to various reasons, the green plan has gradually stalled
The origin of Java
The birth of the Java language has a certain It is not an epoch-making product that has been carefully planned, produced, and finally survived. From a certain perspective, the birth of the Java language is completely a misunderstanding, a beautiful misunderstanding.
At the end of 1990, Sun's preparatory embedded systems would play a major role in the field of home appliances in the future, so Sun established a "Creen Project" led by James Gosling (later known as the father of Java) to prepare Write a universal control system for the next generation of smart home appliances (such as TVs, microwave ovens, phones).
but many members, including Sun’s chief scientist Bill Joy, found that C ++ and the available API were very problematic in some aspects, and the working group used It is an embedded platform with extremely limited system resources, and many members find that C++ is too complex, so many developers often use it incorrectly, and C++ lacks garbage collection systems, portability, distribution and multi-threading.
Based on the available funds, Bill Joy decided to develop a new language. He proposed to develop an object-oriented environment based on C++, so GoslingView By modifying and extending the functions of C++ to meet this requirement, but then he gave up and decided to create a brand new language: oak, which is the predecessor of Java.
By the summer of 1992, the Green plan had completed some functions of the new platform, including the Green operating system, Oak programming language, class library, etc. In November of the same year, Green The plan was transformed into "FirstPerson Ltd.", a wholly owned subsidiary of Sun Microsystems.
The FirstPerson team was focused on creating a highly interactive device. When Time Warner issued a RFP for a television set-top box, FirstPerson changed their goal and responded to the RFP by proposing a set-top box. Platform proposal. But the cable TV industry felt that FirstPerson's platform gave users too much control, so FirstPerson's bid was lost to SGI. At the same time, another set-top box deal at 3DO also failed, so the poor Green project was almost Aborted, even half of the members of the Green project team were transferred to other project teams.
oak was officially renamed Java
In the summer of 1994, the emergence of the Internet and browsers not only brought good news to the majority of Internet users, but also brought new ideas to the Oak language James Gosling immediately realized that this was an opportunity, so he carried out a small-scale transformation of Oak. In the fall of 1994, Naughton and Jonathan Payne in the team completed the first Java language web browser: WebRunner. Sun Lab Director Bert Sutherland and Technical Director Eric Schmidt watched the demonstration of the browser and spoke highly of the browser's effectiveness. At that time, the Oak trademark had been registered by others, so Oak was renamed Java.
Sun released the Java language in early 1995. Sun directly put Java on the Internet and made it available to everyone for free. Even the source code was not kept confidential and was also made available to everyone on the Internet.
A few months later, something happened that surprised everyone. Java became the hottest thing on the Internet. More than 100,000 people visited Sun's website and downloaded Java. language, and then there were countless Java applets (i.e. Applets) on the Internet, demonstrating various small animations, small games, etc.
The Java language has finally become a well-known programming language.
The official launch of Java
In 1995, although Sun launched Java, it was just a language. If you want to develop complex applications, you must have a powerful development class library. Therefore, Sun released JDK1.0 in early 1996. , this version includes two parts: the running environment (JRE) and the development environment (JDK). The running environment includes five parts: core API, integration API, user interface API, release, and Java Virtual Machine (JVM). The development environment includes compiling Java Program compiler (i.e. javac command)
Then, Sun released JDK1.1 on February 18, 1997. JDK1.1 added a JIT (just-in-time compilation) compiler. JIT is different from traditional compilers. , the traditional compiler compiles one instruction and throws it away after running, while JIT will save the frequent instructions in the memory, and there is no need to recompile the next time it is called. In this way, the JDK can improve the efficiency. Great improvement.
nAt the end of 1996, Flash came out. This simpler animation design software swallowed up the application of Java on the web.
nIn December 1998, Sun released the most important JDK version in Java history, JDK1.2. Along with JDK1.2, JSP/ Servlet, ELB and other specifications, and divides Java into three versions: J2EE, J2SE, and j2ME:
frameworks: Struts, WebWork, Hibernate, Spring.
The above is the detailed content of Detailed explanation of the development history of Java programming (organized by power nodes). For more information, please follow other related articles on the PHP Chinese website!