You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Sebastian J. (JIRA)" <ji...@apache.org> on 2009/08/06 13:38:16 UTC

[jira] Created: (AXIS2-4458) JABRI: Multiple JAXBContext creation

JABRI: Multiple JAXBContext creation
------------------------------------

                 Key: AXIS2-4458
                 URL: https://issues.apache.org/jira/browse/AXIS2-4458
             Project: Axis 2.0 (Axis2)
          Issue Type: Improvement
          Components: codegen
    Affects Versions: 1.5
            Reporter: Sebastian J.
            Priority: Blocker


I use the lastest Axis2 1.5 release with JAXB databinding and wsdl2java for class generation.
The generated classes work, but each operation/class has it's own JAXBContext object.
According to [1] this isn't nessassary anymore in JAXB2.0. 
A single JAXBContext per application is the prefered way.


So I modified the XSLT template in jaxbri-1.5.jar (which als solves AXIS2-4042).
This new template generates just one JAXBContext per MessageReceiverInOut class.


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


[jira] Resolved: (AXIS2-4458) JABRI: Multiple JAXBContext creation

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davanum Srinivas resolved AXIS2-4458.
-------------------------------------

    Resolution: Fixed

Fixed in svn revision 801630.

> JABRI: Multiple JAXBContext creation
> ------------------------------------
>
>                 Key: AXIS2-4458
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4458
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: codegen
>    Affects Versions: 1.5
>            Reporter: Sebastian J.
>            Priority: Blocker
>         Attachments: JaxbRIDatabindingTemplate.xsl
>
>
> I use the lastest Axis2 1.5 release with JAXB databinding and wsdl2java for class generation.
> The generated classes work, but each operation/class has it's own JAXBContext object.
> According to [1] this isn't nessassary anymore in JAXB2.0. 
> A single JAXBContext per application is the prefered way.
> So I modified the XSLT template in jaxbri-1.5.jar (which als solves AXIS2-4042).
> This new template generates just one JAXBContext per MessageReceiverInOut class.

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


[jira] Updated: (AXIS2-4458) JABRI: Multiple JAXBContext creation

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Veithen updated AXIS2-4458:
-----------------------------------

    Fix Version/s: 1.5.1

> JABRI: Multiple JAXBContext creation
> ------------------------------------
>
>                 Key: AXIS2-4458
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4458
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: codegen
>    Affects Versions: 1.5
>            Reporter: Sebastian J.
>            Priority: Blocker
>             Fix For: 1.5.1
>
>         Attachments: JaxbRIDatabindingTemplate.xsl
>
>
> I use the lastest Axis2 1.5 release with JAXB databinding and wsdl2java for class generation.
> The generated classes work, but each operation/class has it's own JAXBContext object.
> According to [1] this isn't nessassary anymore in JAXB2.0. 
> A single JAXBContext per application is the prefered way.
> So I modified the XSLT template in jaxbri-1.5.jar (which als solves AXIS2-4042).
> This new template generates just one JAXBContext per MessageReceiverInOut class.

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


[jira] Updated: (AXIS2-4458) JABRI: Multiple JAXBContext creation

Posted by "Sebastian J. (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sebastian J. updated AXIS2-4458:
--------------------------------

    Attachment: JaxbRIDatabindingTemplate.xsl

Patched template to create just one JAXBContext per MessageReceiverInOut and more verbose exception handling.

> JABRI: Multiple JAXBContext creation
> ------------------------------------
>
>                 Key: AXIS2-4458
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4458
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: codegen
>    Affects Versions: 1.5
>            Reporter: Sebastian J.
>            Priority: Blocker
>         Attachments: JaxbRIDatabindingTemplate.xsl
>
>
> I use the lastest Axis2 1.5 release with JAXB databinding and wsdl2java for class generation.
> The generated classes work, but each operation/class has it's own JAXBContext object.
> According to [1] this isn't nessassary anymore in JAXB2.0. 
> A single JAXBContext per application is the prefered way.
> So I modified the XSLT template in jaxbri-1.5.jar (which als solves AXIS2-4042).
> This new template generates just one JAXBContext per MessageReceiverInOut class.

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