Java, a legendary life!
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.

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics











Java 8 introduces the Stream API, providing a powerful and expressive way to process data collections. However, a common question when using Stream is: How to break or return from a forEach operation? Traditional loops allow for early interruption or return, but Stream's forEach method does not directly support this method. This article will explain the reasons and explore alternative methods for implementing premature termination in Stream processing systems. Further reading: Java Stream API improvements Understand Stream forEach The forEach method is a terminal operation that performs one operation on each element in the Stream. Its design intention is

PHP is a scripting language widely used on the server side, especially suitable for web development. 1.PHP can embed HTML, process HTTP requests and responses, and supports a variety of databases. 2.PHP is used to generate dynamic web content, process form data, access databases, etc., with strong community support and open source resources. 3. PHP is an interpreted language, and the execution process includes lexical analysis, grammatical analysis, compilation and execution. 4.PHP can be combined with MySQL for advanced applications such as user registration systems. 5. When debugging PHP, you can use functions such as error_reporting() and var_dump(). 6. Optimize PHP code to use caching mechanisms, optimize database queries and use built-in functions. 7

PHP and Python each have their own advantages, and the choice should be based on project requirements. 1.PHP is suitable for web development, with simple syntax and high execution efficiency. 2. Python is suitable for data science and machine learning, with concise syntax and rich libraries.

PHP is suitable for web development, especially in rapid development and processing dynamic content, but is not good at data science and enterprise-level applications. Compared with Python, PHP has more advantages in web development, but is not as good as Python in the field of data science; compared with Java, PHP performs worse in enterprise-level applications, but is more flexible in web development; compared with JavaScript, PHP is more concise in back-end development, but is not as good as JavaScript in front-end development.

PHP and Python each have their own advantages and are suitable for different scenarios. 1.PHP is suitable for web development and provides built-in web servers and rich function libraries. 2. Python is suitable for data science and machine learning, with concise syntax and a powerful standard library. When choosing, it should be decided based on project requirements.

Capsules are three-dimensional geometric figures, composed of a cylinder and a hemisphere at both ends. The volume of the capsule can be calculated by adding the volume of the cylinder and the volume of the hemisphere at both ends. This tutorial will discuss how to calculate the volume of a given capsule in Java using different methods. Capsule volume formula The formula for capsule volume is as follows: Capsule volume = Cylindrical volume Volume Two hemisphere volume in, r: The radius of the hemisphere. h: The height of the cylinder (excluding the hemisphere). Example 1 enter Radius = 5 units Height = 10 units Output Volume = 1570.8 cubic units explain Calculate volume using formula: Volume = π × r2 × h (4

PHPhassignificantlyimpactedwebdevelopmentandextendsbeyondit.1)ItpowersmajorplatformslikeWordPressandexcelsindatabaseinteractions.2)PHP'sadaptabilityallowsittoscaleforlargeapplicationsusingframeworkslikeLaravel.3)Beyondweb,PHPisusedincommand-linescrip

The reasons why PHP is the preferred technology stack for many websites include its ease of use, strong community support, and widespread use. 1) Easy to learn and use, suitable for beginners. 2) Have a huge developer community and rich resources. 3) Widely used in WordPress, Drupal and other platforms. 4) Integrate tightly with web servers to simplify development deployment.
