How to start a objectdb server with new Daemon (without blocking the thread)??

#1

I am planning to use objectdb+jetty on Google compute engine server for my next project. But it seemed starting the server will block my thread. Any instruction to avoid thread blocking? 

 

#2

Consider using embedded mode, which is faster, and does not require running a server.

If you want to run an ObjectDB Server from your code, you can call:

    com.objectdb.Server.main(...);

where the parameters are explained in the server documentation page.

This can also be invoked in a separate thread.

ObjectDB Support
ObjectDB - Fast Object Database for Java (JPA/JDO)

Post Reply

To post a reply and/or subscribe to update notifications - please login