12 reasons Java technology has long occupied the main position _java

Source: Internet
Author: User

It is easy to forget the value of the technology that was once so hot in the apes that it was obscured by new technologies until 堙. Take COBOL, the old ape used the artifact, like a dead fish by the modern ape basically so described: no value, fishy, outdated, no good for you. Java as the backbone of modern apes may be the next COBOL in this point.

How many books have been sold on Java technology has been a long memory. The use of the Java language in the Middle Ages is no longer on the cover of various magazines. Java has been around for 19 years since it was born, and the application development circle has begun to circle the more attractive new technologies such as "Node.js", "Objective-c", "Dart", "Go" and so on. Java? That's a legend in the Web 1.0 era, right?

Before we forget the role of Java in the computer industry and the outstanding contributions made, here are 12 absolute reasons to tell you that Java will not be 堙 as COBOL, and that it has grown stronger in subsequent times.

In other words: Don't say this is the Java reverse attack, Java has been there, and its status can not be shaken.

The key reason for the continued dominance of Java, 1th : Perseverance in the struggle for political (usually poor) politics

At first, the tech world never thought Java would succeed because it had too many opponents and was "tyrants". Still, Java flourished. People who are surprised that Java still exists must spend too much time listening to people who have a grudge against Java, rather than taking the time to understand why Java is successful.

Microsoft is the first formidable opponent of Java, because MS-DOS provides versatility, and Microsoft sees Java as the most likely alternative to this commonality. Redmond from the outset to the Java bad rating, from every possible aspect of their struggle (Redmond, Redmond, is the location of Microsoft headquarters, which refers to Microsoft Company). In the direction of desktop application, Java never looked for the development impetus it needed, partly because it took too long for a powerful Java virtual machine to start. Despite some startup latency, Java applications are available on the window platform.

For some unknown reason, Steve Jobs never received Java, even when the Mac was ignored by everyone except Adobe. Java compatibility can bring a lot of useful code, but Apple has not seen Java as the first choice. (Indeed, the iOS smartphone is smoother than the Android I use, so maybe Steve is right.) )

Many of the struggles within Java have also brought great pain to it. IBM loves Java, but has struggled with sun. IBM's decision to refer to the excellent IDE tools it developed as "Eclipse" has not been readily accepted by Sun's personnel. Sun has never understood business as deeply as IBM.

For all these reasons, while Java creators have many missteps in Java development, Java is still fast growing, in the server application field, rich and fruitful, in the field of desktop applications to meet basic business needs. All technology needs to move forward in a political turbulence, but Java is harder and farther away, proving that, in general, Java is a good choice for many applications.

The key reason that Java continues to dominate, 2nd : the Magic of threading

One of the strengths of Java virtual machines is multithreaded control. The JVM is optimized for the stability of hundreds of of threads running on large multicore machines. That's why other languages can get cross compilers and simulators to run on the JVM.

This ability of Java also attracts a lot of high traffic websites. They can be developed on the desktop and thrown into the server to let the JVM play a multi-core effect.

Ruby is a current opponent of Java because of its simplicity of syntax and the readability of its source code. But when performance became a bottleneck, ruby developers went to JRuby, a Java-modeled Ruby environment and enhanced threading capabilities under high load. The details of Sun's old ape's handling made JRuby popular. It seems that most people are writing a ruby program and then using JRuby to hit a war to lose a server ....

The key reason Java continues to dominate, 3rd : Java is the language of beginners

Religion, military and national prosperity are inseparable from the brainwashing of the youth of the nation. As an AP computer course for college students, you can take college credits and take them into account. Provided by the American University Council, which is the body responsible for the American sat, means that many students first come into contact with a computer language that is java. For this preconceived reason, when they learn other new languages, they will look back at the pros and cons of Java, even if most of them have switched to other languages--although most students have left Java behind when they finish their course--but they are still influenced by Java when they think.

