To go to Christian , on scalability.
It's just that RDBMs are used more as pure data warehouses, and logic is used for application servers. The optional AS layer gives developers more flexibility than using RDBMS as an application server.
Previously, in the classic days, Fat Apps and Client Server, DB and Application Server were basically the same. You had the application logic embedded in your fat client code, or you returned it to the DBMS. But at that time, the main form of communication was SQL directly in the database.
Other application protocols (CORBA, DCOM, Remote EJB, and the increasingly common XML / JSON / HTTP-RPC style protocols over HTTP) are currently more common. Most databases do not respond directly to these protocols, so the application tier is used to intercept these calls and this tier invokes the database.
But, as we learned, now we get much more flexibility by introducing logic into this layer. A wide selection of tools, great caching flexibility or fault tolerance or even database technology (RDMBS, OODBMS, Document are stored as CouchDB). This “new” 3rd level, despite the added complexity, adds more flexibility and power than the complexity that it introduces.
When your application level is a very thin veneer on top of stored procedures, it really is a question of why it is even there at all.
Using the database and all its functions is an acceptable application strategy even today. SQL Server, Oracle, etc. - These are terribly powerful software components.
Even then, though, the third level is extremely useful in adding flexibility to a modern system.
Will Hartung Sep 02 '09 at 17:59 2009-09-02 17:59
source share