Java view for a virtual dom