Re: Request Factory with Service objects

2010-08-19 Thread Travis Camechis
so after taking a look at the idea behind the requestFactory and using
Service Objects instead of mapping directly to a domain object there will be
a RequestFactoryServletHelper  on the server side that will decide if it
should go to a Domain Object or an actual Service object based on a client
side annotation of @Service(Foo.class) or another annotation for a Domain
Object. Am I understanding that correctly and if so has this been
implemented yet in GWT 2.1 trunk ?

On Fri, Aug 13, 2010 at 12:53 PM, Thomas Broyer t.bro...@gmail.com wrote:


 On 13 août, 18:07, tc camec...@gmail.com wrote:
  How does the new RequestFactory work with with actual Service Objects
  on the server.  Not everything is a simple CRUD operation and you
  definitely do not want to through everything into the entity object.
  Does RequestFactory work with service objects?  If so can someone show
  a quick example on how that works with DTO concept and such?

 The design doc is here
 https://wave.google.com/wave/waveref/googlewave.com/w+WU4iAICkI

 --
 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.



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



Request Factory with Service objects

2010-08-13 Thread tc
How does the new RequestFactory work with with actual Service Objects
on the server.  Not everything is a simple CRUD operation and you
definitely do not want to through everything into the entity object.
Does RequestFactory work with service objects?  If so can someone show
a quick example on how that works with DTO concept and such?

Thanks

-- 
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: Request Factory with Service objects

2010-08-13 Thread Thomas Broyer

On 13 août, 18:07, tc camec...@gmail.com wrote:
 How does the new RequestFactory work with with actual Service Objects
 on the server.  Not everything is a simple CRUD operation and you
 definitely do not want to through everything into the entity object.
 Does RequestFactory work with service objects?  If so can someone show
 a quick example on how that works with DTO concept and such?

The design doc is here 
https://wave.google.com/wave/waveref/googlewave.com/w+WU4iAICkI

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