Java EE and. NET, the Battle of the Century __.net

Source: Internet
Author: User
Java EE and. NET, the Battle of the Century

Although. NET2000 year, but I just know that there is a. NET, and Java EE and is called the current development of enterprise-class applications of the two major schools of technology, but I do not know how to apply it to develop, and Java compared to what advantages and disadvantages. After 2 months of serious study, I found myself like. NET, even think it more advantages and prospects than the Java, why say so.

First:. NET is a new development platform launched by Microsoft, which can develop a wide range of applications such as Web, desktop, and wireless applications, especially for XML and Web services.

Second: in. NET, we can develop in different languages, but the components that are written in these languages can be invoked with each other, allowing programmers to use their familiar language for development without learning new languages.

Third: in. NET for desktop development is more convenient and simpler than in Java, unlike Java, writing desktop applications is cumbersome and inefficient.

Four: In. NET in the Web development, for programmers is a duck in the mouth: rich and powerful controls to enable programmers to achieve a specific function is so simple, such as in the ASP or JSP, the implementation of a calendar dialog box is very cumbersome, in the asp.net as long as a calendar control can be placed.

V: Support Single-step debugging in ASP.net, and provide users with very detailed and unambiguous error messages. This is more than ASP and JSP do not know how many times, we can easily find errors.

Sixth: In asp.net, the aspx file doesn't even have to appear in C # or vb.net server-side script, which makes the page maintainability greatly improved, but also make the component reusability greatly improved, of course, some people disagree with this, in the JSP can do this, I admit it is true, but we also know that the current Java EE, Sun did not play the role of core and leadership, so there has been a blossoming, contending. There are a number of solutions that are separate from code and performance, such as jsf,struts,spring,hibernate and so on, and each of these technologies is not so simple that programmers need to spend a lot of time learning and mastering. And many of these technologies are not very mature. This is not the case in ASP.net, which allows programmers to focus on how to implement and solve business logic from the constant learning of new technologies.

Seventh: There are many kinds of application servers in Java, and these different servers in the configuration and use of a very different, this also undoubtedly increased the programmer or the implementation of the master time. In ASP.net, IIS is all that is available, and IIS is very simple to configure and use, and it is virtually no longer necessary to learn new knowledge for programmers who used to develop them using ASP.

Eighth: One of the most popular technologies is Web services, but implementing Web services in Java EE is more complex, but in. NET, Because Microsoft takes into account support for Web services when it launches. NET, implementing Web services in. NET is a lot simpler and more natural than the Java EE.

Of course, nothing is perfect. NET compared to the Java EE also has insufficient place, I thought is in the distributed technology as well as the application server technology aspect.

First: The EJB in Java EE is a distributed component, that is to say, in order to implement a function, may need to invoke several components, these components can run on different hosts, they work together to complete a task, which is more efficient than putting them on a single host. At the same time also make full use of the entire network of each host. In. NET, because of the lack of IIS, the performance of distributed components is not as good as Java EE.

Second: The security of IIS is a criticism of Microsoft, while the Apache server is relatively secure.

Third: Because of the language-independent nature of Java, applications developed using the EE platform can be used across the operating system, while. NET currently supports only Windows operating systems, but Microsoft is currently developing the Linix version of. NET, so let's wait and see.

I believe, as time goes on,. NET is a great effort of Microsoft's application development platform will be more people recognized and like, and even much more than the use of Java platform developers. Finally, let us wish together. NET will be better tomorrow.

Related Article

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.