sj:mug Holiday Mongo Talks
Join the DZone community and get the full member experience.
Join For Free
my local demo is hitting a mongodb instance at mongolab , the provide free hosting for a small dataset.
i have a simple application based on spring data for mongodb.
mongooperations mongoops = null; appconfig config = new appconfig(); try { mongoops = config.mongotemplate(); } catch (exception e) { e.printstacktrace(); logger.error("mongo connection error", e); } person person = mongoops.findone(new query(where("name").is("joe")), person.class); logger.info(person.tostring()); model.addattribute("mongoinfo", person.tostring());
- august 2012 – 2.2
- aggregation framework
- improved concurrency
- mongo is great for email storage / documents
- aggregation - unix style piping
- ttl (time to live)
- garbage collect data
- unwind an array
Spring Data
MongoDB
Data (computing)
application
Framework
Garbage (computer science)
Spring Framework
Data structure
Document
Published at DZone with permission of Tim Spann, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.
Comments