alert('Oh shit !!!! Javascript is disabled!!!! ');


Blog Archive

Ajax Interview Question


Ajax Interview Question and Answers


1. Ques: 1 What is Ajax?
AJAX is stands for Asynchronous Javascript And XML. Ajax was first comes at 2005.It is an web development technique used to make interactive web applications and rich internet applications.
Ajax is based on JavaScript and HTTP request.
Ajax are use to retrieve data from server asynchronously to web applications without any interfere with display and characterisics of existing page.
Using Ajax we can inhance interactive animation on web pages.
Using Ajax we can create better,faster and more user friendly web applications.
2. Ques: 2 Whar you understand by Ajax Polling?
By using Ajax Polling script we can send request to the server and receives response according to request from server. Using Ajax we can return the response to your browser. Ajax is an light weight.So,it is the act of retrieving data from server regularly to obtain near like data.
3. Ques: 3 Tell me reasons of using HTTP POST request by Ajax request?
Ques: 4 How to use an Ajax code across different browsers?
Internet Explorer uses an ActiveXObject while other browsers uses the built-in JavaScript object called XMLHttpRequest.
Example:

4. Ques: 5 Why Ajax is comfortable fit with Java?
Because Java is a more comfortable for AJAX. Than you can use Java Enterprise Edition servers to generate Ajax client pages and to serve incoming Ajax requests and to manage server side state for Ajax clients and connect Ajax clients to your enterprise resources. The JavaServer Faces component model is a more comfortable for defining and using Ajax components.
5. Ques: 6 Tell me about environment that we used in Ajax?
Ajax support many environment like that PHP/ASP and other web based projects.
6. Ques: 7 Uploading file using Ajax is possible or not?
No,we can't perform an uploading file task with Ajax.I have given you a method this is using iframe and upload files to give feel like Ajax file upload. This is used by many scripts and libraries in their Ajax file upload plugins.
7. Ques: 8 How we can say user interfaces are powerful in Ajax? Ques: 9 How you define JSON in Ajax?
Some main points about JSON are given below:
1.JSON stand for JavaScript Object Notation.
2.JSON is an lightweight data interchange format.
3.JSOn gives us JavaScript eval() method to parse an XML easily.
8. Ques: 10 How you define Comet in Ajax?
Ajax Push is an Comet Technology. Using Ajax Push web servers can send an data to the user without any need the user request for it. Using this user can make up-to-date with data arriving or varying onthe server,without any frequent polling.