Archive | Articles RSS feed for this section

Getting Started with AJAX using Java : Tutorial

We learnt how AJAX works in previous articles; now we want to explore some techniques for using AJAX with Java technologies such as Java Server Pages (JSP), Java Server Faces (JSF) and others.
The most common way of using AJAX with Java technologies is to use JavaScript. You need to have AJAX functions, such as, creating [...]

Read more

Getting Started with Google Web Toolkit Tutorial

Building AJAX applications using Frameworks:
Any developer will typically create his Ajax application by writing XHTML pages and JavaScript code with his favorite integrated development environment (IDE) or even text editors. A number of different libraries and frameworks exist which allow programmers to use pre-designed JavaScript classes to implement otherwise time-consuming dynamic behaviors, such as [...]

Read more

Handling Complex DataTypes using ASP.NET AJAX

Use of complex data types in Ajax programming is a tricky issue. In many scenarios we need to communicate between the clientand server via strings only.
In this article we discuss how ASP.NET AJAX handles complex data types. We wil use a web service for Ajax communication which will be exposed to client [...]

Read more

The JDA Revolution

Synopsis: As the amount of logic implemented in javascript increases in response to demands in accessibility and client-side functionality, the opportunity for foot-shooting has increased exponentially. JDA is a nimble, kevlar-booted javascript message-passing kernel which manages communication between separate javascript modules and enforces that modularization. JDA stands for Javascript Dataflow Architecture. It is an open [...]

Read more

Dealing with Long Running Processes in ASP.NET

Introduction
. Whether we use Ajax or not, if it is a very long running process the browser may show a time-out error.
In case of ASP.NET AJAX if we use a script manager then we also have to define the time-out for the request which can be difficult in the scenario where we cannot predict how [...]

Read more

Update Multiple Page Elements Using The XMLHTTPRequest Object and JavaScript

In the development of Ajax application many times we will encounter following issues.

The requiremnt to update multiple text boxes simultaneously.
Fill more that one dropdown list.
Update a combination of text boxes, dropdown lists and div tags.
Call different web pages and different webservices at the same time.

Imagine the case of a financial data site (such as a [...]

Read more

Chartered Financial Analyst – CFA Exam

A lot more programmers and IT pro’s are studying for the Chartered Financial Analyst  CFA  Exam these days. The CFA Exam is a three stage  exam commencing with CFA Level 1 Exam which is held in June and December each year.
CFA opens many horizons for developers as there is a constant requirement in the finance [...]

Read more

Creating an AJAX-Enabled Grid using ICallbackEventHandler (Part 2)

In my previous article of Ajax enabled grid using ICallbackEventHandler I outline the creation of a grid with the following operations

Sort the grid in ascending or in descending order by clicking on the arrows next to a column name.
Change pages of the grid.
Change page length of the grid.

In this article we will discuss [...]

Read more

Introduction to GWT Remote Procedure Calls (RPC) (with example application)

Services in GWT
Google Web Toolkit is a Web Application Framework dealing with Servers and Clients. When a Server is required to do some processing in a web-app Services must be used. A service is used to invoke server-side code from the client (and vice-versa occasionally).
In GWT the Client side code pages run more like [...]

Read more

Creating an ASP.NET AJAX-Enabled Grid using ICallbackEventHandler (Part 1)

This article details the development of an ASP.NET AJAX-enabled grid using ICallbackEventHandler, with operations which include sorting, paging and page length change. I will work through the code in sequence, but it may help to download to the entire code sample here
The basic features of the gird are as follows (All operations are asynchronous)

Sort in [...]

Read more