Vaadin , Clojure with MongoDB

In this article I'll show how to connect vaadin clojure app with mongoDB. Assume you have a basic knowledge about vaadin , clojure and mongo.

MongoDB Part 1

To connect clojure and mongo we need to use some driver like mysql connector/J use to connect mysql and java. For clojure and mongo we use karras driver.
More info about karras :
You can try the example in there :

In my example I'll show the usage of this.

In here I create a simple text box and a submit button. When a user enter something to textbox and click Submit button that entered data store in as a clo-vaadin collection in test database in mongoDB.

Bellow I mention the git repo that you can find the source code.

No comments:

Post a Comment