|
Develop AJAX applications like the pros, Part 3: Use DWR, Java, and the Dojo Toolkit
|
Last Update 2008/8/21 18:12
|
Category
Programming
Java
:
Programming
Platforms
Services / Microservices
:
Programming
Platforms
AJAX
|
Description
Quick, how many Java™ Web development frameworks, libraries, and toolkits can you name? The are so many out there that it can be overwhelming just trying to figure out what does what and which one can actually help you solve your problems. However, if you are doing Ajax development, there is one library that you absolutely need to know: Direct Web Remoting (DWR). This library leverages the Java language and Java Web technologies to greatly simplify Ajax development. It has set the standard for how to integrate Ajax seamlessly into a Java web application. In fact, DWR joined the Dojo foundation, a broad coalition of popular, open source Ajax technologies. In this article, see just how easy Ajax can be using DWR.
|
Hits: 29
|
Ajax-Powered Google Maps Mashup Tutorial
|
Last Update 2007/6/7 7:04
|
Category
Programming
JavaScript
:
Programming
Tools
:
Programming
Platforms
Services / Microservices
:
Programming
Platforms
AJAX
|
Description
A new era of Web development is in full swing, and it is called Web 2.0. This has ushered in a new set of prototypical Web applications, including blogs, wikis, and mashups. Mashups are the focus of this tutorial, and you will see how a sample mashup can be built using a common set of technologies. This set includes JavaScript, Ajax, REST, JSON, and the Google Maps API. As a Web developer, it is important to understand how these tools fit together. In this tutorial I'll use these tools to easily build what is the ultimate Hello World mashup: a Google Maps mashup.
|
Hits: 175
|
Enabling Data Exchange in Ajax Applications
|
Last Update 2007/5/24 5:56
|
Category
Programming
Java
:
Programming
JavaScript
:
Programming
XML
:
Programming
Platforms
AJAX
|
Description
In this article I’ll present the main methods for exchanging data between Ajax clients and servers, comparing the traditional Web application model with the Ajax model. I will also discuss techniques for handling and processing the data on both ends. First, you’ll learn how to encode the parameters of a request object on the client side, using JavaScript. You can use the so called URL encoding, which is the default encoding used by Web browsers, or you can include the request parameters in an XML document. The server will process the request and will return a response whose data must be encoded too. The article discusses JavaScript Object Notation (JSON) and XML, which are the main options for the response’s data format. Significant portions of the article’s content are dedicated to the XML-related APIs that you typically use in an Ajax application. On the client side, the XML API offer is very limited, but it is sufficient. In many cases XMLHttpRequest does everything you need, but you can also parse XML documents and serialize DOM trees in the Web browser, using JavaScript. On the server side, you have lots of APIs and frameworks that allow you to process XML documents. The article shows how to implement basic tasks, using some of the standard Java APIs for XML, which offer support for XML Schema, XPath, DOM, and many other useful standards.
|
Hits: 40
|
|
|
|