The MokaNet is a distributed datastore for Java, which takes the place of more traditional database solutions like MySQL. It is more scalable
than MySQL, and super-easy to use. We hope you'll give it a try!
The world's simplest database (See example code below)
import java.awt.Color;
import com.mokanet.Entity;
public class Car extends Entity {
// Your normal data fields
Color color = Color.RED;
int numWheels = 4;
// Your normal methods
public String toString() {
return "A "+color+" car with "+numWheels+" wheels";
}
}
Samples & Examples
To get started, we provide you with a couple of sample applications. Each application demonstrates a different aspect of the database. See the README file included in each example for more information.
Remember My Message (download)
This simple application asks you to type something. The next time you launch the application, it will remember what you wrote last time and ask you for a new (different) sentence.
CommandLine Music (download)
This simple application allows you to lookup songs by title or artist. You can even listen to 30-second previews of some songs (try: "Song of Hope"). It demonstrates simple database reads, and shows how you can use the MokaNet to build your own tools.
MyMovies WebApplication (download)
This web application allows visitors to browse their movies by title, director, rating, and more. The MyMovies web application runs inside a j2ee servlet container, such as Apache Tomcat. It shows how to configure tomcat's context.xml to use MokaNet's custom classloader, but assumes you're already relatively familiar with Tomcat and web application deployment.
Thank you!
Thanks for taking the time to learn about the Mokanet. If you have any feedback and/or suggestions, we'd love to hear from you.
Good luck designing your application!