Hello,

my question is about the use of RCPservice, I seen some tutorials
online but I would like to know if could be a good solution use the
RCPservice in this way:

1) Have just one class server/RCPserviceImp.java
2) Have just one class client/Service.java and ServiceAsync.java

3) Send from the client to the server, and back from the server to
client a generic ArrayList collection that can contains every object
type...

example 1: the client asks to the server a "Select Count(id) FROM
CARS" operation, the server response is an ArrayList with only one
item containing the amount of records

example 2: the client asks to the server a "Select * FROM CARS"
operation, the server response is an ArrayList of Cars Objects

example 3: the client asks to the server a "Select carModel FROM CARS"
operation, the server response is an ArrayList of Strings of all car's
names

Thank you, F.

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

Reply via email to