java - Morphia vs Spring Data Mongo -


i using java language.i have use orm framework mongodb database.i have 2 options morphia or spring data mongo support.as far able details , has been found spring data mongo better use since: 1)it provides better dao out of box inbuilt classes. 2)it has larger community base.

are there performance based differences between two.and if there 1 better in condition.also have requirement of multitenancy .after little search found there simple custom implementation in spring data mongo same.but in morphia difficult.does achieving multitenancy in morphia diificult(where need write lot of boiler plate code)

morphia way go. pretty stable, play integration , offers access mongo driver features if need more torque. reference resolution, entity embedding working expected. lifecycle annotations too, pretty useful boilerplate persistence code.

i spring-data because of hades project... don't need implement daos. write interface , spring data automatically provides you. spring data mongodb implementation seems little buggy in initial trial. if have hard dates , working on production quality product, wise choose morphia.

to more information , implementation examples : mongodb-java-comparison/


Popular posts from this blog

php - How should I create my API for mobile applications (Needs Authentication) -

python 3.x - PyQt5 - Signal : pyqtSignal no method connect -

5 Reasons to Blog Anonymously (and 5 Reasons Not To)