It's not a secret anymore!
The moose likes Servlets and the fly likes Why servlet in WebApplication Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Why servlet in WebApplication" Watch "Why servlet in WebApplication" New topic

Why servlet in WebApplication

Rajendra Prakash
Ranch Hand

Joined: Sep 10, 2009
Posts: 293
Hi friends, am newbie to servlet. My interviewer asked why used servlet in your application.
i used servlet for controller logic and business logic . is it correct ?
Anshul Agrawal

Joined: Jul 15, 2008
Posts: 19
Controller and Business logic ..these things say about architecture of the Servlet (MVC) main reason might be that servlets are server side components which executes under container environment and most robust reliable and secure than any other server side component or another server side languages..

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63841

Controller. Business logic belongs in a UI-agnostic business layer (part of the model).

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Why servlet in WebApplication
It's not a secret anymore!