ALL COVERED TOPICS

NoSQL Benchmarks NoSQL use cases NoSQL Videos NoSQL Hybrid Solutions NoSQL Presentations Big Data Hadoop MapReduce Pig Hive Flume Oozie Sqoop HDFS ZooKeeper Cascading Cascalog BigTable Cassandra HBase Hypertable Couchbase CouchDB MongoDB OrientDB RavenDB Jackrabbit Terrastore Amazon DynamoDB Redis Riak Project Voldemort Tokyo Cabinet Kyoto Cabinet memcached Amazon SimpleDB Datomic MemcacheDB M/DB GT.M Amazon Dynamo Dynomite Mnesia Yahoo! PNUTS/Sherpa Neo4j InfoGrid Sones GraphDB InfiniteGraph AllegroGraph MarkLogic Clustrix CouchDB Case Studies MongoDB Case Studies NoSQL at Adobe NoSQL at Facebook NoSQL at Twitter

NAVIGATE MAIN CATEGORIES

Close

java: All content tagged as java in NoSQL databases and polyglot persistence

Neo4j Gets Experimental JDBC Driver

Neo4j getting a JDBC driver before MongoDB is a surprise[1]. Rickard Öberg:

When it comes to NOSQL databases, one of the key advantages is that they allow you to structure your data in a way that better resembles your domain, and also allows you to use query languages where you can express things that are either really awkward or slow with SQL. However, one of the advantages that relational databases have is that they can be accessed from lots of tools using JDBC, as a standard API. So what would happen if a NOSQL database, like Neo4j, also had a JDBC driver? I decided to find out!

If this catches up, the next step is adding a non-HTTP protocol to Neo4j server.


  1. MongoDB is the NoSQL database with the richest querying model which resembles SQL.  

Original title and link: Neo4j Gets Experimental JDBC Driver (NoSQL database©myNoSQL)

via: http://rickardoberg.wordpress.com/2011/12/19/creating-a-jdbc-driver-for-neo4j/


Centralized Logging With Amazon SimpleDB, Slf4j, and Logback

Store logs in SimpleDB. Amazon SimpleDB is a highly available, flexible and scalable non-relational data store. It is perfect for this situation. It is eventually consistent, write-optimized, highly available and extremely durable. It can handle extremely large tables that can keep the logging data very well. It can query and filter logs. Oh, and it is also really cheap.

Plus, the simpledb-appender is doing the right thing:

Logback is designed to be extremely efficient. simpledb-appender is also designed to have minimal impact on CPU resources. Logging events are buffered in memory and then later at user-configurable intervals (by default 10 seconds) are written to SimpleDB in bulk on a separate thread. In this way calls to the logging API return very quickly, and the time-consuming work is done in a way that doesn’t block the main application. A JVM shutdown hook writes any unwritten log events when the application exits.

Original title and link: Centralized Logging With Amazon SimpleDB, Slf4j, and Logback (NoSQL database©myNoSQL)

via: http://www.peecho.com/blog/logging-the-cloud-with-simpledb.html


Overview of MongoDB Java Write Concern Options

Chris Harris[1]:

A write concern controls the behaviour of your write operation based upon your provided write behaviour requirements.

In this blog I going to attempt to provide an overview of the basic write concerns options available to you however the driver does provide additional options not explained here.

While it defaults to fire-and-forget behavior (non-blocking, speed advantage), it also supports safe, majority, fsync safe, journal safe.


  1. Chris Harris is a European Solution Architect at 10gen  

Original title and link: Overview of MongoDB Java Write Concern Options (NoSQL database©myNoSQL)

via: http://www.littlelostmanuals.com/2011/11/overview-of-basic-mongodb-java-write.html


Griffon and NoSQL Databases

Andres Almiray:

The following list enumerates all NoSQL options currently supported by Griffon via plugins:

  • BerkeleyDB
  • CouchDB
  • Memcached
  • Riak
  • Redis
  • Terrastore
  • Voldemort
  • Neo4j
  • Db4o
  • Neodatis

The first 7 are Key/Value stores. Neo4j is a Graph based database. The last two are object stores. All of them support multiple datasources, data bootstrap and a Java friendly API similar to the one shown earlier.

Griffon is a Groovy-based framework for developing desktop applications. While the coolness factor of Java-based desktop apps is close to zero, having some multi-platform management utilities for these NoSQL databases might be interesting.

Original title and link: Griffon and NoSQL Databases (NoSQL database©myNoSQL)

