[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


    [ https://issues.apache.org/jira/browse/OFBIZ-606?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12463183 ]

Alexander Kosenkov commented on OFBIZ-606:
------------------------------------------

Inspired by https://issues.apache.org/struts/browse/SB-7:

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.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira