Re: Pros Cons for RequestFactory Vs GWT RPC mechanism

2011-08-26 Thread Brian Lough
That's a little misleading in that RequestFactory useage requires a 
considerable amount of scaffolding code. 

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/8rYh7qQBQlkJ.
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.



Re: Pros Cons for RequestFactory Vs GWT RPC mechanism

2011-08-26 Thread Brian Lough
After digging into both, I'm moving towards GWTEventservice: 
http://code.google.com/p/gwteventservice/.

RequestFactory seems best fitted to CRUD operations on specific model 
entities and does offer much under the covers in supporting those 
operations.  Combined with UIBinder and Editors, it's pretty painless 
creating small-scale, simple apps.  For large-scale projects, IMHO, *far *too 
much scaffolding code just to move POJOs back and forth.  It was also a bit 
of a pain getting integrated with Spring and Guice, though I'm sure that 
pain will be alleviated as the releases progress.

http://code.google.com/p/spring4gwt/ -- this may be of interest if you're 
Spring-based.  May be of interest even if not. :-)

If you're dealing with one application, particularly a small one, I'd go 
with RequestFactory.  I have to deal with 6 rather large applications, with 
5 different databases.  Even though I don't use any two at the same time 
(JTA), I'm finding neither Guice Persist nor RequestFactory really fits well 
and failover is still problematic.  As a result, I find it best to simply 
push POJO events back and forth between the UI and the Server.  SOC for me.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/AxZRy4vSZTgJ.
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.



Re: Pros Cons for RequestFactory Vs GWT RPC mechanism

2011-08-26 Thread Magno Machado
It was also a bit of a pain getting integrated with Spring and Guice,
though I'm sure that pain will be alleviated as the releases progress.
I don't know about Spring, but integrating RF and Guice is not that hard and
works very well

On Fri, Aug 26, 2011 at 12:40 PM, Brian Lough bklo...@gmail.com wrote:

 After digging into both, I'm moving towards GWTEventservice:
 http://code.google.com/p/gwteventservice/.

 RequestFactory seems best fitted to CRUD operations on specific model
 entities and does offer much under the covers in supporting those
 operations.  Combined with UIBinder and Editors, it's pretty painless
 creating small-scale, simple apps.  For large-scale projects, IMHO, *far *too
 much scaffolding code just to move POJOs back and forth.  It was also a bit
 of a pain getting integrated with Spring and Guice, though I'm sure that
 pain will be alleviated as the releases progress.

 http://code.google.com/p/spring4gwt/ -- this may be of interest if you're
 Spring-based.  May be of interest even if not. :-)

 If you're dealing with one application, particularly a small one, I'd go
 with RequestFactory.  I have to deal with 6 rather large applications, with
 5 different databases.  Even though I don't use any two at the same time
 (JTA), I'm finding neither Guice Persist nor RequestFactory really fits well
 and failover is still problematic.  As a result, I find it best to simply
 push POJO events back and forth between the UI and the Server.  SOC for me.

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-web-toolkit/-/AxZRy4vSZTgJ.

 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.




-- 
Magno Machado Paulo
http://blog.magnomachado.com.br
http://code.google.com/p/emballo/

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



Re: Pros Cons for RequestFactory Vs GWT RPC mechanism

2011-08-24 Thread Y2i
There is almost no difference in configuration between GWT RPC and GWT 
Request Factory.  The only difference is web.xml needs to declare 
RequestFactoryServlet instead of RemoteServiceServlet. 

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/tL5NxWyw9FQJ.
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.



Re: Pros Cons for RequestFactory Vs GWT RPC mechanism

2011-08-23 Thread Y2i
They both seem to scale.  The main difference is when RPC is used the server 
works with POJOs that need to be translatable and that need to be mapped to 
database records by hand or by some tools.  Request Factory works with 
objects that do not need to be translatable: the may come directly from some 
persistence layer (JPA, JDO), so an extra mapping step is eliminated.  

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/EohJt_FDeT0J.
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.



Re: Pros Cons for RequestFactory Vs GWT RPC mechanism

2011-08-23 Thread Srinivasan Raghavan
Hi

How to integrate gwt request factory with tomcat

Thanks
Srinivasan Raghavan

On Tue, Aug 23, 2011 at 9:46 PM, Y2i yur...@gmail.com wrote:
 They both seem to scale.  The main difference is when RPC is used the server
 works with POJOs that need to be translatable and that need to be mapped to
 database records by hand or by some tools.  Request Factory works with
 objects that do not need to be translatable: the may come directly from some
 persistence layer (JPA, JDO), so an extra mapping step is eliminated.

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-web-toolkit/-/EohJt_FDeT0J.
 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.


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