servlet URL patter for inherited RPC

GWT Designer allows you to quickly create the modules, composites, panels, remote services and other elements that comprise Google Web Tookit applications.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

servlet URL patter for inherited RPC

Postby chuhan » Mon Apr 02, 2007 10:21 am


I'm using RPCs from inherited module. The problem is that Designer webproject deployment featrue generates URL-pattern in web.xml and its url-pattern is prepended with the module path in which the original class exists while GWT is automatically prepending the module path in which RPC call is maded.

To make it clear, see the case below.
Module A - com.mycompany.A ( with a service calss, RpcService, in it )
Module B - com.mycompany.B
Assume that Module B is inhering Module A.

And after I deploy Module B by using the Designer Webproject deployment feature, calling Module A's RpcService from Moudle B fails because of the url-pattern.

Designer generates - <url-pattern>/com.mycompany.A/RpcService
GWT is using the url - /com.mycompnay.B/rpcService

Is there any solution or workaround ?

thanks in advance.

Posts: 28
Joined: Tue Nov 14, 2006 3:28 pm

Re: servlet URL patter for inherited RPC

Postby Eric Clayberg » Tue Apr 03, 2007 9:06 am

Try this with the latest build.

We modified the deployment script generator so that we will now use the main module (that is compiling) instead of the module that contains the RemoteService.
Eric Clayberg
Software Engineering Manager

Author: "Eclipse Plug-ins"
Eric Clayberg
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Return to GWT Designer

Who is online

Users browsing this forum: No registered users and 3 guests