Skip to content

Stable Java API #564

@adamretter

Description

@adamretter

It would be nice to have a Java API which is both inherently safe to use and remains stable. The work that has gone into refactoring the XML:DB, XML-RPC and RESTServer APIs has a greater purpose, which is to be refactored into a Java 8 lambda based API for eXist, let's call it JAPI for the moment (better names welcome).

JAPI would sit between eXist core and any interaction with 3rd party Java code, it effectively wraps DBBroker, Txn, DocumentImpl, Resource and XQuery. Much of the work is already done, it just needs to be further abstracted and the existing external APIs refactored to use it.

It's goals are to provide ARM (Automatic Resource Management), lock-safety and reduce the proliferation of copy-pasta.

Metadata

Metadata

Assignees

Labels

enhancementnew features, suggestions, etc.in progressIssue is actively being worked upon

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions