Java Reference
In-Depth Information
As a final note, there may be cases where you would want to customize your JAXB source
generation. It makes sense to want to encapsulate certain types if it ensures better encapsu-
lation of your web services layers. But excessive customization can make it more difficult to
maintain your code, and can potentially introduce interoperability problems. So while custom-
ization is powerful and easy to use, and frequently is necessary to get the result you need, use
caution and consider not going too far down this road. Make sure that you're working to keep
your stuff flexible and maximize your chances for interoperability; this is, after all, the point
of web services.
Search WWH ::




Custom Search