<div dir="ltr">Hi,<div><br></div><div>as of my knowledge, yanel currently is heavily relying on the ResourceInput object when it comes to create and save a data document (XML) to Yarep. see create(ResourceInput input) methods.</div><div><br></div><div>I see one big disadvantage in this:</div><div>If you have a java class that also want to create data objects (XMLs) of a certain type, it can not just fill in a data bean and then store it to yarep (via JAXB). Because the logic for storing the XML is inside the Resource responsible for that type of data.</div><div><br></div><div>Am I missing something or how do you deal with this?</div><div><br></div><div>Concrete question:</div><div>From a java class not being a yanel resource, I want to reuse the create/save logic of a certain data type that currently gets handled by a resource in the create() method. </div><div><br></div><div>I have the feeling that resources should just contain the business logic. </div><div>data handling should be disconnected via the facade pattern.</div><div><br></div><div>Any comments on this?<br>Cheers, Balz</div></div>