Go4Expert

Go4Expert (http://www.go4expert.com/)
-   JSP (http://www.go4expert.com/articles/jsp-tutorials/)
-   -   JSP Compared To ASP,ASP.Net and Servlets (http://www.go4expert.com/articles/jsp-compared-aspaspnet-servlets-t8059/)

pradeep 1Jan2008 15:38

JSP Compared To ASP,ASP.Net and Servlets
 

JSP Compared To ASP



JSP and ASP are fairly similar in the functionality that they provide. JSP may have slightly higher learning curve. Both allow embedded code in an HTML page,session variables and database access and manipulation. Whereas ASP is mostly found on Microsoft platforms i.e. NT,JSP can operate on any platform that conforms to the J2EE specification. JSP allow component reuse by using Javabeans and EJBs. ASP provides the use of COM / ActiveX controls.

JSP Compared To ASP.NET



ASP.NET is based on the Microsoft .NET framework. The .NET framework allows applications to be developed using different programming languages such as Visual Basic,C# and JavaScript. JSP and Java still has the advantage that it is supported on many different platforms and the Java community has many years of experience in designing and developing Enterprise quality scalable applications. This is not to say that ASP.NET is bad,actually it is quite an improvement over the old ASP code.

JSP Compared To Servlets



A Servlet is a Java class that provides special server side service. It is hard work to write HTML code in Servlets. In Servlets you need to have lots of println statements to generate HTML. JSP pages are converted to Servlets so actually can do the same thing as old Java Servlets.

shabbir 1Jan2008 20:18

Re: JSP Compared To ASP,ASP.Net and Servlets
 
I have reported the article for Nominate your favorite article of the month for December 2007. Add your nominations as well.

parvez.yu 6Mar2008 16:57

Re: JSP Compared To ASP,ASP.Net and Servlets
 
good details

gkumar 27Jun2009 16:05

Re: JSP Compared To ASP,ASP.Net and Servlets
 
JSP versus ASP:-JSP and ASP do have some basic concepts in common. They both make use of simple sever-side scripting to provide access to Web server information and functionality. They both do so using object oriented scripting. And they both started out with similar styles of delimiting this scripting from a page's content. In fact, Microsoft is replacing ASP with ASP+, which is even more like JSP than ASP in that its pages are compiled upon request and run in a 'virtual machine' (which supports multiple languages and is written in C#).
JSP vs ASP.net:-As a self employed web application developer, I've written a few JSP (-Struts) applications. Because Java was a hype when I was studying, JSP was a natural route to follow. I've come to love Java and related techniques. But fearing the risk of being blinded by love, I ask for your opinion wether I should spend my time learning ASP(.net) as well. Until now, I've managed to steer my projects down the Java road, but how fierce should I defend this approach? Are there major benefits of ASP that JSP doesn't have? I've considered the two as equal (although I've always been a Java advocate). Are they? Is it just a matter of taste? Or are there practical issues that can't be remedied by one of them?
Servlets vs JSP:-Servlets and Java Server Pages are complementary APIs, both providing a means for generating dynamic Web content. A servlet is a Java class implementing the javax.servlet.Servlet interface that runs within a Web or application server's servlet engine, servicing client requests forwarded to it through the server. A Java Server Page is a slightly more complicated beast. JSP pages contain a mixture of HTML, Java scripts (not to be confused with JavaScript), JSP elements, and JSP directives. The elements in a Java Server Page will generally be compiled by the JSP engine into a servlet, but the JSP specification only requires that the JSP page execution entity follow the Servlet Protocol.


All times are GMT +5.5. The time now is 18:02.