hmm
what about stuff like this:

UserDetachableModel { long userid; private UserService svc; transient User user; void attach() { user=svc.load(userid); }

new DetachableModel(10, userService); where userService is a proxy to the user service bean.

having these proxies means i can pass them into any object i want such as a detachable model or a data provider, and when those things are serealized/deserialized there is no problem.

-Igor


On 12/13/05, Eduardo Rocha <[EMAIL PROTECTED]> wrote:
Igor,

As I said in another post, proxies are not needed with AspectJ.

2005/12/13, Igor Vaynberg <[EMAIL PROTECTED]>:
> have a look here
>
> http://www.wicket-wiki.org.uk/wiki/index.php/Spring
>
> this explains both integration strategies and why the proxies are needed.
>
> -Igor
>
>
> On 12/13/05, Eduardo Rocha <[EMAIL PROTECTED]> wrote:
> > You are right. I will look at the current implementation to see if it
> > works like it is working for me.
> >
> > 2005/12/13, Igor Vaynberg <[EMAIL PROTECTED]>:
> > > automatic injection is not the problem. the problem is that injected
> > > dependencies cannot be serialized, thus the whole proxy approach.
> > >
> > > -Igor
> > >
> > >
> > >
> > > On 12/13/05, Eduardo Rocha < [EMAIL PROTECTED] > wrote:
> > > >
> > > > Spring 2.0 will bring support to objects which are not instantiated by
> > > > the container:
> > > >
> > > >
> > >
> http://www.theserverside.com/news/thread.tss?thread_id=38047
> > > >
> > > > Actually it is very similar with what I was doing, except that the
> > > > article uses a prototype (template) object in configuration, while I
> > > > am annotating each field, like wicket-contrib-spring does.
> > > >
> > > >
> > > >
> -------------------------------------------------------
> > > > This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> > > files
> > > > for problems?  Stop!  Download the new AJAX search engine that makes
> > > > searching your log files as easy as surfing the  web.  DOWNLOAD
> SPLUNK!
> > > > http://ads.osdn.com/?ad_idv37&alloc_id865&opclick
> > > > _______________________________________________
> > > > Wicket-user mailing list
> > > > [email protected]
> > > >
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> > > >
> > >
> > >
> >
> >
> > -------------------------------------------------------
> > This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> files
> > for problems?  Stop!  Download the new AJAX search engine that makes
> > searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> > http://ads.osdn.com/?ad_idv37&alloc_id865&opclick
> > _______________________________________________
> > Wicket-user mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
>
>


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&opclick
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to