[jira] Created: (COCOON3-4) Provide an XML generator based on Bean(s)/POJOs

View: New views
6 Messages — Rating Filter:   Alert me  

[jira] Created: (COCOON3-4) Provide an XML generator based on Bean(s)/POJOs

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Provide an XML generator based on Bean(s)/POJOs
-----------------------------------------------

                 Key: COCOON3-4
                 URL: https://issues.apache.org/jira/browse/COCOON3-4
             Project: Cocoon 3
          Issue Type: Improvement
          Components: cocoon-pipeline
    Affects Versions: 3.0.0-alpha-2
            Reporter: Simone Tripodi
            Assignee: Cocoon Developers Team
            Priority: Minor
             Fix For: 3.0.0-alpha-2


A Bean(s)/POJO(s) generator is a starter component for the pipeline that streams sax events, generated reading/intrsopecting the Object input, to an xml consumer.
It could be useful when Objects are retrieved, i.e. from a persistence engine, and they have to be streamed in an XML format to implement a Rest API.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (COCOON3-4) Provide an XML generator based on Bean(s)/POJOs

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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

Simone Tripodi updated COCOON3-4:
---------------------------------

    Attachment: BeanGenerator.patch

The provided patch implements a BeanGenerator, using the commons-betwixt library.
I know that one of the main scopes of cocoon3 pipeline is limiting the dependencies, but the apache's commons-betwixt already implements a SAX writer that streams xml events to a content handler.
Moreover, as reported on http://commons.apache.org/betwixt/guide/output.html (on the bottom), "SAXBeanWriter pushes events to a SAX content handler. This allows Betwixt to efficiently participate as a content generator in SAX-based pipelines such as cocoon"

> Provide an XML generator based on Bean(s)/POJOs
> -----------------------------------------------
>
>                 Key: COCOON3-4
>                 URL: https://issues.apache.org/jira/browse/COCOON3-4
>             Project: Cocoon 3
>          Issue Type: Improvement
>          Components: cocoon-pipeline
>    Affects Versions: 3.0.0-alpha-2
>            Reporter: Simone Tripodi
>            Assignee: Cocoon Developers Team
>            Priority: Minor
>             Fix For: 3.0.0-alpha-2
>
>         Attachments: BeanGenerator.patch
>
>
> A Bean(s)/POJO(s) generator is a starter component for the pipeline that streams sax events, generated reading/intrsopecting the Object input, to an xml consumer.
> It could be useful when Objects are retrieved, i.e. from a persistence engine, and they have to be streamed in an XML format to implement a Rest API.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (COCOON3-4) Provide an XML generator based on Bean(s)/POJOs

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ https://issues.apache.org/jira/browse/COCOON3-4?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12636542#action_12636542 ]

Reinhard Poetz commented on COCOON3-4:
--------------------------------------

I think we should create a cocoon-pipeline-optional module that contains stuff that requires 3-party dependencies. There we should also set the scope of the dependencies to 'provided'. This prevents Maven from pulling in all libraries automatically.

> Provide an XML generator based on Bean(s)/POJOs
> -----------------------------------------------
>
>                 Key: COCOON3-4
>                 URL: https://issues.apache.org/jira/browse/COCOON3-4
>             Project: Cocoon 3
>          Issue Type: Improvement
>          Components: cocoon-pipeline
>    Affects Versions: 3.0.0-alpha-2
>            Reporter: Simone Tripodi
>            Assignee: Cocoon Developers Team
>            Priority: Minor
>             Fix For: 3.0.0-alpha-2
>
>         Attachments: BeanGenerator.patch
>
>
> A Bean(s)/POJO(s) generator is a starter component for the pipeline that streams sax events, generated reading/intrsopecting the Object input, to an xml consumer.
> It could be useful when Objects are retrieved, i.e. from a persistence engine, and they have to be streamed in an XML format to implement a Rest API.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (COCOON3-4) Provide an XML generator based on Bean(s)/POJOs

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ https://issues.apache.org/jira/browse/COCOON3-4?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12636546#action_12636546 ]

Simone Tripodi commented on COCOON3-4:
--------------------------------------

Yes of course you're right and I agree with you! If this patch will be accepted as "proof of concept", once the cocoon-pipeline-optional will be created I'll create a new patch for the new package

> Provide an XML generator based on Bean(s)/POJOs
> -----------------------------------------------
>
>                 Key: COCOON3-4
>                 URL: https://issues.apache.org/jira/browse/COCOON3-4
>             Project: Cocoon 3
>          Issue Type: Improvement
>          Components: cocoon-pipeline
>    Affects Versions: 3.0.0-alpha-2
>            Reporter: Simone Tripodi
>            Assignee: Cocoon Developers Team
>            Priority: Minor
>             Fix For: 3.0.0-alpha-2
>
>         Attachments: BeanGenerator.patch
>
>
> A Bean(s)/POJO(s) generator is a starter component for the pipeline that streams sax events, generated reading/intrsopecting the Object input, to an xml consumer.
> It could be useful when Objects are retrieved, i.e. from a persistence engine, and they have to be streamed in an XML format to implement a Rest API.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (COCOON3-4) Provide an XML generator based on Bean(s)/POJOs

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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

Reinhard Poetz reassigned COCOON3-4:
------------------------------------

    Assignee: Reinhard Poetz  (was: Cocoon Developers Team)

> Provide an XML generator based on Bean(s)/POJOs
> -----------------------------------------------
>
>                 Key: COCOON3-4
>                 URL: https://issues.apache.org/jira/browse/COCOON3-4
>             Project: Cocoon 3
>          Issue Type: Improvement
>          Components: cocoon-pipeline
>    Affects Versions: 3.0.0-alpha-2
>            Reporter: Simone Tripodi
>            Assignee: Reinhard Poetz
>            Priority: Minor
>             Fix For: 3.0.0-alpha-2
>
>         Attachments: BeanGenerator.patch
>
>
> A Bean(s)/POJO(s) generator is a starter component for the pipeline that streams sax events, generated reading/intrsopecting the Object input, to an xml consumer.
> It could be useful when Objects are retrieved, i.e. from a persistence engine, and they have to be streamed in an XML format to implement a Rest API.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (COCOON3-4) Provide an XML generator based on Bean(s)/POJOs

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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

Reinhard Poetz closed COCOON3-4.
--------------------------------

    Resolution: Fixed

Thanks for your patch. After creating a new module 'cocoon-optional' I've added it to it.

> Provide an XML generator based on Bean(s)/POJOs
> -----------------------------------------------
>
>                 Key: COCOON3-4
>                 URL: https://issues.apache.org/jira/browse/COCOON3-4
>             Project: Cocoon 3
>          Issue Type: Improvement
>          Components: cocoon-pipeline
>    Affects Versions: 3.0.0-alpha-2
>            Reporter: Simone Tripodi
>            Assignee: Reinhard Poetz
>            Priority: Minor
>             Fix For: 3.0.0-alpha-2
>
>         Attachments: BeanGenerator.patch
>
>
> A Bean(s)/POJO(s) generator is a starter component for the pipeline that streams sax events, generated reading/intrsopecting the Object input, to an xml consumer.
> It could be useful when Objects are retrieved, i.e. from a persistence engine, and they have to be streamed in an XML format to implement a Rest API.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

LightInTheBox - Buy quality products at wholesale price!