File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Why use JSP/Servlets over CF or 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 "Why use JSP/Servlets over CF or ASP" Watch "Why use JSP/Servlets over CF or ASP" New topic

Why use JSP/Servlets over CF or ASP

Michael Mendelson
Ranch Hand

Joined: Dec 19, 2000
Posts: 73
OK, I'll probably start a major scandal here, but...
Practially everywhere I look on the web, I see Cold Fusion and ASP pages. Rarely any JSP or Servlets.
Now I'm a Java programmer just like yourself (though relatively new to Java), and I'm hard-pressed for an answer: Why would a manager implement a web application in Java when a platform like CF has a quicker development cycle? (Does anyone dispute this?)
I understand that CF does not handle EJB-style transactions. I also understand the portability/multiplatform advantage of Java.
For example, would there be any advantage to using Java over CF for a small to medium sized database access/entry program?
Thanks all.
Frank Carver

Joined: Jan 07, 1999
Posts: 6920
I think you need to be careful with impromptu serveys of how things are hosted. One of the major advantages of servlets is that they don't need any distinguishing directory structure or filename suffix. You won't see anything like /cgi-bin/whatever, something.cgi, something.asp, in a well written Java application, it will just look like normal static file and directory access. For this reason, there are probably a lot more servlet applications on the web than you might think.

Read about me at ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
I agree. Here's the link:
subject: Why use JSP/Servlets over CF or ASP
It's not a secret anymore!