86 words

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

2015-06-09 08:20

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? 


taheta's picture
Joined on 2015-06-09
User Post #1
2015-06-09 12:39

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:


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)
support's picture
Joined on 2010-05-03
User Post #2,227

Post Reply

Please read carefully the posting instructions - before posting to the ObjectDB website.

  • You may have to disable pop up blocking in order to use the toolbar (e.g. in Chrome).
  • Use ctrl + right click to open the browser context menu in the editing area (e.g. for using a browser spell checker).
  • To insert formatted lines (e.g. Java code, stack trace) - select a style in the toolbar and then insert the text in the new created block.
  • Avoid overflow of published source code examples by breaking long lines.
  • You may mark in paragraph code words (e.g. class names) with the code style (can be applied by ctrl + D).
  • Long stack traces (> 50 lines) and complex source examples (> 100 lines) should be posted as attachments.
Maximum file size: 32 MB