BT

New Early adopter or innovator? InfoQ has been working on some new features for you. Learn more

Using TIBCO GI to add Ajax to Struts2 Applications

| by Rob Thornton Follow 0 Followers on Apr 04, 2007. Estimated reading time: 1 minute |

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.

Rate this Article

Adoption Stage
Style

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.

Tell us what you think

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

Email me replies to any of my messages in this thread
Community comments

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

Email me replies to any of my messages in this thread

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

Email me replies to any of my messages in this thread

Discuss

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and don't miss out on content that matters to you

BT