Re: Wrong RPC typeSignature

2011-04-07 Thread fb
Yes, it is translatable. RequestFactory is not an option for this
project since it is quite big and it is already implemented using RPC.

On 7 abr, 13:27, Y2i yur...@gmail.com wrote:
 Is your JPA entity translatable (declared in the shared package)?  
 Even a translatable entity could be enhanced by the JPA implementation which
 would lead to serialization problems.

 GWT RF is better suited for JPA than GWT 
 RPChttp://code.google.com/webtoolkit/doc/latest/DevGuideRequestFactory.html

-- 
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-toolkit@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.



Visitor pattern on EntityProxy

2011-04-07 Thread fb
Is it posible to implement the Visitor Pattern on entitiy proxies?

I'm making a heavy use of that pattern on client side in a project
which uses RPC. If I want to include RF in it, RF should be able to
coexist with the Visitor Pattern.

-- 
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-toolkit@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.



uiBinder and XML writing

2010-04-15 Thread FB
Hello,

I try to use uiBinder... when I write the xml code in the editor
(NetBeans 6.8 / Eclipse Galileo) no one suggegstion is shown about
node properties...

It's a configuration problem?

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 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.



RCPservice, use the same service for all calls...

2010-04-12 Thread FB
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 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.



Re: RCPservice, use the same service for all calls...

2010-04-12 Thread FB
Ok, thanks...

The SQL on client was just an example to understand the action... I
don't use SQL on client :)

Thank you again.

-- 
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.



Re: RCPservice, use the same service for all calls...

2010-04-12 Thread FB

The compiler doesn't allow an Object[] array, but allows ArrayList

-- 
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.



Avoid multiples callbacks...

2010-04-07 Thread FB
Hello,

I'm new on GWT... I'm reading the tutorial (form GWT site) about
making the remote procedure call, and I read that code:

 private void refreshWatchList() {

   .

// Set up the callback object.
AsyncCallbackStockPrice[] callback = new
AsyncCallbackStockPrice[]() {
  public void onFailure(Throwable caught) {
// TODO: Do something with errors.
  }

  public void onSuccess(StockPrice[] result) {

updateTable(result);  // RUN THIS SPECIFIC METHOD

  }
};

   .

My question is: it is possible to avoid to have one callBack object
for each method to run?
For example, can I define the callBack Object as Static and use it
multiple times?

Which is the best way to avoid one callBack object for each method to
run?

Thank you to all!

-- 
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.