[jira] Created: (OFBIZ-606) Replace XML with Java5 annotations where possible

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (OFBIZ-606) Replace XML with Java5 annotations where possible

Nicolas Malin (Jira)
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 (https://issues.apache.org/struts/browse/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

       
Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-606) Replace XML with Java5 annotations where possible

Nicolas Malin (Jira)

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

Alexander Kosenkov updated OFBIZ-606:
-------------------------------------

    Description:
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.

  was:
Another Apahce project, Struts2 has 'Zero XML action configuration' feature (https://issues.apache.org/struts/browse/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.


> 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

       
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-606) Replace XML with Java5 annotations where possible

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ 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

       
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-606) Replace XML with Java5 annotations where possible

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

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

oh... seems that OFBiz does not have Model Classes at all...
I'm very amazed, because Java trends to be Object-oriented language with some cool J2EE frameworks =)

Someone, please delete this issue, is XLS is THE ONLY place to describe data model in OFBiz :)

> 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

       
Reply | Threaded
Open this post in threaded view
|

[jira] Closed: (OFBIZ-606) Replace XML with Java5 annotations where possible

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Jacques Le Roux closed OFBIZ-606.
---------------------------------

    Resolution: Won't Fix
      Assignee: Jacques Le Roux

> 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
>         Assigned To: Jacques Le Roux
>
> 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