Reduce Dependencies
Previous | Next | Table of Contents |
If you add a JCypher dependency to your project's pom.xml, you implicitly also add dependencies to a couple of other components. JCypher provides database access in a uniform way to remote as well as to embedded databases (including in-memory databases). It needs different libraries for remote database access compared to embedded or in-memory database access.
Have a look at an excerpt of JCypher's pom.xml covering the dependencies to libraries needed for the different types of database access.
In many cases you will not use all three kinds of database access in your project, and you may want to get rid of the extra dependencies you don't need (this will reduce the footprint of your application). You can do so by defining exclusions in your project's pom.xml.
Following you find three excerpts from pom.xml files showing configurations for different kinds of database access. Of course you can also use combinations of these. If you don't define any of these exclusions, you are able to use all three kinds of database access (remote, embedded, in-memory) at the same time.
Remote database access
Embedded database access
In-memory database access
Previous | Next | Table of Contents |
Home
Architectural Overview
Getting Started
Graph Database Access
Query DSL Expressions
Query DSL with Parameters
Generic Graph Model
Domain Mapping
Domain Queries Predicate Expressions
Domain Queries Traversal Expressions
Domain Queries Collection Expressions 1
Domain Queries Collection Expressions 2
Domain Queries Query Concatenation
Generic Domain Model
Persisting Domain Queries
JSON Facade
Transactions
Concurrency Support
Reduce Dependencies
Outlook (Roadmap)
Future Zone