Hi,

If you  go with apache cxf and use REST (jax-rs) on the __server__ you will
need 5.6MB (no spring config though)
Normally the same jars should be possible to be used by a java client.
Usually client side you can trim more the necessary jars. However I have
never used
 1) cxf from a java applet
 2) cxf jar-rs (rest) client functionality - although other colleagues did
it successfully.
so it may not fly for your case.

For GWT client side you can use Resty GWT to access the cxf jax-rs REST
service

Hope that helps

Here are my cxf jax-rs server side libs as they are used in one of my
current projects

-rw-r--r-- 1 bill bill 1284066 Mar  2 11:33 cxf-core-3.0.0-milestone2.jar
-rw-r--r-- 1 bill bill  558786 Mar  2 11:33
cxf-rt-frontend-jaxrs-3.0.0-milestone2.jar
-rw-r--r-- 1 bill bill  232131 Mar  2 11:33 jackson-core-asl-1.9.11.jar
-rw-r--r-- 1 bill bill   61588 Mar  2 11:33
cxf-rt-rs-service-description-3.0.0-milestone2.jar
-rw-r--r-- 1 bill bill  780421 Mar  2 11:33 jackson-mapper-asl-1.9.11.jar
-rw-r--r-- 1 bill bill  260090 Mar  2 11:33
cxf-rt-transports-http-3.0.0-milestone2.jar
-rw-r--r-- 1 bill bill  981324 Mar  2 11:33
cxf-core-src-3.0.0-milestone2.jar
-rw-r--r-- 1 bill bill  182112 Mar  2 11:33 stax2-api-3.1.1.jar
-rw-r--r-- 1 bill bill  353249 Mar  2 11:33
cxf-rt-frontend-jaxrs-src-3.0.0-milestone2.jar
-rw-r--r-- 1 bill bill   32202 Mar  2 11:33
cxf-rt-rs-service-description-src-3.0.0-milestone2.jar
-rw-r--r-- 1 bill bill  165787 Mar  2 11:33 xmlschema-core-2.1.0.jar
-rw-r--r-- 1 bill bill   18327 Mar  2 11:33 jackson-jaxrs-1.9.11.jar
-rw-r--r-- 1 bill bill  195416 Mar  2 11:33
cxf-rt-transports-http-src-3.0.0-milestone2.jar
-rw-r--r-- 1 bill bill  112758 Mar  2 11:33 javax.ws.rs-api-2.0.jar
-rw-r--r-- 1 bill bill  482245 Mar  2 11:33 woodstox-core-asl-4.2.0.jar
-rw-r--r-- 1 bill bill   11914 Mar  2 11:33 jackson-jaxrs-src-1.9.11.jar
-rw-r--r-- 1 bill bill   26366 Mar  2 11:33 javax.annotation-api-1.2.jar


On Thu, Apr 3, 2014 at 12:12 AM, Bora Ertung <[email protected]> wrote:

> Hi Vassilis, we want to use pure Java based clients (including Java
> applets) to also make use of GWT RPC servlets. The current gwt-user.jar is
> 30MB which is huge.
>
> Bora
>
>
> On Wednesday, April 2, 2014 5:51:10 PM UTC+3, Vassilis Virvilis wrote:
>
>> May I ask why you need it so badly? If you want just a method of
>> communication/serlialization you could try Resty-GWT
>> http://restygwt.fusesource.org/
>>
>> Vassilis Virvilis
>>
>>
>> On Wed, Apr 2, 2014 at 4:25 PM, Bora Ertung <[email protected]> wrote:
>>
>>> Is it possible to build a custom gwt-user.jar with only RPC related
>>> stuff in it? Has anyone done this before?
>>>
>>> thanks
>>>
>>>
>>>
>>
>>
>> --
>> Vassilis Virvilis
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Vassilis Virvilis

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to