Looks pretty cool, I’ll definitely have a look at this later. I have actually had “MongoDB: integration example + blog entry” on my TODO list Have you worked a lot with MongoDB + Vaadin? Any other tips for the topic? Maybe you’d like to write that blog entry?
We (Edoardo, Daniele and me) are working on a project (Tyl) that will propose a lot of nice stuff on the combination Vaadin+MongoDb+Event Driven Programming.
As Marco wrote, we are currently working on another addon that should bring some cool stuff in Vaadin. I would be glad to write a guest post about Vaadin + Mongo. I could write something about the design choices that we made in the Mongo Container addon, describe some use cases, and further development in this direction.
What do you think?
Feel free to contact me in private (evacchi at tylconsulting it)
We have just released
version 0.9.1 of the addon which fixes a bug with
cache handling , and uploaded a fixed version of the demo.
I take this occasion to recall that our MongoDB Container Addon is a
Lazy Container, that loads data from MongoDB by caching pages of ObjectIds, in order to be able to handle many entities with a low memory footprint.
Version
0.9.3 introduces the
Container.Filterable interface.
You can now interactively add and remove new filters to the Container. The original (optional) Criteria object set at building time will be always kept. All standard Vaadin filters are supported (see the Book of Vaadin). If you want to support more filters, just extend the
DefaultFilterConverter with more cases
Aha I figured out that it uses the name of the bean class that you’re using, the caveat is that it converts it to all lowercase. Does it expect that all field names are lowercase also?
MongoContainer uses Spring Data, so it follows Spring Data’s conventions. The collection name is the name of the bean class, lowercased; the field names are the property names of the bean (
e.g. getFooBar becomes “fooBar”)
Since it’s been mostly bug-free for a while now, we are happy to announce that
MongoDBContainer Add-on has hit
1.0 version ! Update your maven dependencies!
Actually, we are planning to support this addon for ever. We are investing a lot on the combination Vaadin+Mongodb+our addons (FieldBinder and MongoDbContainer)