Gopalan Suresh Raj's Web Cornucopia
An Oasis for the parched Enterprise Services Engineer/Developer

    SOA Tips-For Large Messages Use MTOM

    SOA-Tips

    If the exchanged Business Objects are large and contain multiple different types of binary content, use Message Transmission Optimization Mechanism (MTOM) which uses XML-binary Optimized Packaging (XOP) to transmit binary data.

    Alt

    Create a wrapper message that can contain multiple different types of files.

    The wrapped message can then serve as a virtual message.

    Use multi-part MIME to physically carry the message so at any point, you don’t have to parse the entire message at once.

    This ensures efficient transmission of large binary data between the service and its consumers.

    Author Bibliography

    Gopalan Suresh Raj is a Senior Analyst, Software Architect, and Developer with expertise in multi-tiered systems development, enterprise service architectures, and distributed computing. He is also an active author, including contributions to Professional JMS Programming, Wrox Press, 2001, Enterprise Java Computing-Applications and Architecture, Cambridge University Press, 1999, and The Awesome Power of JavaBeans, Manning Publications Co., 1998. He has submitted papers at international fora, and his work has been published in numerous technical journals. Visit him at his Web Cornucopia© site (webcornucopia.com) or mail him at gopalan@webcornucopia.com.

    Back