Re: anyone accessing "h2" java database with DBI?

[email protected] ("Peter J. Holzer")
Newsgroups perl.dbi.users
Message-ID <[email protected]>
On 2010-05-05 20:10:47 +0200, Alexander Foken wrote:
> On 05.05.2010 14:24, John Scoles wrote:
>> That is what I would say you would have to go with as I could not find  
>> a C or C++ interface for it on my quick look at the site.  There must  
>> be one someplace though??
> Why should there be a C/C++ interface for a Database written entirely in  
> Java?

For the same reason why you might want a Java interface to a database
written in C: So that you aren't forced to write your applications in
the same language as the database.

In the Unix world, ABIs are typically defined via a C interface: It's
stable, it's compiler-independent, and every language has a way to call
it. So when you have a C interface, you can write your application in
any language you want (including Java). The same is not necessarily true
for other languages (including Java).

Of course for a server you don't need an ABI: You can (and maybe should)
publish the network protocol instead and let people write their own
client libraries.

        hp

-- 
   _  | Peter J. Holzer    | Auf jedem Computer sollte der Satz Ludwigs II
|_|_) | Sysadmin WSR       | eingeprägt stehen: "Ein ewig Rätsel will ich
| |   | [email protected]      | bleiben, mir und andern."
__/   | http://www.hjp.at/ |    -- Wolfram Heinrich in desd
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQFL4oftMdFfQa64PCwRAr8oAJ4qVOTL2C52I1iNOJFPHN85QE/4EgCfVyfN
TNAnUDq2z0qMo2MuMrkdXDU=
=OOT3
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.