Sun Java Solaris Communities My SDN Account
 
FAQ

OTA Downloads

 
 


Question

What is WTP-SAR and why should I care?

Answer:

SAR (or WTP-SAR) stands for Segmentation and Reassembly. It's an optional feature of the Wireless Transaction Protocol (WTP) within WAP. SAR defines a method for a WAP gateway to break a large message (a JAR file you're downloading, for instance) into small chunks (the segmentation) and for the phone to piece it back together (the reassembly).

Not all phones use SAR, but most will access web servers through a WAP gateway. Nokia uses SAR, while Motorola uses features of HTTP 1.1 to retrieve small chunks of a file one at a time and then reassemble it.

One problem that arises with WAP gateways concerns MIME types returned by the web server. If a user requests a JAD or JAR file and the server returns the wrong MIME type, the gateway and subsequently the phone will handle the transfer incorrectly. To ensure proper downloading of MIDlets, use the following MIME types:

text/vnd.sun.j2me.app-descriptor	jad
application/java-archive 		jar

Resources

For a (very) detailed description of SAR, you can download the WTP specifications from http://www.wapforum.org/what/technical.htm

Note: If you have a question to which you need an answer, try the Mobility Forums. You can read through the existing topics or register for your free Sun Developer Network membership and post new messages or threads. For more information, go to the Why Register page.

Back To Top

Oracle is reviewing the Sun product roadmap and will provide guidance to customers in accordance with Oracle's standard product communication policies. Any resulting features and timing of release of such features as determined by Oracle's review of roadmaps, are at the sole discretion of Oracle. All product roadmap information, whether communicated by Sun Microsystems or by Oracle, does not represent a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. It is intended for information purposes only, and may not be incorporated into any contract.