You don't have any problems to access client classes from server side 
code. Just put all your model classes into client package
and use them in the persistence layer.


Kwhit wrote:
> I'm building my first serious GWT app and am looking for a 'template'
> model to structure things. On the client side I need much the same
> objects to populate the UI as on the server side to handle
> persistence. Let's say I need Employee on the client side to edit
> employee details and then I need Employee on the server side to
> persist it.
>
> As I understand it client side objects must be located in the
> package ....client.* and persistent objects in ...server.*. Therefore
> I need two Employee.java files - with slightly different contents -
> the one on the client side acting more or less only as a value object.
>
> Have I got things right?
>
> >
>   


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