Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-2270

Re-use JAXBContext whenever possible

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • jbossws-native-3.0.3
    • None
    • None
    • None

      The JAXBSerializer requires the creation of JAXBContext instances using the class type of the object that need to be serialized. This implies that a JAXBContext is created for each operation of a given endpoint. In many cases it should be possible to re-use the JAXBContext created for deserialization (which uses all the registered types of the endpoint). This would mean better performances on the first invocations of operations (both on client and server side).

            rhn-support-asoldano Alessio Soldano
            rhn-support-asoldano Alessio Soldano
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: