RemoteService
^
|extends
SampleService (interface)
^
|extends
SampleService (interface)
o Client and Server Side use the extended RemoteService interface
o Select the com.sample.client directory or package
o Right Click and select: New — Interface
o Enter for Name: SampleService
o Click button: Add
o For Choose interfaces, enter: RemoteService
o The com.google.gwt.user.client.rpc.RemoteService
will be matched.
o Click: Ok
o Click: Finish
o An error will appear, we will fix it soon
o Select the com.sample.client directory or package
o Right Click and select: New — Interface
o Enter for Name: SampleService
o Click button: Add
o For Choose interfaces, enter: RemoteService
o The com.google.gwt.user.client.rpc.RemoteService
will be matched.
o Click: Ok
o Click: Finish
o An error will appear, we will fix it soon
o The service we are implementing get’s a message
o Create this method signature in the interface:
o Create this method signature in the interface:
public String getMessage() throws IllegalArgumentException;