search
HomeJavajavaTutorialJava, a legendary life!
Java, a legendary life!Nov 26, 2016 pm 01:51 PM
java

If you say "eternal, twists and turns, dead, reborn" to describe Java, I think it is not an exaggeration at all.

In 1991, James Gosling led a team called the "Green Team" to develop a new language and a network system designed for the next generation of digital devices and computers. After 4 years of hard work, the project was finally completed and named Java.

Java has a syntax similar to C and has the flexibility of "compile once, run anywhere". Through the virtual machine mechanism, the code can be compiled at runtime on the underlying platform. Looking back on the past 20 years of Java, it first experienced the rise and fall of the microcomputer era, then entered the server field and smartphone field, then struggled to move forward under the definition of "unsafe" by DHS (U.S. Department of Homeland Security), and finally invested in Oracle (Oracle) is now poised for a second spring. Is there any other language with such ups and downs?

After the launch of Java, Sun found that there was a problem in the market—the computer field and the non-computer field were isolated from each other. Sun sees this as an opportunity, and if the two can be connected it will bring about a computer revolution. "The unified theme is the network." Gosling said, "Looking at the market at that time, manufacturers in the two fields were working independently and did not form a unified network. Therefore, many times they had to repeat a large number of experiments, but these were actually as early as 30 years ago. Computers has been solved in science. "The problem is that consumer electronics manufacturers don't think about using networks, such as cross-platform public APIs or code reuse. "You hardly find any software reuse. All software just continues. Being repeatedly created. The module concept we proposed will eventually change this situation. "

The road to success is not easy

In the first five years since its introduction, Java has become a well-deserved spokesperson for high-performance compilers. In the next five years, everyone turned their focus to enterprise applications. Gosling said, "Looking back at the scene of Java EE dominating the world is still vivid in our minds. Our only mistake was to focus all our energy on this, and all resources were allocated to EE first, which prevented us from investing more energy in developing the desktop. The world."

Saab, Vice President of Oracle Java Platform Development, said, "In the 1990s, most developers devoted their energy to writing desktop applications. By 2000, the success of Pet.com attracted a large number of developers. Followers. The industry has shifted its focus from desktops to HTML applications. With the arrival of smart phones and tablets, mobile applications based on touch screens have become more popular, so it is difficult to grasp the next trend. The right time, the right place, the right people. "

Java 2 Micro Edition (J2ME) was introduced in 1998 and divided Java into three platforms: Java 2 Standard Edition (J2SE), J2ME and Java 2 Enterprise Edition (J2EE). ME stands for Small Devices and Embedded Systems. The ME was popularized on flip phones, which became standard at the time. Gosling said, "ME has done well enough and was the most powerful smartphone development platform at the time. But now it is gradually forgotten because Android is so dazzling."

As an independent platform, Java ME has been marginalized . Cameron Purdy, senior vice president of Oracle Development, said that all platforms will be unified in the next version of Java 9. "Compared with SE and ME, which were separated but developed slowly. The modular nature of Java 9 will make Java ME more reusable. Enhanced, this will be a powerful weapon to fight back against Android and iOS. "

Falling into a trough

With Sun's downturn in the past 10 years, Java is not immune to experiencing wasted years. IBM offered $6.5 billion, but Sun refused. Oracle got Sun for $7.4 billion.

Under Oracle management, Java performed well in the first few years and became synonymous with security with 0 major mistakes. But things started to go bad in January 2013, when the U.S. Department of Homeland Security (DHS) recommended that people avoid using Java as much as possible. As an enterprise-oriented software company, Oracle's shortcoming is the speed of patching and fixing bugs, which cannot be compared with Microsoft or Adobe for mass consumers. Others measure it in hours or days, but Oracle measures it in months.

Purdy believes that Oracle has done its best to fix and understand the importance of this shortcoming. The crux of the matter is how to build a team that can still stand on its own after losing go-getters like Gosling. He said, "We have heard a lot of doubts, but in fact we have been continuously investing in and working hard to find solutions."

Rebirth from the ashes

DHS’s public statement is the last straw for Java. Many people predict that Java will no longer be prosperous. However, things slowly turned around, and many Java fans began to come out to defend Java's reputation. Dr. Dobb’s Journal editor Andrew Binstock once published an editorial titled: “Even in the face of death, Java looks pretty healthy.”

Regarding Oracle’s takeover, Gosling expressed his joy, “I was very pleasantly surprised after learning the news. Oracle is a very good guardian and has greatly exceeded my expectations. At first, I was worried that it would not Will become the second Solaris, now it seems that I am worrying too much."

In the first five years after taking over Java, Oracle had to re-build a Java team. “We spent a lot of time looking at the entire process to determine how to fix bugs, from input to release mechanisms, and we reviewed a lot of code. We ended up with a long list of bug fixes,” Purdy recalls.

Security once shamed Java, and security gave Java a new lease of life. At the 2014 Pwn20wn hacker conference, Java was the only platform not compromised. In the 2015 conference, Pwn20wn did not even include Java on the attack list.

