Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
    Bookmark Topic Watch Topic
  • New Topic

Benefit of using SERVLETS compared with scripting languages

 
Susan Smith
Ranch Hand
Posts: 224
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
Pie
Posts: 20495
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Report post to moderator
I've moved the original thread to this forum, so can some bartender / sheriff close this one?
 
    Bookmark Topic Watch Topic
  • New Topic