File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Large Scale Design Of Web Applications Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Large Scale Design Of Web Applications" Watch "Large Scale Design Of Web Applications" New topic

Large Scale Design Of Web Applications

J boradic

Joined: Jun 24, 2010
Posts: 6
Hey, I'm using servlet technology in conjunction with spring security and hibernate to put together the back-end for my mobile application and I'm wondering if anyone has tips on making things as modular as possible. At the moment I basically have an authentication servlet which logs the user in and dispatches requests to one of three other servlets. (depending on what kind of activity my user is looking to do) For my application to be useful it will need to support a large number of users so I'll have to learn how to cluster Tomcat at somepoint and write another layer on top of what I already have. But for now assuming I'm just running on one server, whats the best way to structure servlet heirarchy (is more better, is it dependent on what kind of application your running, etc...) to ensure I get the most bang for my buck while keeping it easy to read for other developers of the program(this is more of a resume builder for me, I'm a college student trying to learn some web-dev over the summer).
David Newton

Joined: Sep 29, 2008
Posts: 12617

Difficult or impossible to answer what structure makes sense without knowing anything about what you're actually doing, what kinds of loads you're expecting, etc.
I agree. Here's the link:
subject: Large Scale Design Of Web Applications
jQuery in Action, 3rd edition