Uff!

Deployed it under Tomcat - its feels like it is 10000times faster :-)

Still - is there a method to speed up things when developing GWT Apps? I
mean the roundtrip of deploying the app on Tomcat is very time consuming and
also brings to problem that I can't change the code more or less on the fly
to test things.

Any idea on this?

/SJ

On Fri, Oct 22, 2010 at 4:38 PM, John Ivens <[email protected]>wrote:

> I would suggest deploying to a war file and using it in JBoss or another
> application server and see how fast it is.
>
> On Fri, Oct 22, 2010 at 12:23 PM, Samuru Jackson <
> [email protected]> wrote:
>
>> Hi,
>>
>> I'm experiencing some huge performance problems with async RPC calls.
>>
>> There is not much magic behind what I'm doing. It's almost as in a simple
>> tutorial:
>>
>> private void doSomething() {
>>       AsyncCallback<List> callback = new AsyncCallback<List>() {
>>           public void onFailure(Throwable caught) {
>>
>>           }
>>
>>           @Override
>>           public void onSuccess(List result) {
>>             doSomeStuff();
>>           }
>>         };
>>
>>         serverStuff.doSomeServerStuff();
>> }
>>
>>
>> My server-side code generates pretty fast a list of approx. 250 elements
>> consisting of simple java object with some String properties.
>>
>> It takes approx. 45secs until onSuccess() triggers. This is measured after
>> the server-side code finished. If I return null it takes some milliseconds.
>>
>> Reading the mailing list I found out that it seems to be really that slow.
>>
>>
>> I tried to use a multidimensional String Array which results also in a
>> poor performance.
>>
>> However, if pack all the data into one single String with some separators
>> it takes some milliseconds.
>>
>> Any idea what I'm doing wrong? It can't be that it takes almost a minute
>> to parse a list with a simple object on client side?!?
>> The solution of putting everything into one single string and parse it
>> back can't be the solution!
>>
>> I'm running everything in developer mode at the moment.
>>
>>
>> Thanks for any advice!
>> /SJ
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]<google-web-toolkit%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-web-toolkit%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>



-- 
/SJ
-----------
http://uncinuscloud.blogspot.com/

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to