Answer the question
In order to leave comments, you need to log in
Organizing the structure of a java + mongo application?
I am writing a small applet on SE. As a data store, the choice fell on mongodb (I have not encountered NoSQL before, but mongo is popular).
Actually, I have no experience in developing a competent package / class architecture > _ <
I would like advice from experienced people.
Given:
in addition to packages with entities, bins and enums, there is Utils, in which I store all sorts of static data and converters that are useful for the work of the applet. There is also a services package with one class that stores AppSerivce with skeletons of methods for reading / writing data ... but where and how to organize a database connection in mongo ?! like static objects in a service class?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question