WebWork in Action
A hands-on look at the future of Struts
Who is Patrick?
•
Founder of Autoriginate, Inc.
•
Previously worked for Jive Software
•
Founder of OpenQA - open source QA
tools
•
President of OpenSymphony Group, Inc.
•
Author of WebWork in Action (free copies!)
Introduction
•
Overview of WebWork
•
Comparison to other frameworks
•
About the Struts merger
•
WebWork basics: validation, tags, and more
•
Rapid development with WebWork
•
AJAX Support
Overview: WebWork...
•
Is built upon the Command Pattern
•
Works directly with POJOs
•
Uses OGNL for expression language and data binding
•
Has an advanced validation framework
•
Includes an extensible widget system
•
Supports JSP, Velocity, FreeMarker, Jasper Reports, XSLT, and
other view technologies
Core Concepts
•
Three key pieces:
•
Actions (POJOs, ActionSupport)
•
Results
•
Interceptors
•
No “form beans”: the action is the model
•
Value stack allows loose coupling