In this article, we will know more precisely what types of projects are completed using Java, in which main fields and sectors Java is used, and where in the real world what role does Java play and what is needed Friends can refer to
If you are a beginner or just starting to learn Java programming, you may be thinking about where exactly Java programming is used? Apart from Minecraft, you can't see games written in Java, right? Desktop tools like Adobe Acrobat, Microsoft office software, these are not written in Java, not even the operating systems of Linux or Windows, so where do people use Java? Does Java have any actual applications?
Well, you are not the first person to have this question. Many programmers who are new to Java or choose to learn Java as a programming language at the undergraduate level will have this question. In fact, you can know some answers when you install Java on your desktop. Oracle will tell you that more than 3 billion devices are running Java. Isn't this a huge number?
Many companies use Java in different ways. Many server applications are written in Java and are used to handle tens of millions of requests every day. High-frequency trading systems are also written in Java, such as the LMAX trading system, which is built on the inter-thread communication library (Disruptor). In this article, we will know more precisely what types of projects are completed using Java, in which main fields and sectors Java is used, and where does Java play a role in the real world?
Life Applications in the Real World
Java is used in many places in the real world, from e-commerce websites to Android apps, from scientific applications to financial products, For example, electronic trading systems, from games like Minecraft to desktop applications like Eclipse, Netbeans and IntelliJ, from open source resource libraries to J2ME apps and so on. Let’s take a closer look at these.
1. Android Apps
If you want to know where Java applications are located, you are not far from the answer. Open your Android phone or any App, they are completely written in the Java programming language with Google Android API, which is very similar to JDK. A few years ago, Android just started to take off, but today, many Java programmers are Android App developers. By the way, although our previous article mentioned how Android App works, that is, Android uses a different Java virtual machine and different packaging, the code is still written in Java.
2. Server applications in the financial services industry
Java has great applications in the financial services industry. Many global investment banks such as Goldman Sachs, Citigroup, Barclays, Standard Charted and some other banks use Java to write front-end and back-end electronic trading systems, settlement , information confirmation system, data processing projects and other projects. Java is used to write server-side applications, but most of them do not have a front end. They receive data from a server (upper level), process the data and send it to other processing systems (lower level). JavaSwing is popular because it can develop graphical user interface clients for traders to use, but now C# is rapidly replacing Swing's market, which puts Swing under pressure.
3. Website Application
Java is also widely used in e-commerce and website development. There are many RESTfull architectures you can use, which are developed using Spring MVC, Struts 2.0 and similar frameworks. Even simple Servlets, JSP and Struts are popular in various government projects. Many websites in government, medical, insurance, education, national defense and other departments are built on Java.
4. Software tools
Many useful software and development tools are written and developed using Java, such as Ecilpse, InetelliJ Idea and NetbansIDE. I think these are the most commonly used desktop applications written in Java. As mentioned above, Swing was once very popular in client-side development of graphical user interfaces, most of which were used in financial services and investment banks. Although JavaFx is gradually becoming popular, it still cannot replace Swing, and C# has replaced Swing in most financial fields.
5. Trading system
Third-party trading systems, a large part of the financial services industry, are also written in Java. For example, popular trading systems like Murex, used to interface with many bank front-ends, are also written in Java.
6. J2ME Apps
Although the arrival of IOS and Android has almost killed the J2ME market, there are still many low-end Nokia and Samsung mobile phones using J2ME . There was a time when most games and mobile applications were written using MIDP and CLDC, or some J2ME platforms to adapt to the Android system. .J2ME is still popular in Blu-ray, magnetic cards, set-top boxes and other products. The reason why apps are so popular is because for all Nokia phones, apps still work with J2ME.
7. Embedded field
Java also has great applications in the embedded field. You only need 130KB to use Java technology (on a small chip or sensor), which shows how reliable this platform is. Java was originally designed for embedded devices. In fact, this was part of Java's original "write now, run anywhere" mission.
8. Big data technology
Hadoop and other big data technologies also use Java to varying degrees, such as Apache's Java-based Hbase, Accumulo (open source) , and ElasticSearch. But Java has not occupied the entire field. There are other big data technologies such as MongoDB that are written in C++. If Hadoopor and ElasticSearch gradually develop, then Java has the potential to gain greater development space in the field of big data technology.
9. High-frequency trading field
The Java platform has greatly improved performance characteristics and JITS, and Java also has C++-level transmission performance. Therefore, Java is also popular for writing high-concurrency systems. Although Java's transmission performance is no better than C++, you don't need to consider Java's security, portability, maintainability and other issues (Java has already been implemented internally), and Java has a faster running speed. Issues such as security can make an application written by an inexperienced C++ programmer slower and less reliable.
10. Scientific Applications
Now Java is often the default choice for scientific applications, including natural language processing. The main reason for this is that Java is more secure, portable, and maintainable than C++ or other languages, and Java has better advanced concurrency tools.
In the 1990s, Java occupied an important position in the Internet due to Applets. However, in recent years, due to various security risks of the Applet sandbox model, Applets have become more and more popular. Losing popularity has resulted in desktop Java and Applets almost disappearing today. However, Java is still the default application development language in the software industry, and it is widely used in the financial services industry, investment banking and e-commerce fields. Anyone who learns Java thinks they have a bright future. And Java8 reinforces the concept that Java will continue to dominate the software development field in the coming years.
Summarize
The above is the detailed content of Analysis of application fields in Java. For more information, please follow other related articles on the PHP Chinese website!