[sword-devel] SWORD Java support?

Tsoloane Moahloli sword-devel@crosswire.org
Wed, 16 Aug 2000 08:39:05 +0200 (SAST)


I'll have a look at it.  I am currently stuck in a project at work that is
in it's last throes, but I should be done be the end of August and I should
have a little respite!!

On 15-Aug-2000 Troy A. Griffitts wrote:
> Please.  Many people have asked for a Java interface to our API and
> modules.  The vss format is quite simple really.  Rather than descibe
> it, I'd rather point you in the direction of
> sword/src/modules/common/rawverse.cpp  This file contains the low level
> routines to operate on the .vss file, but basically it's a 6 byte
> record: struct { unsigned long offset, unsigned short size }
> 
> I've been following the premise of porting class for class from C++ to
> Java so that someone familiar with the API could use either language
> with a minimum learning curve.  Any comments on this?
> 
> Thanks again for all the offers to help!
> 
>       -Troy.
> 
> 
> 
> 
> Tsoloane Moahloli wrote:
>> 
>> Just on the Java front, what is the format of the VSS file, and is it
>> possible
>> for someone else to port the VerseKey class.  I can do this, starting in 
>> the
>> next few weeks if I have this format.
>> 
>> Cheers.
>> T.
>> On 11-Aug-2000 Joe Walker wrote:
>> >
>> > Hi,
>> >
>> >> I'm most interested in redoing my PERL CGI script as a Java servlet w/o
>> >> the need to run a command-line tool as the CGI does.  I'm also looking at
>> >> developing Palm stuff with KVM.
>> >
>> > Take care with the KVM. From what I can see it is
>> > a) not a JVM and
>> > b) a bad idea
>> >
>> > Not a JVM? The problem I think was that to Classload, for example
>> > java.lang.String you also have to Classload a zillion other classes which
>> > it
>> > references. Pop goes your 1Mb memory (or whatever). So the KVM rewrites
>> > all
>> > the code libs to remove class inter-dependancies, and pop goes any hope of
>> > compatibility.
>> >
>> > Bad idea? Well Moore Law says that in a few months Palms will have fast
>> > StrongARMs and 64Mb of memory etc. So I'd suggest developing for a PC now
>> > and waiting on a Palm.
>> >
>> > Joe.
>> 
>> --
>> When was the last time you did something for the first time?
>> 
>> Tsoloane Moahloli
>> Zen Computing (Pty)Ltd.
>> phone +27 11 706 7054
>> email: tsoloane@zen.co.za               URL: http://www.zen.co.za

-- 
When was the last time you did something for the first time?

Tsoloane Moahloli
Zen Computing (Pty)Ltd.
phone +27 11 706 7054
email: tsoloane@zen.co.za               URL: http://www.zen.co.za