National Conference on Recent Trends in Computing |
Foundation of Computer Science USA |
NCRTC - Number 4 |
May 2012 |
Authors: G M Tere, R R Mudholkar, B T Jadhav |
1c474f03-48f8-40bc-9736-16836732067d |
G M Tere, R R Mudholkar, B T Jadhav . Invoking Web Service using AJAX. National Conference on Recent Trends in Computing. NCRTC, 4 (May 2012), 1-5.
This paper gives practical solutions for implementing Ajax, JavaScript, and Representational State Transfer (REST)–based Web services and functionality. We need to develop applications that are decoupled that are client code is separate from the server code. Using these approach applications can be easily tested and maintained. In some situations, responses to web service requests are not provided immediately, but rather sometime after the initial request transactions complete. Such asynchronous operations aren't explicitly supported by web services specifications and standards; however, those standards do include the infrastructure and mechanisms on which asynchronous operations can be based. Calling a web service asynchronously instead of performing a complete post back has several advantages, including less network traffic and generally elevated performance. Also with the support of DOM model and XMLHttp Object in major popular browsers, numerous client side AJAX libraries are available to make these calls. The paper examines and compares the typical and Ajax based invocation of web services with remedies to improve the performance of web services.