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?
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?
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.