<@UQ8NE6A86> As far as I understand, the annotatio...
# datascience
a
@Ilya Muradyan As far as I understand, the annotation processor is used only for library definition discovery. Are there any reasons not to use Java SPI? Also why definition is not an interface it needs to access something in JupyterIntegration?
i
Java SPI mechanism needs a service file to be defined in resources. Marking class with annotation is easier. You also may turn off annotation processing and specify names of integration classes right in your build.gradle file
LibraryDefinition
is an interface,
JupyterIntegration
is a class for convenient implementation of this interface.
a
Thanks for the clarification. I will try to use all those ASAP.