Re: Non-ORM layers over JDBC

From: Petite Abeille <petite(dot)abeille(at)gmail(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Non-ORM layers over JDBC
Date: 2008-03-26 19:28:12
Message-ID: 0C69F095-1B21-4974-ABE7-70FBE2ABEB12@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc


On Mar 25, 2008, at 2:01 AM, Craig Ringer wrote:

> Unfortunately the vast majority of the information out there
> approaches
> database with Java from the java-centric rather than database-centric
> angle, making it hard to find out about the sort of tools I'm after.

One approach that works rather well in a database-centric environment
is to entirely abstract the database away as a RPC service (also known
as stored procedure).

Using DatabaseMetaData to automatically process the relevant
CallableStatement make the use of stored procedure very transparent to
the client as the interaction with the database boil down to the
equivalent of a regular method call.

Something along the lines of a lightweight Remote Method Invocation
(RMI), but natively supported by your database (perhaps Remote
Database Invocation aka RDI :)

--
PA.
http://alt.textdrive.com/nanoki/

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Petite Abeille 2008-03-26 19:48:10 Re: Non-ORM layers over JDBC
Previous Message Mark Lewis 2008-03-26 15:15:54 Re: Non-ORM layers over JDBC