Now and the future

Java 9 will be the first major release since the acquisition by Oracle. The main goal of Java 9 is to maximize modularity to help people write building-block applications.

"Our goal is to help people free themselves from the constraints of JARs," Saab said. "You will easily handle things that used to be quite complicated, such as packaging. You can only use the modules you need and leave the rest "Ignore." Purdy added, "This is a first for the Java platform. This feature will be used throughout the entire Java library and rearrange dependencies in a single dependency graph." Talking about the future of Java, Mike, executive director of the Eclipse Foundation. Milinkovich's view is, "I think the future of Java lies in the Internet of Things. I would very much like to see Oracle and its partners focus on a completely point-to-point Java storage solution, connecting the device to the enterprise backend through the gateway. If Success will enable Java to develop better and further in the next 20 years. Although there is still a way to go, I believe Java can do it." Gosling's view is, "VM is its own. Ecology, all parts are connected to each other. The future of the IT world is to achieve interconnection and interoperability. Effectively unifying the edge and core can save the trouble of separate internal and external management, thereby obtaining a more powerful platform. "

Everywhere

Although many people Everyone predicted that Java would never recover, but today, Java still plays an extremely important role in many important projects.

Purdy pointed out that without Java, there would not even be a big development of big data, "Hadoop itself is written in Java. When you need to release new functions on a server cluster running MapReduce, you need to perform dynamic deployment, and This is what Java is good at.”

Another Java beneficiary is Twitter. Twitter was originally written in Ruby on Rails, but as the number of users grew, RoR gradually became unable to cope with it. The crash screen of Fail Whale indicates that the bottleneck problem needs to be solved urgently. In 2012, Twitter switched from RoR to Java and Scala, and the fail whale became extinct.

It can be seen that Java not only has not become a thing of yesterday, but has also regained new vitality. Let us look forward to Java 9 together and see what surprises Oracle will bring to developers.

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
带你搞懂Java结构化数据处理开源库SPL带你搞懂Java结构化数据处理开源库SPLMay 24, 2022 pm 01:34 PM

本篇文章给大家带来了关于java的相关知识,其中主要介绍了关于结构化数据处理开源库SPL的相关问题,下面就一起来看一下java下理想的结构化数据处理类库,希望对大家有帮助。

Java集合框架之PriorityQueue优先级队列Java集合框架之PriorityQueue优先级队列Jun 09, 2022 am 11:47 AM

本篇文章给大家带来了关于java的相关知识,其中主要介绍了关于PriorityQueue优先级队列的相关知识,Java集合框架中提供了PriorityQueue和PriorityBlockingQueue两种类型的优先级队列,PriorityQueue是线程不安全的,PriorityBlockingQueue是线程安全的,下面一起来看一下,希望对大家有帮助。

完全掌握Java锁(图文解析)完全掌握Java锁(图文解析)Jun 14, 2022 am 11:47 AM

本篇文章给大家带来了关于java的相关知识,其中主要介绍了关于java锁的相关问题,包括了独占锁、悲观锁、乐观锁、共享锁等等内容,下面一起来看一下,希望对大家有帮助。

一起聊聊Java多线程之线程安全问题一起聊聊Java多线程之线程安全问题Apr 21, 2022 pm 06:17 PM

本篇文章给大家带来了关于java的相关知识,其中主要介绍了关于多线程的相关问题,包括了线程安装、线程加锁与线程不安全的原因、线程安全的标准类等等内容,希望对大家有帮助。

详细解析Java的this和super关键字详细解析Java的this和super关键字Apr 30, 2022 am 09:00 AM

本篇文章给大家带来了关于Java的相关知识,其中主要介绍了关于关键字中this和super的相关问题,以及他们的一些区别,下面一起来看一下,希望对大家有帮助。

Java基础归纳之枚举Java基础归纳之枚举May 26, 2022 am 11:50 AM

本篇文章给大家带来了关于java的相关知识,其中主要介绍了关于枚举的相关问题,包括了枚举的基本操作、集合类对枚举的支持等等内容,下面一起来看一下,希望对大家有帮助。

java中封装是什么java中封装是什么May 16, 2019 pm 06:08 PM

封装是一种信息隐藏技术,是指一种将抽象性函式接口的实现细节部分包装、隐藏起来的方法;封装可以被认为是一个保护屏障,防止指定类的代码和数据被外部类定义的代码随机访问。封装可以通过关键字private,protected和public实现。

归纳整理JAVA装饰器模式(实例详解)归纳整理JAVA装饰器模式(实例详解)May 05, 2022 pm 06:48 PM

本篇文章给大家带来了关于java的相关知识,其中主要介绍了关于设计模式的相关问题,主要将装饰器模式的相关内容,指在不改变现有对象结构的情况下,动态地给该对象增加一些职责的模式,希望对大家有帮助。

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
Repo: How To Revive Teammates
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.