Re: Non-ORM layers over JDBC - Mailing list pgsql-jdbc

From Petite Abeille
Subject Re: Non-ORM layers over JDBC
Date
Msg-id 0C69F095-1B21-4974-ABE7-70FBE2ABEB12@gmail.com
Whole thread Raw
In response to Re: Non-ORM layers over JDBC  (Craig Ringer <craig@postnewspapers.com.au>)
List 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/


pgsql-jdbc by date:

Previous
From: Mark Lewis
Date:
Subject: Re: Non-ORM layers over JDBC
Next
From: Petite Abeille
Date:
Subject: Re: Non-ORM layers over JDBC