Java has far more influence than imagined-why should we use the Java platform?

Source: Internet
Author: User

From the perspective of the category of development projects, the competition for B/S-based systems in Java is fierce, lamp (Linux + Apache + MySQL + PHP), rails (Ruby frameworks), and even ASP. net; of course, the number of MVC frameworks in Java in this field is not enough, such as struts. webwork, etc. However, even so, the reason for choosing Java for development is inadequate, because Java ranks at the top of the rankings in this Echelon.

The C/S-based system is obviously not considerate in this regard. In the face of fast IDE development such as VB, Delphi, and Vc, Java is really abnormal and weak, even if you find a tool that can rival these ides, it will become a major obstacle in the face of third-party components, so Java has once again lost in this regard.

Java platform from the perspective of Java's highlights

Java focuses on business logic! (I used to strongly believe in microservices) but who can say that other languages do not pay attention to business logic? business logic is just an abstract concept. Java only relies on EJB to propose business components, other languages can also be packaged into pojo when implementing business logic. It seems that this is also a failure.

Java emphasizes cross-platform advantages! This can be understood as a beginner, commercial, and dumb vocabulary. In the face of the performance of many dynamic languages such as python on several platforms, how does Java emphasize its advantages in this aspect? Failed

JAVA supports distributed application projects! The ridiculous comment is that distributed is not the capital worth showing off. Why is it not a distributed application in the C/S project before Java? Failed

Without these advantages, let's take a look at what remains in Java? By the way, it's actually an application server! However, readers who have read J2EE without EJB certainly know what spring hopes to achieve, that is, the implementation of the J2EE system in the Application Server concept, in the author's eyes, application server is only a word for Dummies, so any project chooses Java as the basis for development, and it is obviously hard to find its own,

So under what circumstances should I choose Java as the development platform?

<1> if you have encountered a large system development task, congratulations! You can finally see the advantages of distributed objects and clusters.

<2> the customer is a loyal fans of Java or gold partners of sun and IBM. Choosing Java is a last resort, but remember that Java is the best implementation method. <3> if you only want to care about the implementation of business logic and are not interested in the implementation of services such as transactions, caches, and searches, you may wish to consider adopting the EJB format, provided that you do not want to find a suitable alternative.

<4> if the project is eager to find support for a framework, it is right to select java. You can choose from many excellent, free, scalable, and talented frameworks, more often, you are out of embarrassment, because any one of them makes you heart-warming, and such a choice is often the most painful and happy.

Correct Choice <1> condition: if the project is only a small website system, select lamp and rails.

<2> condition: the project size is medium and the project time is relatively short. The project can be structured on a Windows system. Select. Net/Delphi.

<3> condition: a large system must support distributed objects and clusters, or sun/IBM Gold partner. You need to find an excellent framework to solve the problem: java is the best choice, but I would like to ask, can you meet such a project in reality?

Therefore, from the actual point of view, we may be faced with some systems that meet the condition 99%, and choosing Java is not worth the candle. End with a code complete.

EachProgramThere are a lot of tools, but there is no tool available for all work. the right tool to adapt to local conditions is the key to effective programming programmers.

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.