I realize that GWt doesn't compile the classes not in the Client package. But what is the importance of the shared package? What are the classes that I need to put in this package?
Asked
Active
Viewed 3,715 times
1 Answers
8
What are the classes that I need to put in this package?
Any logic or data types that are used by both the client and the server. This will save you from duplicating code across both sides, and potentially keep the logic and data types consistent.

bakkal
- 54,350
- 12
- 131
- 107
-
Do not place anything within the shared package that you don't intend on being client-side friendly; i.e. translatable.. – wulfgarpro May 07 '11 at 02:09