Connecting browser with Spring services