InfoQ Homepage News Using TIBCO GI to add Ajax to Struts2 Applications

Using TIBCO GI to add Ajax to Struts2 Applications

This item in japanese


Brian Walsh has a new article up describing how to transform a Struts2 CRUD application into an RIA using TIBCO General Interface. Walsh walks through changing one of the sample Struts2 applications to use some of TIBCO GI's components.

TIBCO General Interface is a toolkit for creating Ajax applications that was released as open-source in October. Walsh provides a high level look at TIBCO GI and Struts2 and then delves into the CRUD application that ships with Struts2. He starts by creating a XML service that will map the Struts action values to and from TIBCO GI's Common Data Format (CDF). Walsh describes how to use the CDF:

In our work here, we’ll create an XML service in Struts2 that returns CDF. In cases where a service returns something other than CDF, GI’s XML mapping utilities provide visual tools for client-side transformations to and from non-CDF formats, to and from CDF. In this way you can also use GI with existing XML, SOAP or other HTTP services.

Walsh goes on to describe the Ajax editable data grid and the mapping rules to use it. Lastly, he describes using TIBCO GI's JavaScript logging and how the deployment structure is affected by the changes.

We need your feedback

How might we improve InfoQ for you

Thank you for being an InfoQ reader.

Each year, we seek feedback from our readers to help us improve InfoQ. Would you mind spending 2 minutes to share your feedback in our short survey? Your feedback will directly help us continually evolve how we support you.

Take the Survey

Rate this Article


Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p


Is your profile up-to-date? Please take a moment to review and update.

Note: If updating/changing your email, a validation request will be sent

Company name:
Company role:
Company size:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.