what is the use of maven-jaxb2-plugin? is it used to generate java classes from xsd? what kind of classes does it generates from xsd?
maven-jaxb2-plugin
Thanks!
Most common use is in soap based webservices, SOAP webservices exposes WSDL and that defines the schema of the classes being used in webservices
for example:
public void sayHello(Person person){}
Now client need to make call to it using an instance of Person
which client will come to know from WSDL and this plugin helps to generate this classes
是的,它使用来自XSD的JAXB注释生成POJO。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.