via: http://www.jroller.com/aalmiray/entry/griffon_to_sql_or_nosql


MongoDB Type Safe Queries With QueryDSL and Spring

Short intro to using Spring and QueryDSL for getting type-safe MongoDB queries:

The way QueryDSL works is by generating query classes based upon your persistence domain model. QueryDSL has a simple maven plugin that scans for appropriate annotations and generates the query classes for you.

If you’re looking for MongoDB query DSLs, take a look at Foursquare’s Rogue: a Scala-based query DSL and how to create a Clojure query DSL.

Original title and link: MongoDB Type Safe Queries With QueryDSL and Spring (NoSQL database©myNoSQL)

via: http://cjharris5.blogspot.com/2011/09/spring-mongodb-type-safe-queries.html


The Stories of the Revamped Riak Java Client and Improvements in Python Client

If you read the story of the MongoDB Erlang driver, you’ll probably enjoy reading about Riak’s revamped Java client or the improvements in the Riak’s Python client .

Original title and link: The Stories of the Revamped Riak Java Client and Improvements in Python Client (NoSQL database©myNoSQL)


Seven Java Projects That Changed the World

Over the last decade, several projects have traveled beyond mere adoption and had effects dominating the Java world, into software development in general, and some even further into the daily lives of users.

Not sure how Edd Dumbill came up with the list[1], but it includes Solr (and implicitely Lucene) and Hadoop. I concur.


  1. The list looks good to me.  

Original title and link: Seven Java Projects That Changed the World (NoSQL database©myNoSQL)

via: http://radar.oreilly.com/2011/07/7-java-projects.html


structr: CMS on top of Neo4j

structr :

structr is a free, open-source CMS under the GPLv3, written in Java, based on the fantastic NoSQL graph database Neo4j.

By design, structr is modular, distributed and easy to use.

structr is not yet stable, so please be patient and look out for bugs and minor (or even major) pitfalls.

If my memory serves me right, Neo4j started as a library used internally for building content management systems.

Patrick Durusau

Original title and link: structr: CMS on top of Neo4j (NoSQL databases © myNoSQL)


Simhashing in Hadoop with MapReduce, Cascalog and Cascading

Simhashing in MapReduce is a quick way to find clusters in a huge amount of data. By using Cascading and Cascalog we’re able to work with MapReduce jobs at the level of functions rather than individual map-reduce phases.

Chris K.Wensel

Original title and link: Simhashing in Hadoop with MapReduce, Cascalog and Cascading (NoSQL databases © myNoSQL)

via: http://www.xcombinator.com/2011/05/09/cascading-simhash-a-library-to-cluster-by-minhashes-in-hadoop/


MongoDB Adoption in the Java World

July 2010 (approximately 1 year ago):

Every time I realize the flurry of NoSQL activity in the dynamic languages space, I feel the urge to post about the status of NoSQL adoption and support in environments like C# and Java.

November 2010 (6 months ago):

Spring frameworks feels like be all do all these days. On the other hand, having NoSQL databases integrated with Spring framework my actually represent an opportunity to penetrate the enterprise world.

Last month:

The platform lets you build applications with Java and other JVM-based frameworks such as Grails and Roo, Rails and Sinatra for Ruby and Node.js. […] Cloud Foundry also supports MySQL, MongoDB and Redis

Yesterday

Over the last few months, the Java MongoDB ecosystem has started to drastically evolve. New features in the core MongoDB server continue to distinguish the product from the crowd and new engineers are joining the MongoDB open source community by contributing Java persistence (mappers) frameworks and libraries.

Note: The format of this post has been heavily inspired by John Gruber’s Wolf!.

Original title and link: MongoDB Adoption in the Java World (NoSQL databases © myNoSQL)


Globals: InterSystems Free NoSQL database for Java

As of now 5 hours until we will get Globals, yet another NoSQL database from InterSystems, the Caché object database creators.

Will it be a graph database like the Objectivity spin off InfiniteGraph?

Update: the countdown is at zero for a while and nothing happened.

Original title and link: Globals: InterSystems Free NoSQL database for Java (NoSQL databases © myNoSQL)


Persisting Eclipse Modeling Framework models to MongoDB

The project is called mongo-emf […] One feature that I hope you will find attractive is that there are no annotations or XML configuration files required.

If there’s no XML then it’s not Java.

Original title and link: Persisting Eclipse Modeling Framework models to MongoDB (NoSQL databases © myNoSQL)

via: http://bryanhunt.wordpress.com/2011/03/15/mongo-emf/