I do something similar, but I decided that three jars were pointless.  I 
have a -user jar, which contains everything and a -server jar that I use 
for deployment which contains everything, except source, in shared/server.

So your hotfix, then would be for the -server.jar instead of the -user.jar. 
 The -user jar is only needed during client side and GWT compile.

To enforce the separation and reduce the possibility of unneeded 
serializers, I also have a common extensive rpc.blacklist that blacklists 
everything in a .client. package.  There are a few exceptions to this list 
though, because GWT does not enforce its own client/shared/server 
convention in some of the older code for RPC And Servlets so there is some 
serializable RPC things and exceptions in the client packages that are 
needed if you want to do remote logging or RPC.

On Friday, December 12, 2014 3:23:24 AM UTC-7, Sachin Gupta wrote:
>
> ------------------------------
>
> *My requirement is to modularize existing GWT application so that whenever 
> required Client code can be updated and just hot fix for Client jar can be 
> done rather than complete application war deployment. *
>
> To achieve above requirement I modularize my existing Smart GWT code into 
> Parent-Child modules where Child modules will be Server, Client and Shared 
> Modules. Client, Server, Shared package of application will be present in 
> Client, Server, Shared modules respectively.
>
> I am packaging:-
> Server Module in war.
> Client Module in Jar,
> Shared Module in jar as well as jar containing Source code.
>
> I put dependencies relative to Shared package in Client and Server Module 
> code as both will be accessing Shared Module codebase.
>
> But when i am introducing Server Module's dependency in Client Module I am 
> getting compilation errors in Server Module as this is *against GWT 
> convention* wherein Client interface is extended in Server 
> implementation. 
>
> Can you please help me out how can i introduce server dependency in client 
> module to achieve my requirement.
>
> Do let me know if you need my POC code for reference.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to