Quote:
this is not how bpm4struts is doing error handling but it's true it's not 
reusable in the middle tier, I don't mind that. 
(end of quote)




I do mind that quite a bit (for more complex validation): where I work we don't 
just have a web tier exposing the services only, we have may have webservices 
exposing the business tier as well.  

In this case, it is highly desirable not to need to duplicate the validation in 
both places, it should ideally exist in the business tier only and be 
propagated to the UI.   

This can already be done with server side exception handling in struts using 
the pattern matching exception handler we have in bpm4struts: Write an OCL 
constraints as a precondition, and then have the patern matching exception 
handler take care of the rest in propagating it to the UI, however you still 
have to duplicate your javascript error handling, which is a pain
--
Chad Brandon - [EMAIL PROTECTED]

http://www.andromda.org
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=412#412
Posting to http://forum.andromda.org/ is preferred over posting to the mailing 
list!


-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Andromda-user mailing list
Andromda-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to