sharkman / cypal-studio

Automatically exported from code.google.com/p/cypal-studio
0 stars 0 forks source link

Util class in RemoteService Interface are not necesary #108

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create new RemoteInterface. 
This class include a Util class that in GWT 1.5RC1 are not necesary.
Because can be use a annotation (@RemoteServiceRelativePath)for describe
the url of service.  
2.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
Cypal Studio for GWT (RC8)

Please provide any additional information below.

Original issue reported on code.google.com by horris...@gmail.com on 11 Aug 2008 at 1:53

GoogleCodeExporter commented 9 years ago
http://code.google.com/p/cypal-studio/source/detail?r=92

The support for the annotation RemoteServiceRelativePath is already checked in. 
It
will show up in the next RC. Nothing to fix

The Util class has been the uniform way of getting a RemoteService 
implementation and
it will continue to do so. It would just use the new annotation instead of the 
hard
coded string.

Original comment by grprakash on 11 Aug 2008 at 3:38

GoogleCodeExporter commented 9 years ago
Perfect!. 

But understand why I use the Util class if GWT.create(MyService.class) already 
have
the  url (using a annotation). 

grprakash, excellent plugin.

regards. 

Original comment by horris...@gmail.com on 11 Aug 2008 at 4:43

GoogleCodeExporter commented 9 years ago
Its just the legacy code which I left it for old users. You can delete the Util 
class
if you don't use it. Won't affect anywhere

Original comment by grprakash on 11 Aug 2008 at 4:47