The eXo JCR implementation supports two ways of Nodetypes registration:
From a NodeTypeValue POJO.
From an XML document (stream).
This section shows you how to define and register a node type via different manners. Also, you will know how to change and remove a node type and more other instructions.