relationship of DAO to IDataProvider and DetachableLoadableModel

2010-08-06 Thread Chris Merrill
I've been away from server-side development for quite a while...working on a massively multi-threaded network-centric Eclipse-based app . I'm now working on a proof-of-concept for the technology stack for an upcoming project web-based product and am trying to get my head around Wicket, JPA,

Re: relationship of DAO to IDataProvider and DetachableLoadableModel

2010-08-06 Thread Leszek Gawron
On 2010-08-06 20:43, Chris Merrill wrote: I've been away from server-side development for quite a while...working on a massively multi-threaded network-centric Eclipse-based app . I'm now working on a proof-of-concept for the technology stack for an upcoming project web-based product and am

Re: relationship of DAO to IDataProvider and DetachableLoadableModel

2010-08-06 Thread Chris Merrill
Wow, that was easy! Thanks!! Now, do I do the same thing in my LoadableDetachableModel? (so that load() can get access to the DAO as well) Should detach() be doing anything related to this? Chris On 8/6/2010 4:10 PM, Leszek Gawron wrote: public class MyDataProvider ... { @SpringBean

Re: relationship of DAO to IDataProvider and DetachableLoadableModel

2010-08-06 Thread Leszek Gawron
On Fri, Aug 6, 2010 at 10:30 PM, Chris Merrill ch...@webperformance.com wrote: Wow, that was easy! Thanks!! Now, do I do the same thing in my LoadableDetachableModel?  (so that load() can get access to the DAO as well)  Should detach() be doing anything related to this? you can actually do

Re: relationship of DAO to IDataProvider and DetachableLoadableModel

2010-08-06 Thread Chris Merrill
On 8/6/2010 4:35 PM, Leszek Gawron wrote: you can actually do it in any class you like :) So I was about to ask how this works on deserialization, since the constructor will not be called. Then I re-read your previous and I think I now understand this Injector injects a serializable proxy

Re: relationship of DAO to IDataProvider and DetachableLoadableModel

2010-08-06 Thread Leszek Gawron
On 2010-08-06 22:58, Chris Merrill wrote: On 8/6/2010 4:35 PM, Leszek Gawron wrote: you can actually do it in any class you like :) So I was about to ask how this works on deserialization, since the constructor will not be called. Then I re-read your previous and I think I now understand