File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes JSP vs ASP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "JSP vs ASP" Watch "JSP vs ASP" New topic


ken chou
Ranch Hand

Joined: Feb 08, 2001
Posts: 68

When we are browsing the internet nowadays, we can see a lot more websites are developed in ASP than in JSP. It seems ASP is much more popular than JSP now. Anybody know the reason why? What could be the trend for the future, ASP or JSP?
Tony Alicea

Joined: Jan 30, 2000
Posts: 3226
That's a very subjective evaluation considering the quantity of web pages out there (over a Billion?)

Tony Alicea
Senior Java Web Application Developer, SCPJ2, SCWCD
Sophia Oscario

Joined: May 14, 2001
Posts: 22
I think JSP is more powerful than ASP.
JSP is more scalable dan reliable.
I used ASP for developing web application in my university, and I consider of changing it into JSP Servlet.

** Science belongs to the world **

** Science belongs to the world **
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17421

There are those who contend that statistics are what you want to make of them -- that there aren't that many Microsoft-based web sites, but the ones that are there are "big-name" ones.
On a purely cynical note, I've heard it mentioned by one manager that VB programmers are a dime a dozen.
Then there are the pundits that claim that Java is on the upswing, while VB is in decline. The usual justification is that Microsoft's tinkering with fundamental language constructs in its attempt to create VB.Net is making a lot of people nervous.
Place your bets and take your choice. Or was it the other way around?
[This message has been edited by Tim Holloway (edited July 17, 2001).]

An IDE is no substitute for an Intelligent Developer.
Marcos Maia
Ranch Hand

Joined: Jan 06, 2001
Posts: 977
some considerations:
1)JSP is platform independent ASP not
2)JSP takes advantage of all the power of the java API while ASP VBSCRIPT OR JSCRIPT
3)JSP are compiled in Servlets and have a better performance than ASP.
4)JSP can use Custom tags and ASP(COM)???Whats that??
5)JSP can use all the power of JDBC to connect to databases what if you design well can make your application DB independent.
6)Much more complient servers.
Marcus Green
arch rival

Joined: Sep 14, 1999
Posts: 2813
JSP technology is newer than ASP and there has simply been less time for it to be taken up. JSP is pre-compiled into servlets and then bytecode which gives it a potential performance advantage over ASP. I believe that ASP is parsed afresh each time. About 60% of all publicly visible web servers run the Apache web servers, approximatly zero percentage of them run ASP. Microsoft IIS runs about 30% of publicly visible web servers, you can make your own extrapolations and guesses at the overall percentage of sites that are running ASP.
ASP is very attractive if you have an existing heavy commitment to VB and Microsoft technologies and you assume you are not going to be wildly successful (a safe bet for most web sites).
------------------ Mock Exams, FAQ, Tutorial, Links, Book reviews
Almost as good as JavaRanch

SCWCD: Online Course, 50,000+ words and 200+ questions
Akanimo Udoh
Ranch Hand

Joined: Jun 11, 2001
Posts: 48
Your analysis is pretty much on the dot, and I have to agree with you completely. I'm a 'native' windows applications / systems developer and have been programming with VC++/VB for about 7 years now (even got my MCSD before getting the SCDJ). I looked at the trends in industry 2 years ago with the shift from core applications to web-based/web-centric systems and decided that I had to diversify career tracks before I fell into a rut.
When you look at the massive support for the Java platform on all fronts ( development tools, operating systems, applications support, enterprise systems integration, application server support, training and certification, etc ) you cannot but see where the whole industry is going (imagine there's even a joint certification effort called jCert!!! supported by several vendors ...). I've never seen such a level of collaboration in our industry before. How many MS technologies can work on other operating systems integrated with other products and supported by other companies??? (need I say more?)
Microsoft decided it was ' way or the highway' when it decided to go it solo and stick to its guns. It would have been better for them to get 'a small (but significant) piece of a big pie' instead of the 'big piece of a small pie' its eventually going to end up with. The situation is very reminiscent of what IBM tried to do in the '80s and we all know how that ended.
Because of all these coupled with the lack of direction which MS is exhibiting by throwing all kinds of divergent visions at its windows developers (yours truly inclusive) e.g ActiveX, COM, COM+, Microsoft.Net, C#, even the controversial VB.Net have made me decide to start hedging my bets and give MS some time to make up their minds before making any future MS investments. My company has also deciding to move some of its code base to Java.
I must confess that though we're still doing over 70% stuff in VC++ we're more or less expecting this to change dramatically as time goes on and are very ready for it.
Just my 2 cents worth.
karl koch
Ranch Hand

Joined: May 25, 2001
Posts: 388
dont believe in statistics unless you faked them yourself....
while asp is parsed every hit, jsp is precompiled to bytecode. this seems to giv jsp an advantage. i posted on this a while ago. there are some stats....(remember: dont believe.....)

had my troubles with ubb

[This message has been edited by karl koch (edited July 18, 2001).]
Jeff Sunder
Ranch Hand

Joined: Jun 26, 2001
Posts: 47
I agree with Marcus that JSP technology is newer and therefore had less time to dissipate. I know of several companies, some of them household name companies, that are moving towards JSP technology. In fact, there are several that are moving from ASP to JSP. And this only makes sense considering that JSP is more robust than ASP.
Rehan Malik
Ranch Hand

Joined: Jul 09, 2001
Posts: 76
This question is also like asking:
I see a lot of sites using cgi rather than JSP and ASP. This is always due to the age of the programming language.
After a while, once the trend kicks in, one programming language will dominate the rest. For a while, ASP was kicking butt and we see a lot more ASP sites due to the fact that there's been a LOT more time for ASP to commercialize and hit the market. There's few sites out there who use JSP but one thing I DO know for sure is that most of the sites, as mentioned before, are switching from ASP to JSP.
ASP is NOT faster than JSP after JSP is compiled. The ONLY time I can think of where JSP is slower is when the JSP file is FIRST compiled. Other than that, it's pretty much lightning fast. I've also seen benchmarks where JSP outperforms ASP in some aspects (just as database connectivity) as more connections are made. ASP isn't as scalable as JSP and for this reason, more users are selecting JSP.

Rehan Malik
I agree. Here's the link:
subject: JSP vs ASP
It's not a secret anymore!