To use javax namespace, you must use a version < 4.0.0 of this plugin. From 4.0.0 it uses the jakarta namespace for xml bindings.
The @a_sync('async') decorator can be used to define an asynchronous function that can also be executed synchronously.