RequestFactory without creating proxies? Anyone else reminded of J2EE early days?

2010-12-14 Thread Karthik Abram
We have a significant sized app built using GWT 2.0 and we have simple Command pattern based abstraction for sending entities back and forth between the server and client. The new RequestFactory while interesting seems to require too much scaffolding interfaces and classes. - Why should I create

Re: RequestFactory without creating proxies? Anyone else reminded of J2EE early days?

2010-12-14 Thread tshalif
I am not smart enough for requestFacyory. On 12月14ζ—₯, 午後9:14, Karthik Abram karthik.ab...@gmail.com wrote: We have a significant sized app built using GWT 2.0 and we have simple Command pattern based abstraction for sending entities back and forth between the server and client. The new

Re: RequestFactory without creating proxies? Anyone else reminded of J2EE early days?

2010-12-14 Thread Thomas Broyer
On Tuesday, December 14, 2010 1:14:30 PM UTC+1, kabram wrote: We have a significant sized app built using GWT 2.0 and we have simple Command pattern based abstraction for sending entities back and forth between the server and client. The new RequestFactory while interesting seems to require

Re: RequestFactory without creating proxies? Anyone else reminded of J2EE early days?

2010-12-14 Thread Daniel Simons
I have a project that utilizes RequestFactory and works in 2.1 but not in 2.1.1. Is there an example out there making use of the 2.1.1 RequestFactory improvements? On Tue, Dec 14, 2010 at 8:05 AM, Thomas Broyer t.bro...@gmail.com wrote: On Tuesday, December 14, 2010 1:14:30 PM UTC+1, kabram

Re: RequestFactory without creating proxies? Anyone else reminded of J2EE early days?

2010-12-14 Thread Karthik Abram
Thomas, Thanks for your response. Here are a few follow ups: 1) The idea of forcing separation between client and server code so that GWT can generate client code is perhaps too restrictive. We have a lot of getter methods with intelligence or decoration of the returned value. Currently, we

Re: RequestFactory without creating proxies? Anyone else reminded of J2EE early days?

2010-12-14 Thread Brian Reilly
What I was hoping for in 2.1.1 is something with, I suppose, the functionality of AutoBean and the simplicity of use of @ProxyFor. Unless I'm missing something about AutoBean, it looks too cumbersome to use outside of a tool that does code generation. In my case, I don't need a proxy for my

Re: RequestFactory without creating proxies? Anyone else reminded of J2EE early days?

2010-12-14 Thread Thomas Broyer
On Tuesday, December 14, 2010 4:38:54 PM UTC+1, Brian Reilly wrote: What I was hoping for in 2.1.1 is something with, I suppose, the functionality of AutoBean and the simplicity of use of @ProxyFor. Unless I'm missing something about AutoBean, it looks too cumbersome to use outside of a

Re: RequestFactory without creating proxies? Anyone else reminded of J2EE early days?

2010-12-14 Thread Brian Reilly
Ahh, good point. Perhaps ValueProxy is what I'm looking for. I noticed mention of it in the RequestFactory_2_1_1 docs, but I didn't realize that it might be used that way. I'll have to give it a try. Thanks. -Brian On Tue, Dec 14, 2010 at 10:55 AM, Thomas Broyer t.bro...@gmail.com wrote: On