scala + java with spring framework