Is The Best Place To Keep Business Logic On The Database Layer Or At Application Layer?
Last updated on SEPTEMBER 01, 2014
Applies to:JDBC - Version 188.8.131.52.0 and later
Information in this document applies to any platform.
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?
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms