Handling CDATA with JAXB

How to handle formatted content using JAX-B using the following methods:

  1. standard string character escaping
  2. Base64 encoding
  3. CDATA ecapsulation

Enable JMX on tomcat

Controlling character escaping with jaxb

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.

Apache httpd status page

Various links to get global status, load balancer status and module status with apache httpd

Apache httpd forward proxy

The following snippet adds a forward proxy to an apache web server in a VirtualHost listening on port 9090. To use, configure your browser so as to use your apache server as a proxy on port 9090

Jackson serialization and hibernate Lazy loading

dependency pom.xml configure Jackson Add or update your MVC configuration so as to register the Hibernate Module to the existing MappingJackson2HttpMessageConverter

Add HTTPS support to a tomcat web application

Securing a tomcat web application through an apache HTTPS reverse proxy or using tomcat HTTPS support

Using Multiple github accounts

How to use multiple identities when working with git and github repositories

MVC configuration with spring boot

how to configure WebMVC with spring boot using a Java only method

Powered by

Up ↑