There have been two distinct approaches to AJAX application development in recent years, each of which extends the previous structure model. Because the nature of the two methods looks different, one should be selected in the development of the actual application.
Because the Ajax-based JSF approach performs on the server-side presentation layer and blends AJAX features into components, it looks like an extension of thin clients and is a direct derivation of traditional Web applications, and the subtle common denominator of this approach is the Sun Ray thin client device, This thin client device displays desktop pictures on the server side, and the client handles at most one dedicated display. The second approach is a client-server extension that displays the logic of the application between the client and the server. In Ajax, the client is a programmable Web browser.
Client proponents believe their approach is better able to use local computer resources, which can also lead to the substitution of traditional desktop applications in the application. Even without a persistent network connection.
Experienced that each method has its pros and cons, if you develop a new rich client application, you have to choose either a thin client or a client-server model.