How to embed mongodb in a java program instead of running a daemon -


is there way embed mongodb in java application instead of running daemon.

i have downloaded mongodb jdbc drivers , added them classpath.

you can not embed mongodb in java process. separate process.

you can start , stop when program starts/stops spawning process. not suggested mongodb meant run background server; if best pick random port start on doesn't affect other mongodb instances. need make sure include correct binaries platform java app deployed on since requires more jvm.


Comments

Popular posts from this blog

actionscript 3 - TweenLite does not work with object -

php - How can I edit my code to echo the data of child's element where my search term was found in, in XMLReader? -

c# - Global Variables vs. ASP.NET Session State -