[ 
https://issues.apache.org/jira/browse/OOZIE-2339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14730368#comment-14730368
 ] 

Mohammad Kamrul Islam commented on OOZIE-2339:
----------------------------------------------

Strong +1.
Actually Falcon is utilizing this.


> Use JAXB to provide a Java interface for writing Jobs based on the XSD schemas
> ------------------------------------------------------------------------------
>
>                 Key: OOZIE-2339
>                 URL: https://issues.apache.org/jira/browse/OOZIE-2339
>             Project: Oozie
>          Issue Type: New Feature
>          Components: client
>    Affects Versions: trunk
>            Reporter: Robert Kanter
>
> Users often complain about the XML they have to write for Oozie jobs.  It 
> would be nice if they could write them in something like Java, but we don't 
> want to have to maintain a separate Java API for this.  I was looking around 
> and saw that JAXB might be the right thing here.  From what I can tell, it 
> lets you create Java classes from XSD schemas.  So, we should be able to 
> auto-generate a Java API for writing Oozie jobs, without having to really 
> maintain it.
> We should investigate if this is feasible and, if so, implement it.
> Some useful looking links:
> https://en.wikipedia.org/wiki/Java_Architecture_for_XML_Binding
> https://jaxb.java.net/2.2.11/docs/ch03.html
> https://java.net/projects/maven-jaxb2-plugin/pages/Home



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to