*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Large Scale Design Of Web Applications" Watch "Large Scale Design Of Web Applications" New topic
Author

Large Scale Design Of Web Applications

J boradic
Greenhorn

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
Author
Rancher

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: http://aspose.com/file-tools
 
subject: Large Scale Design Of Web Applications
 
Similar Threads
Servlets in multiple JVMs sharing one App log file?
ClassLoaders
The HttpServletRequest.getRemoteUser() method.
Is there some kind of HttpSession server out there?
Performance - JDBC vs XML