>> make sure you include the packages(in particular classes) containing the service you wish to call in both the modules in both the gwt.xml files. In this case you can call the services as usual.
Got it. But to include theses packages in module2 using module2.gwt.xml ? Thanks Deepak On Sat, Nov 19, 2011 at 3:08 PM, -sowdri- <[email protected]> wrote: > >> I need to know how to make a rpc call from module2 to module1. I have > server class running in module1 and i have to invoke the methods in module1 > from client of module2. > > In GWT each module could define the client and server packages that must > include. In your case, make sure you include the packages(in particular > classes) containing the service you wish to call in both the modules in > both the gwt.xml files. In this case you can call the services as usual. > > Remember, inclusion of a class/package in one module does not prevent you > from including the same class/packages in any number of other modules. > > Regarding session management, that depends on how and who is managing the > sessions for you. > > Thanks, > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/google-web-toolkit/-/YOGlEiACCkoJ. > > 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. > -- Deepak Singh -- 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.
