Quote Originally Posted by dharma
Hi,

Could you please tell me the modules which we have to inherit for working this code.
Hi,

well i created my own module, it is not released as jar yet, but it is simple to create your own project as gwt module. Just create java standard project in eclipse, paste the code from above into classes and create .gwt.xml file.
Here is sample LS.gwt.xml file:
Code:
<module>

	<script src="ls/lscommons.js"></script>
	<script src="ls/lspushpage.js"></script>
	<inherits name="com.google.gwt.core.Core" />
	<add-linker name="xs" />
	<!-- Inherit the core Web Toolkit stuff.                  -->
	<inherits name='com.google.gwt.user.User' />
	<inherits name='com.google.gwt.json.JSON' />
	<inherits name="com.google.gwt.http.HTTP" />

</module>
It is good to have the ls client js libs in this project, but you may add them in your main project also.

And remember to include the .java files in the outcoming jar. I am using maven but you may use any build tool.