As I mentioned in my question, I have already written a JNI library for
Windows and Solaris for SQLite they work fine.  And no Jay, you can't
"link" DLLs/Shared Libraries into Java, you can bind to them via a JNI
container.

The attraction of a pure Java solution is obvious - if a client wants
this app to run on VMS then I've got to create another JNI library that
is VMS specific.  Id you've ever written any JNI you'll know why this
isn't an all together pleasurable experience.

I've tried the C2J application and that actually looks like it does a
reasonbale job but with a whole load of missing stuff, mainly in pager.c
I'll have another crack at it when I get a bit more time.

Steve



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
rg] On Behalf Of Andrew Piskorski
Sent: 24 October 2005 22:21
To: sqlite-users@sqlite.org
Subject: Re: [sqlite] Convert SQLite to Java

On Mon, Oct 24, 2005 at 09:58:53PM +0100, Steve O'Hara wrote:

> I've been worn down by my quest for a comparable product to SQLite
> written in pure Java and have come to the conclusion that it doesn't
> exit.  I've looked at Derby, QED, Axion, blah blah and I'm not too

> My next port of call is to look at the feasibility of converting the
> SQLite source into Java!  

Uh, why isn't your first choice simply, "Use SQLite from Java"?
Surely calling C libraries is something the Java folks have worked out
how to do many years ago?  Or what am I missing here?  What is the
attraction of "pure Java"?

-- 
Andrew Piskorski <[EMAIL PROTECTED]>
http://www.piskorski.com/


Reply via email to