How To Extend Entities For Use In RequestFactory

14 views
Skip to first unread message

Daniel Simons

unread,
Dec 8, 2010, 3:00:25 PM12/8/10
to Google Web Toolkit
I have several entities which are automatically generated using hibernate tools.  I would like to make use of RequestFactory by extending these entities, but am running into a number of issues in doing so.  It seems that the current design of RequestFactory requires that all DAO methods be defined in the Entity itself.  Are there any simple ways around this?

Thanks,
Daniel

David Chandler

unread,
Dec 8, 2010, 10:20:31 PM12/8/10
to google-we...@googlegroups.com
Daniel,

Hang tight. GWT 2.1.1 has new Locator and ServiceLocator interfaces that will allow you to move all such methods out of entities into DAOs.


/dmc

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



--
David Chandler
Developer Programs Engineer, Google Web Toolkit
http://googlewebtoolkit.blogspot.com/
Reply all
Reply to author
Forward
0 new messages