We have started to use the java FX with FXML for a desktop application. We need to load some combos with values from a local cache and we created a builder that instantiate the combo, fill it with values from cache and return it. We expect to have around 20 builders.
I know most of java FX builders are deprecated because of this http://mail.openjdk.java.net/pipermail/openjfx-dev/2013-March/006725.html
According to a FXML tutorial if the FXMLLoader
cannot create an object of a class, it looks for a builder that can create the object. A builder is an implementation of the Builder
interface. The interface is in the javafx.util
package and it contains one method build()
.
I don’t see having the problems they have in the article and I know that if the java builders are deprecated doesn't mean changes in the FXMLLoader, still I'm concerned having unexpected behaviors with the future releases of javaFX.
Given that we are at the beginning of the project should we continue to use the java fx builders?