Spring mvc with mongodb persistence