Stephen,

Thanks for the explanation

Steve

On 18 May 2011 21:45, Stephen Johnson <[email protected]> wrote:
> If u store objects in the Session they must be serializable because this
> data gets saved to the datastore in _ah_session so that it can be shared
> across multiple instances, etc. However the dev server doesn't need to do
> this since it's only one machine and it keeps the session info in memory so
> since it's never serialized the dev server never complains.
>
> Sent from my iPhone
>
> On May 18, 2011, at 12:29 PM, Steve Fisher <[email protected]> wrote:
>
>> Hi,
>>
>> I have now moved the inner class to being in a file of its own - and
>> added the implements java.io.Serializable but have not added a
>> constructor without arguments and now it is working. This is good.
>> However nowhere in the client code is this class referenced it is only
>> used on the server side so why was it being serialized and why did it
>> work on my own machine but not after it had been deployed?
>>
>> Steve
>>
>> On May 18, 9:52 am, Jeff Schnitzer <[email protected]> wrote:
>>>
>>> Also make sure your inner class is a static inner class, otherwise it
>>> will try to serialize the containing object too.
>>>
>>> Jeff
>>>
>>> On Tue, May 17, 2011 at 7:58 PM, Brandon Donnelson
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> <[email protected]> wrote:
>>>>
>>>> Stephen is correct. You won't be able to use some classes since they
>>>> don't
>>>> know how to translate into javascript. What I do is setup a class for
>>>> data
>>>> transport, to go between GAE and GWT front end.
>>>> Brandon Donnelson
>>>> http://gwt-examples.googlecode.com
>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups
>>>> "Google App Engine" 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-appengine?hl=en.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google App Engine" 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-appengine?hl=en.
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" 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-appengine?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" 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-appengine?hl=en.

Reply via email to