For the UUID data type, I needed to write a custom converter. As registering
it by @JohnzonConverter(UUIDConverter.class) didn’t work, I followed the
advice in
https://rmannibucau.wordpress.com/2015/07/09/javaee-apache-johnzon-json-libr
ary-javascript-date/ to use the method addPropertyEditor(UUID.class, new
UUIDConverter()). However, that method is deprecated, and no replacement is
given in the docs.

 

1.      What should be used instead of the deprecated method?

2.      In the blog quoted above, it is also shown how to set the access
mode globally in resources.xml. Can the converter also be registered this
way, and what syntax is used for this?

 

 

Viele Grüße

 

Dipl.-Inform. Thomas Matzner

Berater für Systemanalyse

 

www.tamatzner.de

 

 

Von Ruth Stubenvoll und mir verfasst:

IT-Freelancer. Ein Handbuch nicht nur für Einsteiger
<http://www.dpunkt.de/buecher/3816/it-freelancer.html> 

 

 

 

 

 

Reply via email to