Recently, I topped to an article talking about JSP and ASP comparison when I review JSP data.
I feel that there are many attitudes to the ASP very BS now, I feel that this article is still objective, although I am a little bit of the taste of the ASP "辩".
In fact, in my own opinion, ASP has a big advantage that it is easy (if this can be an advantage).
[ZZ] talk about JSP and ASP comparison
The whole question is as follows:
I have read a lot of articles discussed on the ASP and JSP on the Internet. I don't have enough analysis. It is how good it is blowing. How bad is the opponent, because I have learned ASP before, I am very familiar with ASP, now use it now JSP has made several projects. So it is familiar with both. From ASP development to JSP development, it feels more, the most appreciated is Java's OOP ideology, JSP Javabean's thoughts than ASP COM, pay attention to it is not a speed problem, because JavaBean can be very convenient to have inheritance , Polymorphic OOP characteristics, these features and feel more than ASP COM, maybe this is the reason why Microsoft wants to do C #. The following focuses on several aspects: First, fast problems: JSP bean does not have ASP COM speed, COM is fully compiled into binary DLL files, if the ASP programmer has high quality, will mostly The code is written to the DLL setup, write DLL with VC, and then calls in the ASP page, the speed of DLL and JavaBean is desirable to know who is fast. Microsoft's architecture is faster than the current JSP Bean's architectural speed, but JSP Javabean's OOP thinks is much better than Microsoft. However, in Java, it is still very good. Javabean compiles to the Java source code, and you can also compile it back, all the BEANs provided by the BEAN, Email's bean, etc. Convenient reference source code, it is the same as the change of the variable, which is actually exactly the same, for Microsoft's DLL, you can't see unless you use disassembly. Second, another feature of cross-platform issues JSP is cross-platform, Unix Windows, SUN blowing Write Once, Run Anywhere but since Java birth, the programmer is popular in Write Once, Debug Anywhere, in fact, Java Cross-platform performance is not particularly good, do not modify the code at all. Moreover, you also need to install the JVM interpreter, Microsoft's ASP has also had a support software IASP under UNIX, etc., which is basically the same. It seems that the future C # also supports UNIX, more importantly, a set of procedures is completed, and few people will go to what system. Third, the problem of JSP standards from JSP to now, is not particularly mature, the definition of accurate specification is not strict, and some grammar in JSP1.1 is denied in JSP1.2, and each different merchants have a JSP. Have your own set of standards, now you can only develop under a server software, you can only run under this server software. Simple example, the program developed under Oracle IAS server software allows the element names in the form, but it does not support uppercase of the inprise IAS. And some server software supports the name of the JSP file, and some only support small file names. The internationalization of JSP standards is still a while. In contrast, ASP is sitting in Microsoft, there is no standard different problem! Fourth, security issues We know that ASP is more vulnerabilities, that is because ASP has more people, and it appears very early.