Path: news.cambrium.nl!textnews.cambrium.nl!feeder2.cambriumusenet.nl!feed.tweaknews.nl!postnews.google.com!news1.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.insightbb.com!news.insightbb.com.POSTED!not-for-mail
NNTP-Posting-Date: Sat, 12 Dec 2009 03:58:47 -0600
From: BChase <bsc7080xxmqc@myoracleportal.com>
Newsgroups: comp.databases.oracle.misc
Subject: "Business Logic / Rules should never be in the database or stored procedures"
Date: Sat, 12 Dec 2009 04:58:42 -0500
Message-ID: <2ip6i5dptjtf8lfqq1dshl22cl2id03thq@4ax.com>
X-Newsreader: Forte Agent 6.00/32.1186
X-No-Archive: yes
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 32
X-Usenet-Provider: http://www.giganews.com
X-AuthenticatedUsername: NoAuthUser
X-Trace: sv3-mn1iXlrWplmsjada/fThIprwj2EBZ50ZO01O37DhMVeqYSPfDrebdu0CrCq185LTuqCxIUOZCeraTJ/!fkMCNbZEZyDoGOidt5VF2rzrgtcZ00dVXVhANoLWaS9Sp6Y9j/MMx/5f5+m5z4tpawthQ4g4UXw3!zn6jd7wm4c8=
X-Complaints-To: abuse@insightbb.com
X-DMCA-Complaints-To: dmca@insightbb.com
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
Xref:  news.cambrium.nl


I have run into a differing of opinions in my shop and wish to hear comments from some of our seasoned individuals here.

I am architect within a fortune 500 company. My primary role has served around the Oracle Applications environment and Oracle
database. We are currently on 11g and 11.5.10 Application tier. We do have Oracle Workflow, but most of our coding is PLSQL based
stored procedures. From my understanding, there exist a blend of business logic between the database and the application layer for
the Oracle Applications framework. I say this because of how Oracle expands the OA environment by adding modules. The rules have to
go somewhere when so many of the framework pieces appear to be the same.

This all came about when an EA standard was posted about not parsing XML within stored procedures for performance reasons. My
thought maybe it should have been an opportunity to educate and explain how to mitigate performance issues if one needed to pass XML
objects to stored procedures and parse the information as opposed to a bold sweeping statement.

What is my problem ? Well assuming I am not misinterpeting things, my Enterprise Architect area and some non-Oracle knowledge
architects feel that the business logic / rules should only be in the application tier. Only Create, Read, Update, and Delete
operations belong in stored procedures. Reason being that the database cannot process the business rules efficiently nor can they
effectively be managed. My contention is that they care coming at it from a typical application perspective, not an ERP perspective.
I can understand workflow logic being externalized (aka Oracle Workflow), but the restricting stored procedures to CRUD operations
only... would seem to belittle the power of the Oracle database and what it has to offer.

Mind you, these other individuals have primary backgrounds and experience with SQL Server. This may be where some of there
performance short sightedness may come from, you think ?

Anyways, am I off my rocker about sayings its a blend, but that there definitely exist many opportunities for the business logic /
rules to exist in the database... and should. 
BChase
bsc7080mqcXX@myoracleportal.com
(remove XX to contact)

****************************************************************
Resource Library is now Online @ http://www.MyOraclePortal.com
****************************************************************
