Forums Register Login

JSF and The FrontController Pattern

+Pie Number of slices to send: Send
Hi everyone,

I'm just looking into JSF to see how well it will fit into the kind of applications that I'm doing. I'm currently using an implementation of the FrontController Pattern with Helpers and Commands (http://java.sun.com/blueprints/corej2eepatterns/Patterns/FrontController.html) to manage the Model and View of my applications.

My question: Is there any need for a FrontController+Helpers+Commands when using JSF? It seems like it will just be two the amount of code to manage. Is JSF a mature enough solution to replace a well implemented FrontController?

Thanks.

Kind regards,
Allan
+Pie Number of slices to send: Send
JSF uses a Front Controller. There is a FacesServlet that controlls every request sent to it. The difference between what you are currently using and what JSF provides is a component framework. There are many discussions in this forum on that very topic if you just do a search.

As far as replacing what you currently have, JSF is not mature. It is very new. But it is very stable and works very well. There are some bugs and features missing from the current implementation but you can say that about any framework no matter how long it's been around. With that being said, unless you see a significant reason to replace what you have, especially if what you have is currently working and serving its purpose, then I'd think long and hard about the conversion process and what, if anything, you would gain from reworking the application. If it ain't broke...
Bras cause cancer. And tiny ads:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 3020 times.
Similar Threads
Frontcontroller example
How desc FontController and Dispatcher in component diagram?
application client and web client...
Flex 3 :Is it good to have a FrontController per Module??
GoF Vs. J2EE design patterns
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 19, 2024 00:48:39.