Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Oracle Unit Testing

Re: Oracle Unit Testing

From: Galen Boyer <galen_boyer_at_yahoo.com>
Date: 4 Feb 2007 08:53:02 -0600
Message-ID: <uk5yxpzng.fsf@rcn.com>


On 31 Jan 2007, info_at_webcomsystems.co.uk wrote:

> business logic in the java layer

The #1 most overused but completely undefined term. What exactly would you or any J2EE proponent define as business logic?

Should sums and aggregations of data happen in the java tier? There are programmers that actually do this kind of stuff in their code and are proud until I show them the following SQL command, "GROUP BY". Then they realize how many weeks and lines of code they just wasted.

Should month-end, moving averages, comparisons of datasets happen in the java tier?

Some java folks actually think that the FK's really are the domain of java, do you say the same?

I explain VPD to the java folks and they get frustrated with how completely foolproof and sound it actually is and retort that "well, security should be controlled by java". How can this crowd continue to get paid?

So, here is the term I throw right back. Yes, there is business logic, but there is also "data logic".

"Data logic" should be in the database.

-- 
Galen Boyer
Received on Sun Feb 04 2007 - 08:53:02 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US