Send and Retrieve Data Using JSON & AJAX (Via Netbeans 7.0)

Download Link : Click here to download

In this example I would like to share you a simple project I’ve created to Send and Retrieve Data Using JSON & AJAX, Specially if you are a beginner for JSON & AJAX.

“We use JSON to store and transport data as we do in XML, But in a more smaller, faster and easier way than XML. AJAX allows web pages to be updated asynchronously by exchanging small amounts of data with the server behind the scenes. This means that it is possible to update parts of a web page, without reloading the whole page.”
 

The Example contains A Netbeans 7.0 Project file and MySQL Database Backup where the application transacts with a MySQL database to retrieve data using JSON & AJAX.

ex1ajaxjson

The application searches for user details by UserID and displays in Name & Address fields without refreshing the page.