Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ASP problems

Status
Not open for further replies.

Ducky

Programmer
Nov 8, 2000
4
CA
I am looking for a list of disadvantages of ASP when compared to JSP. the disadvantages of JSP i have are as follows:

JSP is not without problems itself, as a matter of fact there are quite a few problems with it. Firstly JSP needs a compiler to be on the server with it to change the code to servlets. This is problematic because most outside compilers are written in C++ which doesn't work on all platforms thereby limiting where JSP can be used. Another big problem with JSP is that it takes up a lot of hard drive space. For every 30K JSP file a corresponding "larger-than-30K" class file is created therein doubling the hard drive requirements. Some of the smaller problems with JSP are that debugging and database connectivity prove difficult. Lets first look at debugging, when a JSP page is run it is first converted to a Java file. If an error occurs then the line number of the error refers to the line in the Java code not the JSP code. For example if an error occurs in the first couple of lines of the JSP code the error in the Java code could be in the 30th line or so. This makes debugging a grueling experience because you have to track down code in the JSP
program to fix the problem. Next is the database problem, most servlet engines (needed to run JSP programs) do not support database connections and therefore a lot of extra code must be added to a JSP program to achieve this function.

If you could give similar problems for asp it would be greatly appreciated

thx
 
Every language has problems.
The key to using any language sucessfully is finding work arounds for its limitations.
So to me VbScript & ASP has no limitations. Becasue there is some sort of workaround.

So instead of wasting a lot of time on theory just jump in with both feet.

DougP, MCP
dposton@universal1.com

Ask me how Bar-codes can help you be more productive.
 
I know you can work around the problems but I'm doing a report on ASP and JSP so I need a list of problems for both of them but I'm having trouble finding some for ASP.
 
ASP is superior to JSP because it has a simpler syntax and is not case sensitive in variable and procedure names. Those differences alone allow the coder to focus more on the logic than the syntax details of the language, which in my experience eliminates up to 90% of the non-productive debugging time (debugging that doesn't refine the business logic).

An even stronger advantage is that you can use the powerful VB editor to write and debug ASP functions, then cut and paste them into the web page. The VB editor provides automated spacing and capitalization, syntax checking as you edit, instant indent adjustment, step-by-step debugging, automated display of parameters and constants, automated completion of recognized keywords, etc. You need to create a few functions to simulate some of the IIS objects during testing (Application, Session and Request objects), but the increased productivity and consistent look to your code is well worth the effort.


Larry
Larryh@ecn.ab.ca

 
I will tell you the one thing I don't like about ASP, the fact that it is typeless. I never mind declaring the type of my variables, in fact I prefer it when I have to do something where I am doing a lot of comparisons. Every once in a while it seems that the variant type doesn't work the way I want it to.

Just my opinion mind you :)
Crystal
crystalized_s@yahoo.com

--------------------------------------------------

Experience is one thing you can't get for nothing.

-Oscar Wilde

 
Crystal,
Although you can't declare variables as a certain type, it's posible to enforce type checking by using the conversion methods Cstr,Clng,Cint, etc.

nick bulka

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top