Dynamically create ReST-Resources by using CDI