<?xml version="1.0" encoding="UTF-8"?>
<jboss-web>
    <context-root>/todolist</context-root>
</jboss-web>

<?xml version="1.0" encoding="UTF-8"?>
<jboss-web>
    <context-root>/todorest</context-root>
</jboss-web>

Complete the split between JSF and REST.
Complete the split between JSF and REST.
