JasDB NoSQL DB

Superfast multi-platform NoSQL Document database with Android support

News

We have recently released a Docker container for running JasDB. This should make it extremely simple for everyone to ...
We have released a small bugfix release of JasDB to go along with our new Obera HomeAutomation solution: Obera HomeAu...
We have managed to create quite an exciting JasDB 1.1 release which contains a whole lot of bugfixes and new function...

What is JasDB?

JasDB is a super-fast multi-platform NoSQL database which can be embedded in your software or scaled out and also has full Android support. This makes JasDB useful for quick prototyping.

REST Service

JasDB provides a full REST interface with a full query and data manipulation API

Android support

JasDB has full support for running on an Android based device

Performance

JasDB is a lean and agile database that offers high performance

Entity Mapper

We provide a full entity mapping solution for any Java/JVM based language

Query Engine

A powerfull and simple API with full query capabilities

Security

Full support for security groups and users and OAuth support in REST

Quick Install guide

JasDB is incredibly easy to get started with it is up and running under a minute simply download and run it, or simply include it in your project

Instructions
  • Install JasDB by unzipping the download
  • Start the database using start.bat or start.sh
  • Open http://localhost:7050
Linux/OSX Command
chmod +x *.sh
./start.sh
Windows Command
start.bat

Developing

Using JasDB is incredibly simple to use and provides both a Java and REST based API, see here a small snippet to get started in Java


//Open DB Session
DBSession session = new LocalDBSession();
EntityBag bag = session.createOrGetBag("MyBag");

//Insert some data
SimpleEntity entity = new SimpleEntity();
entity.addProperty("title", "Title of my content");
entity.addProperty("text", "Some big piece of text content");
bag.addEntity(entity);

//Retrieve entity by Id
SimpleEntity e = bag.getEntity("056f8058-e1f7-4f8e-a2f8-332e62c15961");

//Query the DB
QueryExecutor executor = bag.find(QueryBuilder.createBuilder().field("field").value(queryKey));
QueryResult result = executor.execute();
for(SimpleEntity entity : result) {
    //access the properties if desired
    entity.getProperty("field1");
}

API Documentation

For full documentation on the Client API look on the wiki
There is also a full Object mapping solution available

License

JasDB is fully open source under the MIT X11 License, see the license statement here below


This software adheres to the MIT X11 license: Copyright (c) 2015 Renze de Vries @ Obera Software


Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. There is an additional requirement to the above MIT X11 License: Redistribution of this software in source or binary forms shall be free of all charges or fees to the recipient of this software.

Contact

If you have any questions or need assistance you can contact Oberasoftware info at oberasoftware.com

Want us to help you out on a Home Automation solution?

Renze de Vries
CTO @ Oberasoftware

Get Connected