For example lets say I have myService setup in a module called common,
and have the servlet declared in Common.gwt.xml.
If I take module applicationA, and have ApplicationA.gwt.xml extend
Common.gwt.xml, then could a class sitting inside applicaitonA/client
call the common service?
I cant for the life of me get it to work, any hints appreciated
MC
It's an eclipse project archive with two GWT modules - Common &
Display. Common exposes and implements an InfoService with one method
(getServerInfo), while Display consumes it.
The main trick is in Display.gwt.xml - there's an "inherit" element
that brings in the Common module.
Good luck. If this works for you, you owe me a beer. :-)
-- Bosco
On Mar 3, 12:45 am, "werdafuc...@gmail.com" <werdafuc...@gmail.com>
wrote:
On Mar 4, 1:58 pm, "boscomonkey" <boscomon...@gmail.com> wrote:
> I built an example for you and others who may have this question -
> chase the "archive" link in the latest post onhttp://www.boscomonkey.com/
>
> It's an eclipse project archive with two GWT modules - Common &
> Display. Common exposes and implements an InfoService with one method
> (getServerInfo), while Display consumes it.
>
> The main trick is in Display.gwt.xml - there's an "inherit" element
> that brings in the Common module.
>
> Good luck. If this works for you, you owe me a beer. :-)
>
> -- Bosco
>
> On Mar 3, 12:45 am, "werdafuc...@gmail.com" <werdafuc...@gmail.com>
> wrote:
>
>
>
> > If I have a RPC service inside a common module can I use it from a
> > module that extends it? \
>
> > For example lets say I have myService setup in a module called common,
> > and have the servlet declared in Common.gwt.xml.
>
> > If I take module applicationA, and have ApplicationA.gwt.xml extend
> > Common.gwt.xml, then could a class sitting inside applicaitonA/client
> > call the common service?
>
> > I cant for the life of me get it to work, any hints appreciated
>
> > MC- Hide quoted text -
>
> - Show quoted text -