Comparing JSP with other script tools
I want to know what are the advantages of JSP over other script tools like
ASP or PHP not only portability but how fast it is, the access to DBs, ease
of use, and other characteristics, thanks. I'm not decided about what tool
to use, I'm a C and Java developer.
Hector.
Re: Comparing JSP with other script tools
"Hector Rosas" <hrosas@linuxmail.org> wrote:
>
>I want to know what are the advantages of JSP over other script tools like
>ASP or PHP not only portability but how fast it is, the access to DBs, ease
>of use, and other characteristics, thanks. I'm not decided about what tool
>to use, I'm a C and Java developer.
>
>Hector.
An advantage of JSP is that it can run on all platforms. As a rule, JSPs
shouldn't be used to directly access databases. Servlets are created from
JSPs and thus are Java code not just scripting like ASP and PHP. If you
are a Java developer and you must use one of the three then JSPs would be
best. There are other ways of generating HTML with Java and not involving
JSPs.
Re: Comparing JSP with other script tools
Hector,
If you are already a Java programmer then I see a big advantage with going
with a java related technology. I currently use ASP and COM+ while I’m learning
Java and trying to come to grips with .Net. If you’re looking strictly for
performance I believe .Net or C++ will out-perform any Java application.
Now security might be another matter. Are you talking intranet or internet
development?
And as far as platform independence, I don’t really see a production environment
where that makes a difference. Are you really going to have to worry about
swapping out servers? Or maybe you’re in the business of selling software.
Ralph
"MarkN" <m@n.com> wrote:
>
>"Hector Rosas" <hrosas@linuxmail.org> wrote:
>>
>>I want to know what are the advantages of JSP over other script tools like
>>ASP or PHP not only portability but how fast it is, the access to DBs,
ease
>>of use, and other characteristics, thanks. I'm not decided about what tool
>>to use, I'm a C and Java developer.
>>
>>Hector.
>
>An advantage of JSP is that it can run on all platforms. As a rule, JSPs
>shouldn't be used to directly access databases. Servlets are created from
>JSPs and thus are Java code not just scripting like ASP and PHP. If you
>are a Java developer and you must use one of the three then JSPs would be
>best. There are other ways of generating HTML with Java and not involving
>JSPs.
>
Re: Comparing JSP with other script tools
"Hector Rosas" <hrosas@linuxmail.org> wrote:
>
>I want to know what are the advantages of JSP over other script tools like
>ASP or PHP not only portability but how fast it is, the access to DBs, ease
>of use, and other characteristics, thanks. I'm not decided about what tool
>to use, I'm a C and Java developer.
>
>Hector.
This would make a really great study (comparison of server-side scripting).
I haven't seen any like it yet, although some must exist??