title: How to configure Jackson in Wildfly?
body: <p>I've got a Session Bean with the following method:</p>
  
  <pre><code>@POST
  @Consumes("application/x-www-form-urlencoded")
  @Path("/calculate")
  @Produces("application/json")
  public CalculationResult calculate(@FormParam("childProfile") String childProfile,
          @FormParam("parentProfile") String parentProfile) {
  ...
  }
  </code></pre>
  
  <p>The returned CalculationResult cannot be mapped to JSON and the following exception occurs:</p>
  
  <pre><code>Caused by: com.fasterxml.jackson.databind.JsonMappingException: No serializer found for class com.test.UniqueName and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS)...
  </code></pre>
  
  <p>How can I configure Jackson and its <code>SerializationFeature</code> in Wildfly?</p>