[jira] Commented: (OFBIZ-606) Replace XML with Java5 annotations where possible
Posted by Nicolas Malin (Jira) on URL: http://ofbiz.116.s1.nabble.com/jira-Created-OFBIZ-606-Replace-XML-with-Java5-annotations-where-possible-tp176271p176274.html
As a work-around, it is possible to generate Data model XMLs from Java Beans in build-time.
> Replace XML with Java5 annotations where possible
> -------------------------------------------------
>
> Key: OFBIZ-606
> URL: https://issues.apache.org/jira/browse/OFBIZ-606 > Project: Apache OFBiz (The Open for Business Project)
> Issue Type: Improvement
> Components: framework
> Affects Versions: SVN trunk
> Reporter: Alexander Kosenkov
>
> Another Apahce project, Struts2 has 'Zero XML action configuration' feature (WW-1491).
> This means, that many of XML configuration files are replaced by Java5 annotations.
> OFBiz can use this approach!
> At least, it would be really nice to use well-developed EJB3 Persistance annotations for replacing ulgy Data Model xml.