Master data validation in service layer
Posted
by rakesh-nitj
on Stack Overflow
See other posts from Stack Overflow
or by rakesh-nitj
Published on 2010-06-17T05:25:26Z
Indexed on
2010/06/17
5:33 UTC
Read the original article
Hit count: 219
java
User enters the data in the forms by choosing values from the master data drop downs in web layer. Data is populated in the dropdowns based on some logic from the master data tables and we know for sure that its a valid master data as far as web layer is concern. Now my question is, should be check the validity of the master data in service layer again because we want to use service layer for mulitple interfaces (Web User Interface, Web Services, Unit Test Cases etc.) or we should validate the master data in respective interfaces only.
© Stack Overflow or respective owner