Skip to content

xvik/dropwizard-orient-server

Repository files navigation

Embedded OrientDB server for dropwizard

License CI Appveyor build status codecov

DOCUMENTATION https://xvik.github.io/dropwizard-orient-server

Example: Sample todo application

About

Embeds OrientDB server into dropwizard.

Simplifies development environment (no need to maintain separate server) without sacrificing functionality (embedded server is 100% the same as usual server). Also, simplifies production deployment and allows to slightly reduce memory consumption on server due to single (shared) vm. To switch application to external server simply switch off embedded server in configuration.

Embedding is officially proposed

Features:

The state of OrientDB

OrientDB was bought by SAP, which stopped paid support but continued supporting a tiny team working on it. As a consequence, previously enterprise features (profiler) are open-sourced now.

OrientDB is alive: bugfix releases are made every few months, new features are added (very slowly). OrientDB 4 is also in work (will not release soon).

The original author of OrientDB Luca Garulli has started a new db https://arcadedb.com/ (only query engine was forked - overall it's a different project)

In 2024, one of the core developers Andrii Lomakin has forked orient as https://youtrackdb.io/. Work in progress, no releases yet but looks very promising - this db should be used inside JetBrains YouTrack

Setup

Maven Central

Maven:

<dependency>
  <groupId>ru.vyarus</groupId>
  <artifactId>dropwizard-orient-server</artifactId>
  <version>4.0.0</version>
</dependency>

Gradle:

implementation 'ru.vyarus:dropwizard-orient-server:4.0.0'
OrientDB Dropwizard dropwizard-orient-server
3.2 5 4.0.0
3.0 - 3.2 2.0.0 3.0.0
3.0 1.3.5 2.2.0
2.2.17 1.1.4 2.1.0
2.2.0 - 2.2.17 (studio webjar, lucene as plugin) 1.0 1.4.0
2.0 - 2.1 0.8 - 1.0 1.3.0
1.0 0.8 1.1.1
1.0 0.7 1.1.0

Snapshots

Snapshots could be used through JitPack:

  • Go to JitPack project page
  • Select Commits section and click Get it on commit you want to use (you may need to wait while version builds if no one requested it before)
  • Follow displayed instruction:
    • Add jitpack repository: maven { url 'https://jitpack.io' }
    • Use commit hash as version: ru.vyarus:dropwizard-orient-server:378ece3c6e

Usage

Read documentation

Use provided sample application.

Might also like


java lib generator

About

Embedded OrientDB server for dropwizard

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •