Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I'm looking for a java framework for handling RDF data in a graph database. The main purpose is to manage several versions of a RDF graph and all versions must be accessible all the time. So version tracking is an important feature I need. Is there any tool that supports this out of the box without to develop it from scratch?
The only tool I found related to this topic is OpenAnzo, but the website is no longer available.
To add a timestamp to the nodes should not be the problem, but also an easy access via SPARQL or another query language should be possible.
You might be interested in the Alibaba Auditing Repository and Auditing SAIL, which are Sesame extensions for RDF data change tracking and provenance (disclosure: I'm on the Sesame development team).
I don't know of any existing database solutions which provide versioning out of the box. Your best bet is to work on a custom scheme for your application over an existing database. For example, you could put different versions of the data into named graphs and use those as the versioning structure, then using from/from named in your query be able to query some or all different versions of your data. You could also try and works something up with reification which would give similar results.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I am building an centralized inventory system using java(swing and servlets). I have local data stored in desktop application which needs to be in sync with an server.
Requirement is:-
1) When local stores are online ,data must be synchronized with server in real time.
2) Local store will have access to their data even if they go offline, but when they go online all local changes must be reflected on server.
I got across microsoft sync framework which is exactly what I need. Is there something equivalent in java?
There are a number of Open Source Replication and Synchronization Tools Written in Java:
Of those listed the following might handle your "offline" requirement:
SymmetricDS – SymmetricDS is a web based, database independent, data synchronization system. Beyond replicating tables between relational databases the software incorporates functionality to handle a large number of databases, manage low-bandwidth connections and work within periods of network outage. The system supports two way replication, guaranteed delivery and multiple active schemas.
I'm sure the others are worth a quick look as well.
See also Strategy for Offline/Online data synchronization for some great discussion on things to think about/watch out for.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
My task description is something like this:
"Application should be able to store text/binary files in some filesystem storage. Every file has an author and date of uploading. Application should store all versions of files and provide abilities to review history/versioning tree".
We can't use DB solution here because we have another application that processes uploaded files and it requires original file version (build script which uses javac command). And this is not good idea to store files in the database.
So I'm looking for some ready-to-use solution and I want to avoid writing my own storage implementation.
I've googled some solutions and see jackrabbit library as a variant. It implements JCR specification. But also I saw some bad comments about JCR concept.
Please advise me something else.
Or is JCR good enough for my task?
That requirement sounds like source code version control. There are APIs for Git and Subversion, and probably for other less used systems. http://svnkit.com for example, a search for "git api" or "subversion api" will turn up others.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I installed cassandra (on ubuntu) and I think it's convenient and good. But I didn't build a complete app and further on I expect that I must deliver something like full-text searches and even something like search suggests (with AJAX). I know there are API:s that can do functions like "search suggest" (e.g. JQuery plus some http access to your data can make search suggest with AJAX) so now I wonder if we must build ourselves a search API for cassandra or if there already are some available?
Unfortunately, there really isn't a good way to do that with vanilla Cassandra, so you're going to have use an additional search tool like Solr. DataStax has a product (DataStax Enterprise Edition) that tightly integrates Cassandra with Solr (for searching). Here's a link to the DSE download page. You can try it out in your DEV environment for free. They also have a tutorial on how to get a simple column family indexed in Solr.
Otherwise, you can integrate Cassandra with Solr on your own, too. But the nice thing about DSE, is that they take care of the Cassandra/Solr integration. Also, DSE is currently on Cassandra 1.1.x (I forget the exact version) so if you need to use 1.2.x, you'll have to integrate with Solr on your own anyway.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
Is there a way to programmatically create BPMN 2.0 via a Java API?
I'm aware that I can use a graphical modeling tool or create the BPMN XML by hand but I'm looking for a way to create it dynamically at run-time.
In my case, the BPMN will be executed through jBPM. The jBPM docs say you can use their API to define processes but they don't recommend its use "to shield yourself from internal APIs". It would be great if there were an API that wasn't tied to a specific vendor.
EasyBPMN is one option. There is no "vendor neutral" way in that Java doesn't have a standard API for the concept (unlike, say generic XML manipulation), but this would be an option which would be more portable between workflow engines and modeling tools.
the whole idea about the BPMN2 spec is to be vendor neutral, inside jBPM5 you have the fluent API that in some way allow you to create BPMN2 models that you can export. I'm not sure if it's up-to-date with the latest features that are supported in the XML but I'm pretty sure that you can create your own processes with it.
Cheers
BPMN2 model is based on EMF model (org.eclipse.bpmn2 project, model folder, BPMN20.ecore file). You can use EMF Java Api to create, read or modify BPMN2 models.
You can use the library from activiti.
here there's a blog post of one of the people behind activiti.
I did a compiler that modifies a process based on this and it works.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I'm looking for an API with the following requirements
It's simple to use and is concise. It is not bloated.
Works with Spring way of doing things, or is at least easy to make it work with Spring
Has a Maven repository, preferably it's already in the main repositories
Is production-tested, meaning a fair number of people are using it in production applications.
Help? Thanks!
Hector and Pelops are, as far as I know, the two that are most widely used (4). I dont think any of the two are mavenized (3). Both should work in a Spring framework environment(2). Your first criteria might be a little bit subjective. I dont find any of these two bloated. You might do, if you do, please tell me.
i know this is an old question but I'd like to point future viewer of the question to Astyanax. It's a very well documented Cassandra API with many examples and support very high level features such as locking and all versions of cql. Astyanax is also Mavenized.
Kundera is a object-datastore mapping tool for Cassandra, Hbase and MongoDB.
Some of the salient features are:
JPA 2.0 compliant.
Column/ super column indexing using lucene.
Support for entity relationships and JPA queries.
Cross-datastore persistence
It's hosted here:
https://github.com/impetus-opensource/Kundera