javafx got married with spring