Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Oracle Unit Testing
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 BoyerReceived on Sun Feb 04 2007 - 08:53:02 CST
![]() |
![]() |