672329 members! Sign up to stay informed.

Sponsored Links


Resources

Enterprise Java
Research Library

Get Java white papers, product information, case studies and webcasts

J2EE patterns J2EE patterns J2EE patterns Messages: 1 Messages: 1 Messages: 1 Printer friendly Printer friendly Printer friendly Post reply Post reply Post reply XML XML XML

MTOM vs SWA vs Base64Binary

Posted by: Mamoon Yunus on December 18, 2007 DIGG
MTOM provides an elegant and simple way of transmitting attachments by converting Base64Binary encoded data into Binary MIME data over the wire. MTOM has the following advantage over SOAP with Attachments:

- MTOM leverages existing standards for securing information such as WS-Encryption and WS-Signatures without requiring specialized standards for securing attachments. Developers are oblivious to the binary conversion of their Base64 data. The conversion takes place right before data transmission on the wire.

MTOM has the following advantage over transmitting Base64Binary encoded data:

- Base64Binary encoded data bloats the attachment by ~33%. MTOM converts the Base64Binary data to raw bytes over MIME, thus reducing the wire foot-print for transmission. The reciever can optinally convert the raw bytes back to Base64Binary encoding.

For a detailed hands-on introduction to MTOM and its advantages, the following article is useful:

Introduction to MTOM: A Hands-on Approach
  Message #244456 Post reply Post reply Post reply Go to top Go to top Go to top

Re: MTOM vs SWA vs Base64Binary

Posted by: Gaja Kannan on January 03, 2008 in response to Message #243977
Good info, except it would have been helpful if the example was a Java instead of .NET

J2EE PatternsJ2EE PatternsJ2EE Patterns
Patterns

We are proud to provide this patterns/strategies repository to the community. Feel free to post any useful design tips you know!

EJB Design Patterns PDFEJB Design Patterns PDFEJB Design Patterns PDF

EJB Design Patterns is now available for free download in PDF format. The book contains a catalog of twenty advanced EJB patterns and provides strategies for mapping application requirements to patterns-driven design, J2EE development best practices, and more. EJB Design Patterns was the #2 book at Java One 2002, and held the #1 Java book position on Amazon.com for weeks since the book was released in March. Download your PDF here.
Useful patterns around the webUseful patterns around the webUseful patterns around the web
Patterns

EntityBeansAsDomainObjects

This essential pattern describes how to model your entity beans.

The Aggregate Entity pattern

How to make an entity bean a facade to a set of dependent objects.

EJB Unit Testing Strategies

Every guru should use unit testing.

Other Patterns sitesOther Patterns sitesOther Patterns sites

Portland Patterns Repository

The original reference site for patterns. Frequented by the gang of 4 and their mentors (Kent Beck, Ward Cunningham).

Sun Java Center Patterns

A catalogue of J2EE design patterns from Suns Consulting Division.

IBM Patterns for e-Business

A catalogue of high level business, architectural and topological patterns for large scale systems.

J2EE Blueprints Patterns

Design Patterns from the J2EE Blueprints, Suns authoritative guide to J2EE development.


News | Blogs | Discussions | Tech talks | Patterns | Reviews | White Papers | Downloads | Articles | Media kit | About
Java Solutions
All Content Copyright ©2007 TheServerSide Privacy Policy
Site Map