How is Java applied in reality?
If you are a novice learning Java programming, you might think where Java is actually used? You don't see many games written in Java, except for Minecraft games, desktop tools like Adobe Acrobat, Microsoft Office are not written in Java, nor do operating systems like Linux or Windows, then Java is correctly used. Where to use it? Does it have any real-world applications? Well, you are not the only one wondering that many programmers have asked this question before starting with Java, or after choosing Java as one of the university programming languages.
Anyway, you already have had a clue where Java is used when installing Java, Oracle said there are more than 3 billion devices running Java, which is a huge number, isn't it? Most large companies use Java one way or another. Many server-side applications are written in Java to handle tens of millions of requests every day, stock trading applications are also written in Java, for example, the LMAX application is built on the Disruptor library. In this article, we'll see more precisely, what types of projects are written in Java, which industries dominate Java, and exactly where Java is usefully used in practice?
Java Application in reality.
Java is used in many sides in reality, from e-commerce websites to Android applications, from scientific applications to financial applications such as electronic trading systems, from games like Minecraft to desktop applications like Eclipse, Netbeans and IntelliJ, from open source libraries to J2ME applications and so on. Let's take a closer look!
1. The Android application
If you want to find where Java is applied, you don't have to go far. Just open your Android phone with any application, they are written in the Java programming language, with Google's Android API, similar to JDK. In the last few years, Android has grown very fast and many Java developers have become Android application developers. Android uses the JVM and other packages, but the code is still written in Java.
2. Server application for financial services
Java plays an important role in financial services. Many global investment banks such as Goldman Sachs, Citigroup, Barclays, Standard Chartered and others use Java to write electronic trading, verification and audit systems, and processing data projects and some other important tasks. Java is mainly used for writing server-side applications, with almost no front-end, it receives data from a server (upstream), processes it, and sends data to another process (downstream). Java Swing is also commonly used to create user interface parts.
3. Java Website Application.
Java is also heavily applied in web applications and e-commerce. You have a lot of RESTful services created using Spring MVC, Struts 2.0 and similar frameworks. Even simple web applications based on Servlet, JSP and Struts are quite common in government projects. Many governmental, health, insurance, education, defence organizations and some other departments have web applications developed with Java.
4. Software tools
Many useful development tools and software are written in Java, for example, Eclipse, IntelliJ Idea and Netbeans IDE. I think they are also the most used Java desktop applications. Although there were times that Swing was very popular, mainly in the field of banking and financial investment services. But currently, Javafx is quite popular but still can not replace Swing.
5. Commercial applications
Third-party commercial applications, which account for a large part of the financial services industry, also use Java. Famous commercial applications like Murex, used at many banks to connect from the inside out, are also written in Java.
6. J2ME applications
Although the advent of iOS and Android almost took over the J2ME market, it was still a big market for low-end phones from Nokia and Samsung using J2ME. There were times when nearly all Android games and apps were written in MIDP and CLDC, part of the J2ME platform. J2ME is still popular on products like Blu-ray Disc, Cards, Set-top boxes, etc. One of the reasons that WhatsApp has become popular is because it is also available on J2ME for all handsets. Nokia's hands are still quite large.
7. Embedded space
Java is also used in embedded fields. It shows the capabilities of this platform, you only need 130 KB to be able to use Java technology (on a smart card or sensor). Java was originally designed for embedded devices. In fact, this is part of Java's original "write once, run anywhere" campaign, and it seems to be to bring huge benefits.
8. Big Data technologies
Hadoop and other big data technologies are also using Java in one way or another, for example, HBase, Accumulo (open source) and Apache's ElasticSearch based on Java. Although Java is not dominant in this area because there are technologies like MongoDB written in C ++, Java has the potential to gain a larger market share in this area if Hadoop or ElasticSearch becomes bigger.
9. In the field of the stock exchange.
The Java platform has greatly improved performance with modern JITs, it is capable of achieving performance on a C ++ level. For this reason, Java is also popularly used for writing high-performance systems, because although the performance is a bit less than the native language, you have a safe, flexibility and Maintenance at a faster speed.
10. Scientific applications
Recently, Java is often the default choice for scientific applications, including natural language processing. The main reason for this is because Java is more secure, portable, easy to maintain, and comes with better tools than C ++ or any other language.
In the 1990s Java played a large role on the Internet thanks to Applets, but over the years, Applets lost popularity, mainly due to various security issues on Applet's sandbox model. Java is the default language in the software development industry and is heavily applied in the financial services, banking and e-commerce industries. Java 8 reinforces the belief that Java will continue to dominate the software development field for many years to come.