MongoDB is one of the many rising stars on the NoSQL horizon. MongoDB outperforms other databases in development speed once you get used to thinking in data structures again instead of somewhat more or less arbitrary split rows. If you do not use MongoDB, this recipe will not help you at all.
You can find the source code of this example in the
As there is already a wonderful and well known booking application, which is also used in many other frameworks (Seam, Spring, ZK) as an example, we will take it in this example and convert it to use MongoDB as its persistence backend. So, in order to get ready, copy it from the
samples-and-tests/booking directory of your Play installation ...