advertisement
Premier Club Log In/Registration
  Include Code  Search Tips
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   SKILLBUILDING  |   TIP BANK  |   SOURCEBANK  |   FORUMS  |   NEWSLETTERS
Browse DevX
Partners & Affiliates
advertisement
advertisement
Average Rating: 4.3/5 | Rate this item | 3 users have rated this item.
 Print Print
 
Spring WebFlow Sneak Preview: Reuse and Framework Abstraction
Spring WebFlow is a new Web framework that brings an innovative and highly structured approach to building Web applications. Get a sneak peek of the features in this next-generation Spring offering. 

advertisement
he Spring framework, a lightweight open source J2EE container previously featured on these pages, is about to introduce a significant new feature as part of its already impressive offering. With the next release (1.3 , scheduled for summer of 2005) Spring will officially incorporate Spring WebFlow, an innovative, high-level Web framework for creating and configuring reusable Web flows within a Web application.

Those familiar with Spring may mistakenly assume Spring WebFlow is the same as Spring MVC. It's not. Spring MVC is a lightweight framework for Web application development, while Spring WebFlow introduces a whole new value proposition. It enables Web application architects to focus on the more abstract concerns of Web application development: the structure of logical Web flows and the definition of Web event conditions. Furthermore, it introduces new concepts such as continuations (more on those shortly).

This article reviews some of the key concepts behind this upcoming framework, examining the major compositional elements of the flow markup language in the context of the sample login sequence flow, and explaining why WebFlow is an attractive framework. (Readers must have a basic knowledge of the Spring framework release 1.2.)

Spring WebFlow Concepts and Components

As a Web framework, WebFlow has advantages in both conceptual and practical terms. It is grounded in sound software engineering concepts that promote consistent and solid architectures, and its components are logical, easy to understand, and easy to work with—even on a large scale.

In fact, the framework is best suited for medium-sized to large applications development because its component model is optimized for architectural reuse and effective manageability and configurability.

 
Figure 1. WebFlow's State Machine

Case Study in Context

As a case study, this article examines the most common Web application flow, a Web authentication sequence, and uses some of its segments for demonstration. A Web authentication sequence consists of a login form, a registration form, authentication action, registration action, and rendering the results for these actions. This example focuses mostly on the configuration for the components that render the login form.

Automata-Based Architecture

Spring WebFlow is based on the concept of the Finite State machine, also known as a Finite Automata. User interactions and transitions within a Web application are modeled on the common state machine principles of states and transitions—a very popular model in software engineering (see Figure 1). Automata-based design is an interesting design choice, and it is likely to gain popularity among application architects for its clarity and disciplined approach to modeling Web interactions.
  Next Page: Key Components of WebFlow
Page 1: IntroductionPage 3: Reuse with WebFlow
Page 2: Key Components of WebFlowPage 4: Spring MVC and Spring WebFlow as a Primary Framework
advertisement
Advertising Info  |   Member Services  |   Permissions  |   Contact Us  |   Help  |   Feedback  |   Site Map  |   Network Map  |   About


JupiterOnlineMedia

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

Solutions
Whitepapers and eBooks
IBM eBook: Planning a Service Oriented Architecture
IBM eBook: Choosing the Right Architecture--What It Means for You and Your Business
Microsoft Article: Will Hyper-V Make VMware This Decade's Netscape?
Avaya Article: Using Intelligent Presence to Create Smarter Business Applications
Intel Go Parallel Article: Getting Started with TBB on Windows
Microsoft Article: 7.0, Microsoft's Lucky Version?
Avaya Article: How to Feed Data into the Avaya Event Processor
IBM Article: Developing a Software Policy for Your Organization
Microsoft Article: Managing Virtual Machines with Microsoft System Center
Intel Go Parallel Article: Intel Threading Tools and OpenMP
HP eBook: Storage Networking , Part 1
Microsoft Article: Solving Data Center Complexity with Microsoft System Center Configuration Manager 2007
MORE WHITEPAPERS, EBOOKS, AND ARTICLES
Webcasts
HP Video: StorageWorks EVA4400 and Oracle
HP Webcast: Storage Is Changing Fast - Be Ready or Be Left Behind
Microsoft Silverlight Video: Creating Fading Controls with Expression Design and Expression Blend 2
MORE WEBCASTS, PODCASTS, AND VIDEOS
Downloads and eKits
Red Gate Download: SQL Toolbelt and free High-Performance SQL Code eBook
Iron Speed Designer Application Generator
MORE DOWNLOADS, EKITS, AND FREE TRIALS
Tutorials and Demos
Silverlight 2 App and Walkthrough: Leverage Silverlight 2 with SQL Server and XML
IBM Article: Enterprise Search--Do You Know What's Out There?
HP Demo: StorageWorks EVA4400
Microsoft Article: The Progress and Promise of Deep Zoom
Microsoft How-to Article: Get Going with Silverlight and Windows Live
MORE TUTORIALS, DEMOS AND STEP-BY-STEP GUIDES