Hi Guys, I'm new to JSF and AJAX and was wondering about the hype of the synergy of the two technologies.
But let's say that I'm just trying to write an AJAX powered web-application, and not necessarily reusable custom components. Why is JSF any better than struts/jsp or jsp/Ajax Servlet (using Ajax Anywhere or AjaxTags or even something like Dojo), or php (using one of the other PHP frameworks)?
In summary, let's say you are not a rich component toolkit writer, but that you're just trying to write an AJAX enabled application. Is there something about JSF that makes it easier to write an AJAX enabled application than with struts/jsp or jsp/Ajax Servlet or php?
Ajax can be used in any technology. Ajax with .NET, PHP, CF, ETC. I would not call it hype! Been around for years and been in the public eye for the last year.
Joined: Oct 21, 2003
I think I might not have stated my question clearly. I'm not disupting the importance of AJAX.
What I'm asking is in the java world, is it better to use AJAX with JSF rather than using AJAX with Struts, or Ajax Servlet if you're just writing an AJAX powered Application (NOT Writing a Rich Internet Component Toolkit), and if so why is that?
And, I think we factored out the Ajax stuff, since that is the common technology and would be the same. So the question ends up boiling down to the other technology. JSF, Struts, JSP/Servlets, or PHP. SO I kind of wanted to point out the difference between them. More so for JSF and Struts.
I think JSP/Servlet and PHP would be more programming at a lower level.
subject: Why use JSF with AJAX instead of jsp/struts or jsp/Ajax Servlet or php for AJAX apps?