krzysztof1980 / jwktl

Automatically exported from code.google.com/p/jwktl
0 stars 0 forks source link

Support for alternative databases / Fork a BerkeleyDB-free version #4

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I wanted to note that although 'jwktl' is covered by an Apache license, it has 
a deep dependency on Berkeley DB. Oracle dual licenses Berkeley DB; its open 
source license is now AGPL (see e.g. 
http://www.infoworld.com/d/open-source-software/oracle-switches-berkeley-db-lice
nse-222097)  This makes it impractical to use jwktl in any commercial 
application, unless a very costly commercial license (on a per-processor basis) 
is acquired from Oracle.

I have not dug into the source code yet, but I would like to have some informed 
opinion on the feasibility of moving from using Berkeley DB to a more open 
licensed database system - either purely relational such as the excellent H2, 
or the powerful XML database system BaseX.

Original issue reported on code.google.com by newintel...@gmail.com on 28 Oct 2013 at 2:58

GoogleCodeExporter commented 9 years ago
The "deep dependency" is known and explicitly mentioned on the homepage. I'm 
not an expert in licensing models, but I have been told that releasing JWKTL 
under the Apache license is OK also with the Berkeley DB dependancy, as long as 
this is made clear. As such, I don't see a contradictory licensing.

Regarding your issue of using JWKTL for a commercial application: it is well 
possible that the Oracle dependency does not allow this; I don't know exactly.

Switching to a different database is well possible and there are some first 
steps towards supporting multiple databases already in the code. However, 
there's no quick solution to that. I suggest keeping this ticket under the 
heading of adding support for a different database and maybe splitting the 
licenses for API and database. 

Original comment by chmeyer.de on 4 Dec 2013 at 4:05

GoogleCodeExporter commented 9 years ago
I'd also like to see the support of other databases, as using BerkleyDB with 
Android is kind of a mess

Original comment by Johannes...@gmail.com on 26 Jan 2015 at 7:46