Thursday, April 28, 2011

Re: RF for CRUD and RPC for others?

hmm...

I did not understand one thing..
Using RF, you need put all your business rules on an entity?

for example:
I need save one Employee, but have a business rule that the
HibernateValidator dont support...
I will put the bussiness rule on the Employee entity?


On 28 abr, 10:23, Thomas Broyer <t.bro...@gmail.com> wrote:
> Er, no. I'd rather say: if you choose to use RF, then use it (at least) for
> entities and related value objects (CRUD or not); for value objects that are
> not 'connected' in any way to your entities, then you have the choice (but
> I'd go with RF and ValueProxy-s too; it feels strange to mix RF and RPC in
> the same app if you ask me)

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

No comments:

Post a Comment