@@ -0,0 +1,748 @@
+// HelloMongo.java%0A%0Aimport java.util.Iterator;%0A%0Aimport ed.db.Mongo;%0Aimport ed.db.DBCollection;%0A%0Aimport ed.js.JSObject;%0Aimport ed.js.JSObjectBase;%0A%0Apublic class HelloMongo %7B%0A    public static void main( String args%5B%5D )%0A        throws java.net.UnknownHostException %7B%0A        %0A        Mongo m = new Mongo( %22localhost%22 , %22test%22 );%0A        DBCollection c = m.getCollection( %22things%22 );%0A        %0A        JSObject o = new JSObjectBase();%0A        o.set( %22name%22 , %22eliot%22 );%0A        %0A        c.save( o );%0A        %0A        System.out.println( c.findOne().get( %22name%22 ) );%0A%0A        Iterator%3CJSObject%3E i = c.find();%0A        while ( i.hasNext() )%7B%0A            JSObject found = i.next();%0A            System.out.println( found.get( %22name%22 ) );%0A        %7D%0A%0A    %7D%0A%7D%0A

hello mongo