To provide more details, I am sending data to the server via GWT-RPC. On the
server I'm returning an Entity class object mapped by JPA. So on the client,
I requested for the object via the normal way (AsyncCallback). So when I
compile the code, GWT reports a "No source code" error, meaning I'm
referencing the server class on the client side.

Some of my findings report that I either create the Entity on the client
side so that GWT can find it or create an implementation of the Entity on
the client side overriding all the necessary methods. I am not sure about
the former as I believe the Entity is meant to be on the server because it
needs access to JPA. On the later, I have no idea of how to implement that
as the Entity needs access to JPA (GWT can't compile server code on the
client side!).

Any clues please.

On Sun, Feb 20, 2011 at 4:10 PM, Kayode Odeyemi <[email protected]> wrote:

> Hello,
>
> I will appreciate some guide as to where exactly to put JPA mapped Entity
> classes. At the moment I have it
> under "com.foo.server.domain". But whenever I compile the app, GWT returns:
>
> No source code is available for type com.foo.server.domain.Users; did you
> forget to inherit a required
> module?
>
> --
>
>
>


--

-- 
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