[jsword-devel] jsword on gae
Yoguan
yighu at yahoo.com
Sat Oct 3 13:33:51 MST 2009
I don't think jsword will run on gae as it is.
1. Gae does not support thread.
2. This may be my wrong impression. I didn't spend much time to investigate it. But if I am right, then You need to have a way to keep the book module files. Deployment to gae means to upload a war file and run it there.so you won't be able to separate the book modules from the application.
I think of one way to run jsword is to deploy a war to gae while keep the search function somewhere else. Between the gae web application and the search are web services or json.
Sent from my iPhone
On Oct 3, 2009, at 3:00 PM, jsword-devel-request at crosswire.org wrote:
Send jsword-devel mailing list submissions to
jsword-devel at crosswire.org
To subscribe or unsubscribe via the World Wide Web, visit
http://www.crosswire.org/mailman/listinfo/jsword-devel
or, via email, send a message with subject or body 'help' to
jsword-devel-request at crosswire.org
You can reach the person managing the list at
jsword-devel-owner at crosswire.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of jsword-devel digest..."
Today's Topics:
1. Re: JSword on Google App Engine (DM Smith)
2. Re: Request Public API for FontStore (DM Smith)
----------------------------------------------------------------------
Message: 1
Date: Sat, 3 Oct 2009 07:07:16 -0400
From: DM Smith <dmsmith at crosswire.org>
Subject: Re: [jsword-devel] JSword on Google App Engine
To: christopher at burrell.me.uk, J-Sword Developers Mailing List
<jsword-devel at crosswire.org>
Message-ID: <B9E5AA88-B0E0-49D3-A9A6-058496DFC14F at crosswire.org>
Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes
On Oct 3, 2009, at 5:10 AM, Chris Burrell wrote:
Hi
I was just wondering if people think it is possible to take JSword
as is, and run it as a library on Google App Engine? My thinking is
that it is not, since it downloads the books when you install them
to disk (wherever that might be) and with Google App Engine you have
only read-access to the disk...
I'm not at all familiar with Google App Engine, so I can't really
comment. JSword does not expect to have write access to the disk. It
is possible to install a JSword based frontend on a CD and run it from
there. It leaves no trace on the host computer. The obvious problem is
that other books cannot be downloaded.
I'm curious as to what you think about the GAE and JSword.
Am I right? or would it be possible to configure the drivers somehow
to enable the books to be stored somewhere else? like in their non-
relational datastore?
There are two parts to finding a Book (aka module).
1. Locating the SWORD repository on disk that has the Book. This is
not part of the driver. This determines the root of the Book store.
This is adaptable and can be taught to look at many more disk locations.
2. Locating and using the files belonging to the Book. This is the
responsibility of the driver.
It is possible to write a locator and a driver for another store.
I'm not sure that I answered your question.
In Him,
DM
------------------------------
Message: 2
Date: Sat, 3 Oct 2009 07:16:15 -0400
From: DM Smith <dmsmith at crosswire.org>
Subject: Re: [jsword-devel] Request Public API for FontStore
To: J-Sword Developers Mailing List <jsword-devel at crosswire.org>
Message-ID: <FD3183F5-25E2-4254-9FDC-B57D4BECDE2B at crosswire.org>
Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes
On Oct 3, 2009, at 2:07 AM, Tonny Kohar wrote:
Hi,
Sorry, do I need to put this public API request in the JIRA so it will
not be forgotten due to the nature of mailing list ?
I have done that for you.
http://crosswire.org/bugs/browse/COM-11
I think our development efforts for JSword, et al, should be driven
from JIRA.
I like using it as a record of changes so that on a release, I can
create the release notes more easily.
It is also a good place to store contributed patches.
BTW, I'm going to add set/get for the private member variables instead
of increasing their visibility. Let me know if that does not work for
your plans.
In Him,
DM
Cheers
Tonny Kohar
On Wed, Sep 30, 2009 at 4:36 PM, Tonny Kohar <tonny.kohar at gmail.com>
wrote:
Hi,
On Wed, Sep 30, 2009 at 4:26 PM, Tonny Kohar
<tonny.kohar at gmail.com> wrote:
Hi,
I would like to request Public API for o.c.common.swing.FontStore,
because at the moment almost important field and method is marked as
private.
So here is the list (if possible) to be changed from private to
Public/Protected
- method private void load() -> change to public/protected void
load()
- method private void store() -> change to public/protected void
store()
- private static final String LANG_KEY_PREFIX to public
- private static final String DEFAULT_KEY to public
- private static final String DEFAULT_FONT public
Oops, almost forget field
private boolean loaded -> change to protected
private Properties fontMap -> change to protected
private URI fontStore -> change to protected
private String storeName -> change to protected
private String defaultFont -> change to protected
because I would like to inherit from the above FontStore class,
rather
reimplemented it.
Cheers
Tonny Kohar
--
Alkitab Bible Study
imagine, design, create ...
http://www.kiyut.com/products/alkitab/index.html
_______________________________________________
jsword-devel mailing list
jsword-devel at crosswire.org
http://www.crosswire.org/mailman/listinfo/jsword-devel
------------------------------
_______________________________________________
jsword-devel mailing list
jsword-devel at crosswire.org
http://www.crosswire.org/mailman/listinfo/jsword-devel
End of jsword-devel Digest, Vol 65, Issue 3
*******************************************
More information about the jsword-devel
mailing list