You can do this if you place your RPC services in a separate module
that is inherited by the two main application modules. In this
situation you can specify the RPC servlets in the common module
gwt.xml file and this will work for hosted mode, but I think you have
to map them separately (i.e. in duplicate) in each main module's
web.xml for deployment - AFAIK there is no way around that (app server/
servlet specification issue, not GWT).

At run time you will end up with two instances of each servlet loaded
by the two main module's classloaders (again app server/servlet
specification issue, not GWT) which may or may not present you with an
issue depending on what you are doing.

On Apr 14, 4:14 pm, jfeid <[email protected]> wrote:
> Hello,
>
> I have the following problem that puzzles me.
>
> Suppose I have 2 different GWT applications running on different
> contexts:
> -http://server/context1
> -http://server/context2
>
> Is there a way to share an RPC service between them?
>
> Thank you.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to