How to share common xsd accross independent XML schemas and how to handle common xsd libraries across different xjc
compilations
This post describes common setup to handle environment specific customization of java projects through maven profile
What is CORS CORS stands for Cross Origin Request Resource Sharing. CORS is a protocol that defines how a client (the browser) and a server negociate allowing the handling of cross origin requests via HTTP headers. Why do I see... Continue Reading →
Introduction JAX-B bindings is a great tool when it comes to customizing the generation of Java classes from a set of XML schema using xjc. The output of a xjc compilation can be customized through: Embedded bindings: where bindings is... Continue Reading →
How to handle formatted content using JAX-B using the following methods:
- standard string character escaping
- Base64 encoding
- CDATA ecapsulation
When marshalling Java objects to XML documents using JAXB, the default behavior for the Marshaller and Unmarshaller is to respectively escape and unescape the XML special characters. Sometimes, there is a specific need to have more control over this process to either change it or simply disable it. This post shows how to control this behavior.
dependency pom.xml configure Jackson Add or update your MVC configuration so as to register the Hibernate Module to the existing MappingJackson2HttpMessageConverter
how to configure WebMVC with spring boot using a Java only method