March 2008 Issue of Java Jazz up magazine

- Ajax-an
Introduction
Developing web application has now been a cup of coffee for developers
having the knowledge of Ajax –a technology that was not so easy and hence
not popular earlier- now one of the most frequently used technologies.
- Ajax
Technology
Asynchronous JavaScript and XML or Ajax for short is a type of
asynchronous programming technical to develop Internet applications. Google
made it popular by incorporating the technology in its search engine
interface in the year 2005. ‘Google Suggest’ is the most popular Ajax
application.
- How
Traditional web applications works
This section explores the working of the browser in traditional web
applications and then in the next section we will explore the working of
Ajax based application.
- How
Ajax Works
Ajax adds an extra layer of functionality in the
communication model. Ajax engine acts as an intermediate between the user
interaction to the browser and the server system.
- Ajax-Technical
Introduction
We have already discussed that Ajax uses JavaScript to make a
request from the server. For this we need an object of such class, which can
provide this functionality.
- Ajax
Example
This example is simple one to
understand Ajax with JSP. The objective of the example is to display the
current date of the server on the page on each key up event by the user
without refreshing the current page. This example also shows the key value
entered by the user in the input text field along with the current date and
time.
- Ajax
Frameworks Types
There are two types of Ajax based
frameworks used in the web programming nowadays: Server-side Framework and
Client-side Framework. Server-side framework is installed inside the server
while Client-side framework entertains the user’s browser to access the
web. Similarly, the code executed on the Web server is considered as
Serverside code while if executed on the user’s browser is known as
Client-side Framework.
- Five
cool Ajax widgets
With the Web 2.0 wave came a whole new emphasis on the user
experience. Part of that experience is the development novel ways to
interact with and present information to users. Often, these new interfaces
are called widgets and use Asynchronous JavaScript + XML (Ajax) to
communicate with the server. Discover five widgets that you can use to
enhance the interactivity of your site.
- Five
common Ajax patterns
Asynchronous JavaScript + XML (Ajax)
was certainly the technology buzzword of 2006 and looks to do just as well
or better in 2007. But what does it really mean for your application? And
which common architectural patterns are used widely in Ajax applications?
Discover five common Ajax design patterns that you can use as a basis for
your own work.

|