Representation of the AVL tree with Spring MVC framework