Re: choices regarding where to place code - in the database or middle tier
From: Sudsy (bitbucket44_at_hotmail.com)
Date: 01/23/04
- Next message: Wendy S: "Re: Struts: messagespresent true when JSP is rendered from Action Servlet"
- Previous message: Mickey Segal: "Re: Mars Rover Not Responding"
- In reply to: Joe: "Re: choices regarding where to place code - in the database or middle tier"
- Next in thread: Jim Kennedy: "Re: choices regarding where to place code - in the database or middle tier"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 23 Jan 2004 14:26:46 -0500
Joe wrote:
<snip>
> 1. Most people agree that you shouldn't forgo declarative referential
> integrity in favor of rules in the middle tier. In that way lies data
> corruption. (for those of you that disagree - please note I said "most")
Since this was posted to a java newsgroup, I'd like to add that
redundancy is always a good idea. A prime example is form validation.
Even though Struts can create javascript for validating input fields
it doesn't mean that you don't also perform validation on the server
side. Validation again when inserting into a database is a good
practice. The more "checks and balances" you design into a system,
the less the likelihood of data corruption.
- Next message: Wendy S: "Re: Struts: messagespresent true when JSP is rendered from Action Servlet"
- Previous message: Mickey Segal: "Re: Mars Rover Not Responding"
- In reply to: Joe: "Re: choices regarding where to place code - in the database or middle tier"
- Next in thread: Jim Kennedy: "Re: choices regarding where to place code - in the database or middle tier"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|