My Oracle Support Banner

Is The Best Place To Keep Business Logic On The Database Layer Or At Application Layer? (Doc ID 1491120.1)

Last updated on SEPTEMBER 01, 2014

Applies to:

JDBC - Version 11.2.0.3.0 and later
Information in this document applies to any platform.

Goal

Take a real life situation where some of Business Logic is implemented at Database Layer (Oracle) using PL/SQL Packages, Procedures, Functions with Cursors , Bulk Collect, Types, Nested Tables, etc.

All this Business Logic is extensively used and the rest of business logic is at Application Side (Java) accesing the database using JDBC thin client.

Under such situation, what is the best place to keep business logic? Is it at DB layer or Application layer ?

What will be the impact of keeping all business logic at application side (Java) instead of Database Layer ?

Will the memory requirement of Application will increase? 

What are the best practices to follow in deciding this?
 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.