you can use ServiceLocator & write your logic in it ( which could also make use of DAO)
On Thu, Apr 28, 2011 at 5:56 PM, Juan Pablo Gardella <gardellajuanpablo@gmail.com> wrote:
I think as you. Where is the best place to put logic if we use RF? With RPC I have services and daos.Juan2011/4/28 Diego Lovison <diegolovison@gmail.com>
hmmm..
using RF I need put the all logic on the Entity?
for example:
I would like save a employee, but I need verify other thinks that the
hibernate validator dont attend..
where I put this logic on entity?
Using RPC I create a DAO and put this logic in DAO..
other way..
I can use ValueProxy with RPC?
thanks
;)
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.
--
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.
--
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