[jsword-devel] Progress report

DM Smith dmsmith555 at yahoo.com
Fri Apr 11 14:25:11 MST 2008


I've been working on adding write support for modules. This is necessary 
for supporting "Personal Commentary".

As pre-work to that I've been cleaning up the code that reads from the 
modules. A benefit from this is that I have fixed a major irritant with 
large dictionaries. If you were to click on Webster's Dictionary, it 
would take so long to load the entire list that you could go get a cup 
of coffee and maybe take a walk around the block. During that time 
BibleDesktop would be unresponsive and not repaint, leading many to 
assume that it was crashing.

No more! Now it loads in mere moments. Dictionaries like Strong's Greek 
now seem instantaneous and Webster's takes 1-2 seconds for me. The other 
plus is that the memory foot print is much smaller. I've rebuilt it on 
the server. So if you want to grab the latest nightly download, it is 
there for you to try it out.

There has been some interest in using JSword in a web app. Perhaps the 
simplest way to tie a web page to java is with DWR, which Joe Walker, 
one of the JSword founders, invented. I have added a new package to 
JSword called o.c.jsword.bridge. In here you will find DwrBridge, which 
is a tiny and simple interface to the power of JSword that can be easily 
hooked into using DWR. I'll go into more details in a later post on how 
to use it.

Also on o.c.jsword.bridge are command line programs. These started out 
in o.c.jsword.examples, but my intention on putting them here is that 
you can rely on them. Here you will find:
BookInstaller - a Sword Module Manager
BookIndexer - a Sword Module Indexer
BookExporter - a Sword Module Exporter using imp format

In addition to being command line programs, these can be building blocks 
for your program.

For now...

In His Service,
    DM





More information about the jsword-devel mailing list