Tuesday, 18 August 2009

Re: [Tyndale STEP - Programming] GWT version of JSword

I'm happy to knock up a quick sample. I'd put that on hold until we
heard from David.

The way it happens, is that GWT will generate a proxy interface (both
client and server) and deals with the communication. In the background
what happens, is that Javascript using XmlHttpObject will send xml
messages back to the server. Jetty will interpret those and send those
to the appropriate java handlers. From then on, the programmer will
link it to the database.

As far as I can see, using gears, it wouldn't be possible to access
JSword, which is why the google groups page he set up was suggesting
to store the KJV version in the SQL Lite database that comes with
Gears instead (and therefore not using JSword at all).

I'll see if I can have a look at doing something with that tonight!
Chris


On 18/08/2009, Tyndale STEP Project <TyndaleSTEP@gmail.com> wrote:
> Yes, Chris, I agree that this would seem to be the way to go,
> (ie Jetty, GWT, JSword, Java database)
> but I'm uneasy till I see something working.
> In particular I don't yet 'get it' about how JavaScript can send a
> request to a Java API in JSword,
> but I'm hoping that I missed something and David will show us how to do
> it.
> David IB
>
> --
> Posted By Tyndale STEP Project to Tyndale STEP - Programming on
> 8/18/2009 05:54:00 AM

No comments:

Post a Comment