I am working on a web application which frequently accesses a database via various Ajax calls. At the moment I am doing this using http handlers. However, I was wondering what kind of benefits there could be if I started using web services from now forth.
The following is an example of a logging system which I've already created, but since it already exists, it may (or may not) make things slightly clearer. This log system is used by the website itself to report errors, completion of maintenance tasks; and admin can also create log entries via their control panel.
I have a class named "Log" which exposes various static members which can be called upon by the web application to interact with the log database. These methods include "CreateEntry" for creating a new entry, and "GetListing" to get an array which can then be presented within a client web browser.
I am interested in hearing the views of the experts on this topic.