Hi Nitiraj,
I guess in that case you have to chance but create another (entirely
dumb) implementation of IUser, etc. that does nothing but store the
properties - and to copy over into these objects before performing the
actual service / before returning. As you'd still be on the server you
can probably make use of reflection (or reflection-based stuff such as
beanutils) to realize that...
Hope this helps - best regards
Sebastian Rothbucher
On 11 Feb., 06:25, Nitiraj <[email protected]> wrote:
> Hi,
>
> I have a architecture where one jar contains the interfaces of
> Entities used in the project. Say, IUser, IGroup etc.
> Other jar contains the implementation (concrete classes) of these
> Entities, say User.java, Group.java etc ..
>
> I only want to expose the interface jar to the GWT front end UI
> project and hide all the implementation object.
> But I want to pass these objects directly into the client code.
> I have seen Objectify (http://code.google.com/p/objectify-appengine/
> ) but this will also need me to expose the User.java and Group.java
> implementations.
>
> How should I go about it.
> Any help is deeply appreciated. !
--
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.