Making asynchronous HTTP requests from Webpages is an effective technique in bringing seemingly static pages to life.
Tutorial Details:
Asynchronous JavaScript and XML (AJAX) has become a popular technology in creating richer and more dynamic Web clients, and is often used to incorporate desktop features in the browser. However, the usual XMLHttpRequest-based AJAX clients suffer from the limitation of only being able to communicate to the server from where they are downloaded. This becomes problematic for deployment environments that span multiple domains. In addition, developers end up writing browser-specific code since each of the main browsers implements this XML request object differently.
The way people interact on the Web has changed drastically. Many Web applications currently being developed are open, collaborative, and in perpetual beta. Characteristics like these define "Web 2.0," with one of its more important characteristics being a rich browser client—one that resembles traditional desktop applications. Client-side technologies like JavaScript, which were relegated to doing menial client-side tricks/validations, have come to prominence and are playing an important role in delivering a richer experience to Web users.
There are several good resources on the Web about AJAX, but for the sake of completeness and setting the stage, we describe the technology briefly here: AJAX is a Web development technique for creating interactive Web applications. The intent is to make Webpages more responsive by exchanging small amounts of data with the server behind the scenes, so the entire Webpage does not have to reload each time the user makes a change.
Read
Tutorial at: Click here to view the tutorial
Rate Tutorial: Dynamic Webpages with JSON
View Tutorial: Dynamic Webpages with JSON
Related
Tutorials:
The Lucene
search engine: Powerful, flexible, and free - JavaWorld September 2000
The Lucene
search engine: Powerful, flexible, and free - JavaWorld September 2000 |
JSP templates - JavaWorld September 2000
JSP templates - JavaWorld September 2000 |
Which JSP book serves up the best lesson?
Which JSP bookAs for Web servers/databases, just mentioning a server in the book is not sufficient to be listed here. |
Survival of the fittest Jini services, Part 1 - JavaWorld April
2001
Survival of the fittest Jini services, Part 1 - JavaWorld April
2001 |
Access the world's biggest database with Web DataBase Connectivity -
JavaWorld March 2001
Access the world's biggest database with Web DataBase Connectivity -
JavaWorld March 2001 |
Clean up your wire protocol with SOAP, Part 4 - JavaWorld July
2001
Clean up your wire protocol with SOAP, Part 4 - JavaWorld July
2001 |
Explore the
Dynamic Proxy API
Explore the
Dynamic Proxy API |
Chart a new course with
JFreeChart
Chart a new course with
JFreeChart |
Call JavaBean methods from JSP
Call JavaBean methods from JSP 2.0 pages |
End-to-end internationalization of Web applications
End-to-end internationalization of Web applications
Going beyond the JDK
A typical Web application workflow involves a user loading one of your Webpages into her browser, filling out HTML form parameters, and submitting data back to the server. The ser |
RMI, Dynamic Proxies, and the Evolution of Deployment
RMI, Dynamic Proxies, and the Evolution of Deployment
Dynamic Generation of Stub Classes
This release adds support for the dynamic generation of stub classes at runtime, obviating the need to use the Java Remote Method Invocation (Java RMI) stub compi |
Java validation with dynamic proxies
Decouple validation processes from your business object implementations. |
Dynamic Delegation and Its Applications
Dynamic Delegation and Its Applications
The Proxy pattern is an important and widely used design pattern in object-oriented programming. Do you ever use Proxy in Java since its introduction in JDK 1.3? A dynamic proxy class is a class that implements a l |
SOFIA 2.3 released with Hibernate and Dynamic HTML components
SOFIA 2.3 released with Hibernate and Dynamic HTML components |
JSP (JavaServer Pages) is a standard for combining Java and HTML to provide dynamic content in web pages.
With JSP, you embed Java code in HTML using special JSP tags similar to HTML tags. You install the JSP page, which has a .jsp extension, into the WebLogic Server document root, just as you would a static HTML page. When WebLogic Server serves a JSP page.. |
Java Server Pages Dynamically Generated Web Content.
JavaServer PagesTM (JSP TM) technology allows Web developers and designers to rapidly develop and easily maintain, information-rich, dynamic Web pages that leverage existing business systems. |
alaJSP JSP-similar processor
It is yet another servlet based preprocessor. The common idea behind that line of the products (see ColdCafe site) is splitting static HTML presentation which done by designers and dynamic proceed developed by programmers. |
JSP Tutorial
Adding dynamic content via expressionsAs we saw in the previous section, any HTML file can be turned into a JSP file by changing its extension to .jsp. Of course, what makes JSP useful is the ability to embed Java. Put the following text in a file wit |
J2EE pathfinder: Implement JSP custom tags in five easy steps
JSP custom tags provide a standardized mechanism for separating presentation and business logic in a dynamic Web page, allowing page designers to focus on presentation while application developers code the back end. In this installment of J2EE pathfinder, |
Caching Dynamic Content with JSP 2.0
Server-side caching is a powerful and popular technique for improving the performance of server-side applications. After all, why compute twice what you can compute once and hang on to? Andrei Cioroianu shows you how to exploit this technique in JSP 2.0. |
|
|
|