Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
Sheriffs:
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
Bartenders:
  • Mike London

Benefit of using SERVLETS compared with scripting languages

 
Ranch Hand
Posts: 224
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Hello,

This questions is related to my post here: https://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 ]
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
 
Sheriff
Posts: 22716
129
Eclipse IDE Spring VI Editor Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
I've moved the original thread to this forum, so can some bartender / sheriff close this one?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic