Domanda

Is possible to use Riak as database with spring mvc?

If yes where can I find some simple examples?

And expect for riak and spring, do I need additional programs for reading and writing to/from the database ?

And last question what is hadoop used for?

È stato utile?

Soluzione

Spring MVC has nothing to do with any database. It's a framework for building your presentation layer which should talk to some business layer which in turn should make use of some data access layer (here's where you get concerned about database persistence).

There is a Spring Data project which provides some common abstractions which can be backed by all kinds of databases. And there seems to be a Spring Data Riak module inside the spring-data-keyvalue project, which you may find useful.

Hadoop, at its core, is a distributed file system which allows you to perform distributed computations on your (possibly huge) data (using the Map/Reduce paradigm or the more general YARN framework).

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top