Java, as a language of instruction, has its reasons. Some young apes don't like declaring data types, and think it's superfluous to have someone make you wear braces and straps. This may seem abstract, but it's a good way to get the young apes to understand some of the principles of the computer. Let the young ape declare the data type while writing the code, and then the compiler will tell them that the data type mismatch does not compile when they can better understand the computer's underlying principles.

Some of the so-called fashionable languages have abandoned curly braces because they find it troublesome to maintain them. This may be right, but curly braces are useful for beginners because it helps them understand nested blocks of code. Curly braces help new people to disassemble all nesting.

Some people want to try to promote their own language, in most cases, their beloved language is more free, and there are not as many restrictions and rules as java. They have a very good idea, but they ignore the fact that the simpler, the cleaner the grammar will appear in the later development of the obvious problems. Some people find this kind of "wear braces and belts" way suffocating, but Java in the beginning to promote better programming habits. When beginners are well trained, they can deal with this kind of free and dangerous programming.

Key reasons for continuing Java dominance, 4th : cross-platform compatibility (already close)

Although Java is not the first language to offer Cross-platform compatibility, Java has become the most popular (Cross-platform language). This is not to say that Java is perfect-a missing library or a library of mismatched versions can cause the program to crash. Nor can you put a desktop program with a lot of memory compiled with the latest JRE 1.7 to run on a Java me phone. Java is not that compatible.

But Sun and now Oracle have done their best to get the program to work across platforms. When a program (not on multiple platforms) is used, the reason (which causes these problems) is usually understandable. If you use the appropriate Java version and make sure you have enough memory, the (program) normally works. Java programmers can use their desktop development tools to encode and deploy to target devices, possibly a mobile phone or a server. If the compiler contains the correct library and the correct version is used, the code can run. This is a very valuable (characteristic).

The key reason why Java continues to dominate, 5th place : Continued success on small chips

Java may never have created a large application in the desktop, but it has found a hotbed in the mobile world-a broken niche. The Android platform is built on Java from top to bottom, and it is now selling more easily than the iphone.

This dominance is not new. JAVA me as a compact language and VM has been widely used on many so-called functional handsets, and the number of smartphones in the world is almost tens of billions of dollars.

When you mix them all together, the advantage of Java is amazing.

The key reason why Java continues to dominate, 6th : Blu-ray (Blu-ray)

Java, once known as "Oak", is a language designed for set-top boxes, and Sun wants to occupy the market. Things didn't exactly follow the plan, but Java found the right place in the living room. The Blu-ray standard is built around Java, and anyone who wants to add extra content to Blu-ray discs must get their Javac compiler version.

Blu-ray discs are not limited to storing video content. Those additional features and interaction tools can be modified and enhanced using pure Java code. Blu-ray discs are a mixture of compressed video and compressed Java bytecode. Using the Blu-ray standard, you can achieve many functions.

Java continues to dominate the key reason, 7th : Curly braces just works

Fans of fashionable languages like Ruby, Python or coffeescript are happy to defy Java (and C) to ask programmers to repeatedly beat the curly brace key to express the beginning and end of the code snippet. Brackets, curly braces, and even square brackets--all of these people detest it. I hate them myself, but I still miss some types of Lisp that let you use a square bracket to end all of your content programmatically. )

But changing punctuation doesn't eliminate complexity. If useful, it simply hides or conceals complexity. With blanks like tabs, you can only use your intuition to feel the things you can't see. If the IF statement only directs one line of code, this will not be a problem, but it is hard to see when many layers are nested. When I was programming in Python, I found myself repeatedly counting these indents. Just because it looks like English doesn't mean it is as simple as understanding an English sentence.

Java continues to dominate for the 8th place : Groovy

If Java developers had to have a cleaner and simpler syntax with dynamic types, they didn't have to run a novel language. They can use groovy, a neat tool with a preprocessor that can generate Java bytecode. This language is also fully integrated into Java, so you can mix calls to the Java library in your groovy. It's like writing a thumbnail form of Java code.

This flexibility allows development engineers to find a way out of the problem. Of course groovy is slow-this is usually when dynamic method calls are used-developers can always use Java to rewrite important, time-consuming core operations.

