Struts is an open source framework that facilitates the development of web applications based on Java servlets and other related technologies. Because it provides a solution to many of the common problems developers face when building these applications, Struts has been widely adopted in a large variety of development efforts, from small projects to large-scale enterprise applications.

Although Struts greatly facilitates the task of developers, it doesn't do much to improve the end-user experience: the end-result is still an application delivered in HTML and using the traditional HTTP request/response mechanism.

Developers—and organizations in general—are increasingly looking for solutions to provide their applications with a more engaging user experience that overcomes the limitations of HTML.

Macromedia Flex is a presentation server that addresses this requirement and allows developers to build a new generation of Rich Internet Applications (RIAs) that combine the usability of desktop applications with the reach of traditional web applications.

This article describes how you can provide your Struts applications with a rich front end using Flex technology. The objective of this article is not to make a case for Rich Internet Applications. It assumes that you already understand their value. This article focuses on the Flex/Struts integration from an architectural and technical point of view.

To run the code in this article, you may want to join the flex beta. Flex runs on top of a J2EE Application Server such as Macromedia JRun, IBM Websphere, BEA WebLogic, or Apache Tomcat. In the future, Flex will also run on top of Microsoft .NET server.

0 comments