Really the first, but don't forget to use the annotation

@RemoteServiceRelativePath("servletFacadeService")
public interface ServletFacadeService

On Feb 7, 9:22 pm, Firas <firas.ism...@gmail.com> wrote:
> Hi,
>
> I am trying to study Google web-tool kit and will be thankful for some
> help,
>
> while using remote procedure call i found that they were presented in
> two ways, one is the demo service when installing a new gwt project
> and other that i found in examples,
> the one in demo application you have it, the other is this one :
>
> ServletFacadeServiceAsync servletFacadeServiceAsync =
> (ServletFacadeServiceAsync) GWT
>         .create(ServletFacadeService.class);
>
> ServiceDefTarget endpoint = (ServiceDefTarget)
> servletFacadeServiceAsync;
> endpoint.setServiceEntryPoint(GWT.getModuleBaseURL() + "/facade");
>
> i would like to know why this one worked for me in maven project,
> while the demo made my life like hill :):):)
>
> i just cant understand why it didn't work with maven project, although
> it works perfectly with gwt project,
> please help me to understand the deference between them and why it
> didn't work with maven.
>
> thanks in advance.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to