title: Migrate Apache Tiles definition to JavaConfig
body: <p>I'm currently migrating my Spring project to JavaConfig. Now there is still the <code>tiles.xml</code> which contains the tiles definition.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;!DOCTYPE tiles-definitions PUBLIC "-//Apache Software Foundation//DTD Tiles Configuration 2.0//EN" "http://tiles.apache.org/dtds/tiles-config_2_0.dtd"&gt;
  
  &lt;tiles-definitions&gt;
  
      &lt;!-- Layouts --&gt;
      &lt;definition name = "template.base" template = "/WEB-INF/views/layout/template.jsp" /&gt;
  
      &lt;!-- Example Controller --&gt;
      &lt;definition name = "test" extends = "template.base" /&gt;
  
  &lt;/tiles-definitions&gt;
  </code></pre>
  
  <p>Is it possible to translate that XML configuration file to the new JavaConfig standard?</p>