Any recommended pattern or strategies for accessing data from java in mongo db?

I am just starting a project where I need to return a POJO from our mongo db. I did a quick search and found several developers in development, but nothing out of the ordinary.

What I'm looking for:

1) Ideally, as little additional code as possible to display POJO on mongodb (and vice versa) 2) Recommended access strategy / template (regarding pooling, input configuration, etc.)

+3
source share
2 answers

I did a quick search and found a few mappers in development but nothing extremely solid.

, MongoDB 18 . "" 4-6 , , . " " " prod".

NoRM - .NET "POCO" Mongo. "POJO", - MongoDB. , .

Mongo, , , , "java-to-object", . , .

" " Java, , , POJO- , .

+1

POJO MongoDB

+1

Source: https://habr.com/ru/post/1758264/


All Articles