Indeed, Java has flaws. But......

Source: Internet
Author: User
Tags stanford nlp hadoop ecosystem

"Editor's note" the author of this article is a veteran code farmer Tim Spann, which focuses on many of the advantages and drawbacks that Java is irresistible to people. This article is the domestic ITOM management platform OneAPM compiled rendering, the following is the text.

As early as the 90 's, when I worked in E&y, I started using Java programming, which I used or Java version 1.0. HotJava was the only book at the time, and only the language specification. At the time, Java was the secret popular language. Very avant-garde, more advanced than C's syntax, more secure than C + +. It can be run in Unix,windows,linux,mac or Set-top, which is amazing. It's strong enough that many companies use Java to write browsers, servers, engines, rules engines, libraries, and frameworks. Java was rage at the time. Now, it's growing slower. However, the development environment (ECLIPSE) around Java, the server (Hadoop ecosystem), big data, and the number and size of libraries are pretty amazing.

Java is still in use in Android (may be replaced by Swift in the future, but not now).

The JVM is powerful, running a variety of near real-time/Big data and large Web sites. A large number of companies are still using it in enterprise and Web applications. AOL has launched a very good Java 8 library. Spring Boot is a great fast-developing Java library.

Although all of my spark coding is done in Scala, I still need the Java Maven repository. Tens of thousands of Java libraries are amazing. They apply to Scala and other languages on the JVM. In addition, there are a number of micro-services and lightweight libraries from lightbend and pivotal that are powerful and streamlined to implement the 12 element concept.

Also, many vendors offer Java support: Oracle,ibm,hpe,emc,vmware,hortonworks and Cloudera. New libraries and great tools appear every day. If you're searching for new Java libraries and projects on GitHub, you'll find a lot of good choices that cover every aspect of the content.

If you want to develop the internet of things, the Java language is everywhere.

Thousands of developers, hundreds of consulting firms, and most of the world's top 2000 companies, are developing Java and owning a lot of Java assets.

Is it the coolest language with the latest features? No, but each Java version brings together the essence of the existing language. I like Scala,go and node. js. But when I wanted to write a program that everyone could read and run on every platform (for example, the ubiquitous Tomcat), I would use Java to write. Each cloud, each PAAs (platform as a service), including Aws,google,cloudfoundry, Heroku, supports Java. Installing and running a Java server on a virtual machine, server, laptop, Docker or rocket container is very simple. Using frameworks like Spring Boot,sparkjava,dropwizard,ninja,play, you can write concise microservices and good code.

Java is verbose, but it's easy to read. Maintaining code is the most important thing in programming, even if the code you write will eventually be replaced. The test code provides a good reference document for the next iteration or app release.

Will Java follow the footsteps of COBOL? Possible, but COBOL is still in use. Java will be at least 20 years old in the enterprise.

Will I use Scala and go, or some other language? Of course it will. Will Java disappear or fall out of favour? Not in the short term. If Java disappears, then the Android,hadoop,iot will have to disappear. In fact, you just need a widely used language and people who will be programmed in that language, and that's enough. Maybe node. js is better for the front end, and go is better for Web servers, and Scala is better for spark. However, for the Enterprise, Java is a more error-prone choice. Although there are many bad programmers, lots of confusing code, you might even accuse Java of not forcing people to write better code (Scala does better in this). However, Java is a symbol of freedom. Java can run freely on any platform, do anything, use any library you want, and write any project. Java is still the main language of the university professors, and exists in many excellent libraries, such as Stanford NLP.

I look forward to a positive discussion.

Java does have flaws, but these flaws do not prevent it from working around the clock throughout the world's most important companies and systems.

OneAPM can provide you with an end-to-end Java application Performance solution, and we support all common Java frameworks and application servers to quickly discover system bottlenecks and pinpoint the root cause of the anomalies. Minute-level deployment, instant experience, Java monitoring has never been easier. To read more technical articles, please visit the OneAPM Official technology blog.

This article was transferred from OneAPM official blog

Original address: Https://dzone.com/articles/java-and-the-superfriends-stronger-than-one

Indeed, Java has flaws. But......

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.