Java continues to dominate the cause, 9th : Java Virtual machine

Java virtual machines are designed and optimized according to the code that runs the Javac compiler, but at some point developers realize that Java virtual machines can also run other code. As long as the compiler produces standard Java bytecode, the Java Virtual machine does not care about the programming language that is used. Developers of Haskell, Scala and Clojure have designed their compilers in this way to ride on the Java Express. And they're just a few of the more outstanding representatives of the ecosystem created by Java virtual machines.

Attractiveness is obvious, and sun/oracle to create a cross-platform environment that all others benefit from. Sun/oracle engineers eliminate differences between platforms and consider compatibility issues, and then everyone can run the program they want to run.

Microsoft borrowed (and extended) the idea to create C # and designed compilers for most of the major languages so that C # virtual machines can run all the programs written in those languages. C # Programmers say they can write programs in many different languages, simply by running them on a virtual machine through a Windows box. How flexible!

Java continues to dominate for the 10th place : The NoSQL revolution is largely based on Java

A long time ago, the database was a mysterious black box that saved information and responded quickly and efficiently to query requests. Then the NoSQL revolution came, and programmers realised that they could write their own databases and trim their code as needed. Many of the most important NoSQL tools are written in Java. Cassandra, Lucene, Elasticsearch, HBase and neo4j are just some of the most frequently mentioned NoSQL options. Then there are programs like acid-state that use Haskell to write and run in a Java virtual machine.

These tools are usually open source and can be easily integrated. Some developers run them independently, and others integrate them into their own modules such as libraries. Either way, Java becomes a common language in the database layer, ensuring that Java developers ' lives are simpler. They worry less about the glitch caused by character encoding and line terminator. This means that Java developers can enjoy the fruits of the NoSQL revolution.

Java continues to dominate the cause of the 11th place : Minecraft game into the 00 after the common complex

Perhaps Brooklyn's trendy Non-mainstream scoffed at Java, but Java programmers are one step ahead. As the Ruby Fashion group is gathering its own fans, the next generation is falling in love with Java. Why? One word: Minecraft. It is written in Java. If children want to expand the game, they need to learn Java to design their plug-ins. This ensures that the next generation of programmers is the first to learn Java.

The reason why Java continues to dominate the 12th place : Open source

Sun has been one of the leaders in the open source world, but it has hesitated in the process of fully opening java. But that does not prevent Java programmers from releasing many of the great libraries and projects with loose open source licenses. The Apache project has been using a license that does not require much return to provide excellent Java code.

Sun, in 2007, completed the work of exposing most of the code under the GPL, and from then on, it and its new owner, Oracle, wanted to strive to become a qualified housekeeper of Java that it considered. Of course, this open stance does not prevent Oracle from dragging Google into a messy legal lawsuit, but on the other hand, the Java platform is largely open and free.

Hate it's a lot of people, but Java continues to move

Indeed, Java has its own problems, and annoying Java people will be more and more, and their discontent flooded the online comment area. The Java garbage collector can cause small convulsions in the program. The rules of programming are cumbersome and do not stop those really bad code. Annotations (annotation) are too complex. Each feature is less frequent than the previous evolution. Curly braces Add confusion. The list of disadvantages is very long, but it is usually reasonable.

Yet there is no rival in breadth and depth to compete with. Although some complaints are easy to solve, the solution itself can bring its own problems. Perhaps the closest is JavaScript, which relies on a lightning-fast node.js that is increasingly appealing in the server arena. But these ideas can be replicated, and programmers can use them to write fast java.

In the end, this is one of the advantages of Java: It runs all programs and accepts changes. If you need a different function, you can replace most libraries with your own code. Language is open source and flexible. Regardless of the language and platform restrictions, can be relatively easy to solve. This means that Java programmers continue to be one of the most productive people. Even if the relevant books are not able to occupy the bestseller list, software updates are not frequent before, Java will still exist or even more prosperous.

The above is the entire content of this article, I hope to help you learn, but also hope that we support the cloud habitat community.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.