Folks.. I need a direction

2009-04-06 Thread ammours

Hello All,

My goal is to use a developed persistence layer where validation,
fetch , add , update and delete operations are performed with GWT.
This persistence is not EJB, Spring nor hibernate. They are simple
objects doing validations and operations.

I am looking for a mechanism to pass beans to the UI then making those
beans triggering the persistence layer , pass updates and receive OK
or errors based on the business validation rules. Something like bean
property change fire etc...

What would be the best direction to follow with GWT? Are there such
examples? Any help is appreciated

--~--~-~--~~~---~--~~
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: Folks.. I need a direction

2009-04-06 Thread Vitali Lovich
There is no framework for this.  There is some validation stuff in incubator
 other projects though.

You'll have write your own classes to do this.

On Mon, Apr 6, 2009 at 11:32 AM, ammours amer.saifedd...@gmail.com wrote:


 Hello All,

 My goal is to use a developed persistence layer where validation,
 fetch , add , update and delete operations are performed with GWT.
 This persistence is not EJB, Spring nor hibernate. They are simple
 objects doing validations and operations.

 I am looking for a mechanism to pass beans to the UI then making those
 beans triggering the persistence layer , pass updates and receive OK
 or errors based on the business validation rules. Something like bean
 property change fire etc...

 What would be the best direction to follow with GWT? Are there such
 examples? Any help is appreciated

 


--~--~-~--~~~---~--~~
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: Folks.. I need a direction

2009-04-06 Thread Rakesh

You are missing something here. and that is RPC. Calling get set on
your beans will modify that value only in the client browser. You want
to communicate this value back to the server. So you need to make an
RPC call. Now, you can generate a bean that will make RPC calls in its
get set methods... why not? However, there is no such library or
framework currently that work this way. With little code, you can
create this behaviour. However I will recommend that let a bean be
bean. do a rpc when set is called on the bean. Send the entire bean to
your service layer. In service layer make the db call.

On Apr 6, 10:32 am, ammours amer.saifedd...@gmail.com wrote:
 Hello All,

 My goal is to use a developed persistence layer where validation,
 fetch , add , update and delete operations are performed with GWT.
 This persistence is not EJB, Spring nor hibernate. They are simple
 objects doing validations and operations.

 I am looking for a mechanism to pass beans to the UI then making those
 beans triggering the persistence layer , pass updates and receive OK
 or errors based on the business validation rules. Something like bean
 property change fire etc...

 What would be the best direction to follow with GWT? Are there such
 examples? Any help is appreciated
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---