Ajax Interview Questions and Answers for Freshers pdf & Experienced Candidates

What technologies are being used in AJAX?
AJAX uses four technologies, which are as follows:

    JavaScript
    XMLHttpRequest
    Document Object Model (DOM)
    Extensible HTML (XHTML) and Cascading Style Sheets (CSS) .


Why do we use the XMLHttpRequest object in AJAX?
The XMLHttpRequest object is used by JavaScript to transfer XML and other text data between client and server. The XMLHttpRequest object allows a client-side script to perform an HTTP request. AJAX applications use the XMLHttpRequest object so that the browser can communicate to the server without requiring a postback of the entire page. In earlier versions of Internet Explorer, MSXML ActiveX component is liable to provide this functionality; whereas, Internet Explorer 7 and other browsers, such as Mozilla Firefox, XMLHttpRequest is not liable to.


 Can Ajax be implemented in browsers that do not support the XmlHttpRequest object?
Yes.  This is possible using remote scripts.

Can AJAX technology work on web servers other than IIS?
Yes, AJAX is a technology independent of web server the web application is hosted on. Ajax is a client (browser) technology.

What are limitations of Ajax?
1) An Ajax Web Application tends to confused end users if the network bandwidth is slow, because there is no full postback running. However, this confusion may be eliminated by using an UpdateProgress control in tandem.
2) Distributed applications running Ajax will need a central mechanism for communicating with each other

0 comments: