What is AJAX?
Ajax is an acronym for ?Asynchronous JavaScript And XML.? Web pages are endowed with snippets of code that can access remote services (like web services) and not refresh the page. This prevents ?round tripping? which is the cause for display flicker and slow response times.
Read the rest of this entry »Does AJAX work with Java?
Yes, Java is a great fit for AJAX! You can use Java Enterprise Edition servers to generate AJAX client pages and to serve incoming AJAX requests, manage server side state for AJAX clients, and connect AJAX clients to your enterprise resources. The JavaServer Faces component model is a great fit for defining and using AJAX […]
Read the rest of this entry »Should I use an HTTP GET or POST for my AJAX calls?
AJAX requests should use an HTTP GET request when retrieving data where the data will not change for a given request URL. An HTTP POST should be used when state is updated on the server. This is in line with HTTP idempotency recommendations and is highly recommended for a consistent web application architecture
Read the rest of this entry »Are there any security issues with AJAX?
JavaScript is in plain view to the user with by selecting view source of the page. JavaScript can not access the local filesystem without the user’s permission. An AJAX interaction can only be made with the servers-side component from which the page was loaded. A proxy pattern could be used for AJAX interactions with external […]
Read the rest of this entry »Does Java have support for Comet style server-side push?
Current AJAX applications use polling to communicate changes data between the server and client. Some applications, such as chat applications, stock tickers, or score boards require more immediate notifications of updates to the client. Comet is an event based low latency server side push for AJAX applications. Comet communication keeps one of the two connections […]
Read the rest of this entry »Who invented AJAX?
Microsoft first implemented the XMLHTTPRequest object in Internet Explorer 5 for Windows as an ActiveX object. It is the term coined after this support.
Asynchronous javascript and XML. Nobody invented AJAX, Jesse James Garrett of Adaptive Path coined the phrase early 2005 - but the tech was already in place much earlier than that.
What are the different frameworks available In AJAX?
A good framework is “Zephyr”.
It is used with php and seems to be very easy to use.
Prototype.JS Framework is available with detailed documentation, its very easy to handle AJAX and JavaScript, Introduce $ concept its very simple, For Ajax specially u don’t need to check cross broswer, Open, Close and error handling through traditional AJAX.
Is there any way that an AJAX object can get back a record set?
You could build an XML document out of your recordset and send that back to the server, say you had a redord set for a “user” with the following details (name, surname, age, email), you could build an xml document like this:
Code:
Byron
Tymvios
25
email@address.com
User
Someone
39
myAddy@address.com
You can add as many records as you have in your recordset, then once […]
Which browsers support AJAX?
Internet Explorer 5.0 and up, Opera 7.6 and up, Netscape 7.1 and up, Firefox 1.0 and up, Safari 1.2 and up, among others.
Read the rest of this entry »What is the role of Ajax in enhancing user experience?
AJAX is not a new technology but a combination of several existing technologies in a new way. These include HTML, CSS, DOM, XML, XSLT, XMLHttpRequest and Javascript. The acronym AJAX stands for Asynchronous Javascript and XML. AJAX is based on open standards supported by many browsers and platforms. AJAX is a new paradigm for building […]
Read the rest of this entry »
