[SoapRMI] Minimum size of XSOAP + XPP distribution?
Aleksander Slominski
aslom_at_cs.indiana.edu
Thu, 31 Jan 2002 23:08:21 -0500
"Wells, Scott" wrote:
> Hi. I apologize if this question has been asked before; I perused the
> mailing list archives and didn't find quite the full answer. Anyway, I was
> wondering exactly how small the distribution of XSOAP and all of its
> transitive third-party dependencies can be?
whole thing is 250 KB and that includes XML pull parser
> I read in the archives that
> XPP2 can be as small as 20-24k.
that can be even smaller and probably XPP3 will be just 3 classes.
> How about XSOAP itself?
if you app does not need server side functionality you can try to remove from
soaprpc all server related classes (such as ServerSocketFactory etc.)
> I ask because I'm
> planning to implement a Swing-based applet that should have a minimal
> download size, and I need to be able to perform client/server communications
> from the applet. SOAP is ideal as the intermediate protocol, but Apache
> SOAP + Xerces is a whopping 1.5MB, not an acceptable download size! XSOAP
> appears to be lean and fast, but I really need to know how lean it can be.
1.5MB/250KB it is 6x smaller but there should be SOAP toolkits even smaller
and after all you can just open HTTP connection and send pre-formatted strings that
represent SOAP messages and use small XML parser (such as XPP2) to do parsing of
result XML messages (it is easier then general SOAP toolkit as you need only to
parse few expected types of result messages)
> Ideally the entire transport layer should be ~100-150k if possible.
that should be possible but we no longer consider it high priority as PDAs are
getting now bigger and run better and faster JVMs (see for example iPAQ with
SavaJe XE runs JDK 1.3 ...)
> If
> XSOAP doesn't meet this size limitation, are you guys aware of a SOAP
> implementation that, along with its third-party dependencies, does? Any
> suggestions are welcome.
check list of SOAP implementations at
http://www.soapware.org/directory/4/implementations
and
http://www.soaplite.com/#TOOLKITS (seems to be related)
>
> Thanks in advance for all feedback.
keep in mind that XSOAP is open source project done by graduate students. we love
to be able to do it but it is not the only thing that we work on ...
thanks,
alek