Discussions
Web tier: servlets, JSP, Web frameworks: Is it worth developing Front controller without using struts
-
Is it worth developing Front controller without using struts (2 messages)
- Posted by: sks sks
- Posted on: June 29 2006 15:11 EDT
I heard struts adds overhead. so i am trying to write a front controller pattern without using struts. have anyone tried this? is it worth the effort?Threaded Messages (2)
- Re: Is it worth developing Front controller without using struts by Bob Armour on June 30 2006 06:20 EDT
- Using JSF as front controller by jim woods on July 01 2006 21:18 EDT
-
Re: Is it worth developing Front controller without using struts[ Go to top ]
- Posted by: Bob Armour
- Posted on: June 30 2006 06:20 EDT
- in response to sks sks
Any front controller (Including those that you may feel tempted to write yourself) will impose some kind of overhead. The real question you should be asking is 'Does the amount of overhead, introduced by Struts, acceptable for my application?'. In most cases, the answer will probably be 'Yes'. It all boils down to 'premature optimisation' and the fact that you shouldn't be doing it. For most applications, the front controller will not be the bottleneck - that will probabbly be database access, internet connection speed etc. Don't re-invent the wheel, use Struts, Spring or whatever framework you're familiar with, only optimise when it can be proven to be an issue. -
Using JSF as front controller[ Go to top ]
- Posted by: jim woods
- Posted on: July 01 2006 21:18 EDT
- in response to Bob Armour
As to front controller,I always think JSF is very easy to use. Writing your own front controller is a good idea but hard to implement. http://www.hotdir.biz/Internet/