I have a simple web app implemented with JSF/PrimeFaces. I have a dataTable for which I need to get some data..
adviceInquiry is the name of my bean which I am expecting to provide data. I defined a simple pojo and used annotations to tell that it is a component like below..
When I try to load my page, it gives the following error...
So it seems that the adviceInquiry bean is either not recognized or has been instantiated. Do I need to add it to my applicationContext file or something to make this happen?
Just a follow up question on this, I would just like to know what are the advantages of using PrimeFaces/JSF with Spring. After all JSF provides its own container and MVC like front end framework, so why use Spring at all?
Jehan Jaleel wrote:Just a follow up question on this, I would just like to know what are the advantages of using PrimeFaces/JSF with Spring. After all JSF provides its own container and MVC like front end framework, so why use Spring at all?
Thanks.
Spring Framework is an application framework not a web framework. JSF is a web framework. Spring MVC is Spring's Web container.
Spring framework goes way beyond just a web framework. It can be used for any application.
JSF also has many issues. Some of us think the 6 phases are complete overkill and makes JSF complicated to get working correct.
Mark
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.