File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes Embedded MongoDB? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JDBC
Reply Bookmark "Embedded MongoDB? " Watch "Embedded MongoDB? " New topic
Author

Embedded MongoDB?

Paul Hilliar
Greenhorn

Joined: Jul 11, 2003
Posts: 9
Can you run MongoDB embedded from Java? I would normally run H2 embedded and it is extremely useful for backing in-memory integration tests

Or does MongoDB need to be a separate process?

Cheers

Paul.
Kyle Banker
author
Greenhorn

Joined: Nov 22, 2011
Posts: 16
Hi Paul,

You have to run it as a separate process. MongoDB is written in C++, so it wouldn't be embeddable in Java anyway.

Kyle
 
IntelliJ Java IDE
 
subject: Embedded MongoDB?
 
Threads others viewed
MongoDB vs Hadoop
* Welcome Kyle Banker
CruiseControl jetty server
J2MEoff the Phone
Is MongoDB easy to install?
IntelliJ Java IDE

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture