I learned Java at school and went to work towards. net. So the ups and downs of the two languages are true. Today, the mainstream software development field is like the whole martial arts, which has been clearly dominated by the two sects. Microsoft advocates the. NET Framework and becomes shaolin school. The Java environment supported by many other vendors has become Wudang school. There are too many similarities between the two schools. For example, the two schools are very powerful, and there are many disciples. There are also a lot of fans who are willing to follow them outside (it is rumored that, some have gone crazy to Yang Lijuan mm ). They also possess a large number of secret martial arts and have exclusive bases (one occupying the shaoyunshan and the other occupying the Wudang Mountains ). Of course, they also have different places. For example, the Shaolin monk is generally called a "thief bald" by The Wudang disciple, And the Wudang disciple will be called a "Smelly Taoist" by the Shaolin monk ". But their biggest and most classic difference is: no hair, no hair! Therefore, the. NET Framework and Java environment both support the same type of applications and provide a huge standard library to help build those applications. The well-known Java library today is Java 2 Enterprise Edition (Java 2 Enterprise Edition, J2EE or javaee), including Java Server Pages (JSP) for Web scripting ), swing for building guis for implementing a JAX-WS based on Web Services Communications (formerly known as a JAX-RPC) for Building Enterprise Java Beans (ejbs) for Scalable Server applications ), JDBC used to access the database, and other class libraries. These technologies are similar to ASP. NET, Windows Forms, ASP. NET web services, Enterprise Services, and ADO. net. The Java Virtual Machine is similar to the. NET Framework CLR, and even the dominant language-Microsoft's C #, VB and the relative Java-are very similar. As shown in:
Of course, there are also differences between them. One obvious difference between the two is that the Java environment can run on different operating systems, while the. NET Framework focuses on Windows. This trade-off is clear: portability is good, but it hinders close integration with any system, and integration is good. You can't get anything at the same time. In addition, Java-based products can be obtained from multiple vendors, but the. NET Framework is exclusively provided by Microsoft. Because different Java vendors can make different extensions to the core specifications, developers will be locked in a single vendor if they are not able to do so. Despite this, portability across different Java platforms is still possible, while the. NET Framework explicitly binds your applications to Microsoft.
The divergence and competition caused by this situation are ultimately a good thing. Each camp has a good idea that each party can learn from each other. If there is only one technology in this world that is absolutely dominant, whether it is. NET Framework or Java, it will lead to a stupid monopoly. However, if there are a lot of choices, it will lead to chaos. Therefore, we do not want the Shaolin and Wudang factions to fall down. The unification of the rivers and lakes does not have any advantages for us: but we do not want to see the 7th and 80th sects, which caused the martial arts to fight and cause a storm of blood. Haha, that's all. Let them confront each other and benefit from it.