Using TIBCO GI with Spring

A couple of days ago I blogged about the beta 2 release of TIBCO General Interface 3.2. You’d think that a solid, well-designed set of JavaScript libraries and tools like GI would go hand-in-hand with an IoC web framework such as Spring.

And, sure enough, an article on TheServerSide explains exactly how to incorporate GI-based AJAX applications into your Spring Web MVC project.

The tutorial begins with an overview of AJAX, and describes where GI fits in. There’s then a brief overview of Spring’s MVC implementation, complete with simplified sequence diagram. Then the tutorial gets down into the nitty-gritty of integrating GI into the Spring architecture; including customizing the Ant build script to build and deploy the whole combined chimera onto your Tomcat server.

There are quite a few steps to it overall; but the tutorial author states in the Conclusion that it took much more time to document the example application than it did to write it; and I can well believe him.

For all that, though, the steps are described succinctly, but with enough detail to explain why each step is required. It should be noted that the tutorial is for Spring 1.2.8, whereas Spring 2.0 has now escaped into the wild. But the Spring developers have gone to great lengths to preserve backwards compatibility, so most of what’s in there should still be relevant.

Getting back to basics, you can also find a “vanilla” Spring MVC tutorial on the SpringFramework website.

About the Author

Matt Stephens is a senior architect, programmer and project leader based in Central London. He co-wrote Agile Development with ICONIX Process, Extreme Programming Refactored, and Use Case Driven Object Modeling with UML - Theory and Practice.

Featured

Upcoming Events

AppTrends

Sign up for our newsletter.

I agree to this site's Privacy Policy.