Neokernel Demos

Visual Basic Object Manager Demo

Download ObjectManager.zip and uncompress it inside the demos\VB Projects\ folder.

Open ObjectManager.sln using Visual Studio and press F6 to build the demo.

Double click on the file start_nk.bat to start Neokernel.

This demonstration illustrates the object storage services included with the Neokernel. It will wake up and create some number of props, storing them in a FileObjectManager.

The IObjectManager defines an interface which doesn't require knowledge about the underlying storage mechanism.

The FileObjectManager implements this interface to store props in a user-specified directory; this demonstration showcases these capabilities. Props are loaded from the specified directory on the hard-disk when the FileObjectManager is started, and when a Prop is changed, it is written to the hard-disk.

Other Object Managers might hold information temporarily in memory, while others are capable of managing data as records in an SQL database.

Object Managers typically register with the Service Manager when started and set the value of their service_name prop to object_manager.

Updated: 7/12/10 7:46 PM