struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brown, James" <james.br...@ca.unisys.com>
Subject Best practices for multi-channel/shared data validation
Date Wed, 04 May 2005 19:14:06 GMT
I am in the midst of the redesign of a CORBA-based application
framework.  The target architecture is J2EE.  One architectural goal is
that EJB's are used to house (or at least front-end) all core business
logic and rules - no underlying knowledge or concern about page flow,
data collection or end-user interface.  
 
The latter (end-user interface) is the topic I am interested in; more
specifically, it is the end-user interface mechanism/channel and how to
become agnostic of the technology/channel.  In an ideal world, I would
like to be able to "share" an underlying data validation technology
across channels to reduce duplication.
 
For example, I would like to be able to validate a User (name(s), phone,
fax, cell, address(es), etc.) object via the same validation methods in
struts, a web service and at the EJB level.
 
I have given some thought to commons-validator and AJAX, but have not
looked into feasibility or usefulness in this scenario.
 
Does anyone have any advice or suggestions?
 
-- James 

THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers. 

 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message