aspose file tools*
The moose likes Servlets and the fly likes Benefit of using SERVLETS compared with scripting languages Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Reply locked New topic
Author

Benefit of using SERVLETS compared with scripting languages

Susan Smith
Ranch Hand

Joined: Oct 13, 2007
Posts: 224
Hello,

This questions is related to my post here: http://www.coderanch.com/forums/
Someone recommends to post in the Servlets forum to get more/ better answers.

As a quick summery, I'm trying to build a system that will be used by some of our clients to get data provided by us.
I'm thinking servlets. Some of my coworkers recommend PHP or PERL or Python. The argument is that they are more lightweight. What's the benefit of using SERVLET?

Rodrigo Tomita, mentioned that:
"if your system will get bigger and more complex, or you will have more developers to work with, then Servlets will probably be a better choice."
Why is servlet a better choice for this?

Below are the last two messages in my previous post:

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Hi, Susan,

Well, code organization (and hence maintainability) is the first thing that I can think of (assuming you are not using any service provided by the Java EE container).

If your system is going to be small and simple and you are the only (or one of the few) developer, then probably you will have your system (or portions of it) done faster in one of those scripting languages (if you are already comfortable with one of them).

However, if your system will get bigger and more complex, or you will have more developers to work with, then Servlets will probably be a better choice.

Since you already have a Java EE container running (for your JSPs), using scripting languages will not be more lightweight in runtime (unless you re-code your system).

Just another thing, maybe you get more / better answers in the Servlets forum .
[ July 23, 2008: Message edited by: Rodrigo Tomita ]
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
I'm sure this is a newbie question:

What's the advantage of using SERVLET compare with other scripting languages?
Some of my coworkers recommend PHP or PERL or Python. The argument is that they are more lightweight. What's the benefit of using SERVLET?
[ July 23, 2008: Message edited by: Rodrigo Tomita ]
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19672
    
  18

I've moved the original thread to this forum, so can some bartender / sheriff close this one?


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Benefit of using SERVLETS compared with scripting languages