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.
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 google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment