• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

To Jayson

 
Melody Siu
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, what is your opinion on...
having one servlet to delegate work for an application, or
each clickable (post/get) of each page goes directly to its dedicated servlet (i.e. many servlet, no concept of a controller)
Also, what is your strategy in terms of saving session information to its minimal...
Thanks,
Mel
 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have a single controller for thw whole web app.
 
Ko Ko Naing
Ranch Hand
Posts: 3178
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This thread might be useful for u, Melody Siu... A lot of people talked about Front Controller there, which is the way u want for having one servlet to delegate work for an application...
http://www.coderanch.com/t/357783/Servlets/java/Asking-authors-patterns-Web-Tier
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic