O'Reilly logo

Oracle SOA Suite 11g Developer's Cookbook by Matt Wright, Antony Reynolds

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Overriding mapping of EJB data to XML

When we use an EJB reference or the Spring component in SOA Suite, we usually want to wire it to a non-Java resource. When we do this, JDeveloper uses JAXB to create an XML representation of the parameters and return values of the methods in the Java interface we are using. Often the SOA developer is unable to modify or create mappings in EJB or Java bean itself. If we are unable to change the JAXB mapping in the EJB or Java bean, or there are no mappings provided, and we are using default mappings, then we can use this recipe to override the mappings. Overriding the default generation of the mappings allows us to specify target namespaces, rationalize the structure of the data, and remove unneeded properties ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required