Sunday, July 1, 2007

My first AJAX program in Java

Finally I have created my first AJAX program in Java. It's to convert an entered number to the string representation. What I've done is created one JSP page and one Servlet to process the client request. In the JSP page I took one text box to enter the number & then passed it to the Servlet in the form of of request. There I converted the number to the string & passed it back to the requesting client in the form of XML/Text response. This response text is in the form of XML, but in my case as there is only one field, the XML is overkill.

AJAX is really interesting to study. It's not a technology but it's a group of ideas that, used together, are proven very powerful. I'll be exploring a lot in it. :)

No comments:


_________________________________________________________________________________________________________________

"Look at the sky. We are not alone. The whole Universe is friendly to us and conspires only to give the best to those who dream and work."

- Dr. A P J Abdul Kalam
_________________________________________________________________________________________________________________