Presently, exactly what I have read signifies that you need to run MongoDB like a separate process/service. Can there be in whatever way to host MongoDB in-process? Otherwise now, are their known intends to implement this type of feature?
Depending on my knowledge about MongoDB and my skimming from the problem tracker tickets at http://jira.mongodb.org/browse/SERVER, I'm not sure associated with a method to host MongoDB in process. I additionally found no proof of future plans to do this.
I would suggest asking this about the mongodb-user subscriber list: http://groups.google.com/group/mongodb-user
MongoDB is GNU AGPL licensed if you include (link) inside your application then your supply of that application may also be GNU AGPL licensed. You are able to obviously launch MongoDB out of your application at startup and terminate MongoDB again once the application stops.