Yes, with the proxy based solution it is not necessary (transient
fields). I was saying that with the AOP implementation it is
necessary, since there is no proxy working. What the AOP and proxy
solutions have in common is the code to inject the beans.

2005/12/2, Igor Vaynberg <[EMAIL PROTECTED]>:
> the way the new integration works you do not need to have your bean holding
> fields transient, thats the whole point. we create a small /serializable/
> proxy that contains just enough information to retrieve the bean from spring
> context or somewhere else
> (jndi/ejb3/servletcontext/wherever). so you can create this
> proxy and treat it as a pojo you can create these manually or you can use
> the injector to traverse your class and create these proxies for you for
> annotated fields.
>
> see the wiki page i mentioned earlier.
>
> -Igor
>
>
>
> On 12/1/05, Eduardo Rocha <[EMAIL PROTECTED] > wrote:
> >
> > If phonebook is supposed to sample spring/hibernate usage with Wicket,
> > I think it is more natural the code being in
> > wicket-contrib-spring-examples, and remove the phonebook (although
> > many people must be using phonebook as reference by now...). It is a
> > nice pattern to have wicket-contrib-xxx and
> > wicket-contrib-xxx-examples.
> >
> > I have asked about wicket-contrib-spring-examples because I have an
> > AOP implementation for wicket-contrib-spring, so I could use the same
> > example.
> >
> > Surely not everyone would be interested in AOP, but maybe it would be
> > nice to have there. Besides the aspect itself, there are also issues
> > with configuring the aspect with spring's context and using the jar as
> > an aspect library. The pointcut it is very simple
> >
> > @Before("get(@SpringBean * *)")
> > public void matchAnnotatedFields(JoinPoint thisJoinPoint) {
> > ...
> > }
> >
> > This is read as: "when there is a reference for an annotated field,
> > fires this method, which sets the field value (if not null)" (any
> > feedback?). I am using custom code for setting the bean, but it could
> > be easily refactored to use what already was written by Igor.
> >
> > There is also a "declare error", which is raised when the field it is
> > not transient:
> >
> >
> @DeclareError("get(@wicket.contrib.spring.aspectj.SpringBean
> !transient * *)")
> > public static final String MUST_BE_TRANSIENT = "SpringBean annotated "
> >     + "field must be transient.";
> >
> >
> > 2005/12/1, Igor Vaynberg <[EMAIL PROTECTED]>:
> > > No, the phonebook example is small. currently it covers the first
> approach
> > > discussed on that wiki page. I can convert it to the second approach
> since
> > > that is something people might like more, but i dont see a way or need
> to do
> > > both in that app. the wiki article pretty much walks you through setting
> it
> > > up anyways.
> > >
> > > -Igor
> > >
> > >
> > >
> > > On 12/1/05, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> > > > Sure. Does the phone book example covers all the basic Spring support
> > > things?
> > > >
> > > > Eelco
> > > >
> > > >
> > > > On 12/1/05, Martijn Dashorst <[EMAIL PROTECTED]> wrote:
> > > > > I'm fine with it. I constantly send people to the phone book
> example,
> > > > > so might as well make it the primary example.
> > > > >
> > > > > Martijn
> > > > >
> > > > >
> > > > > On 12/1/05, Igor Vaynberg < [EMAIL PROTECTED]> wrote:
> > > > > > I am thinking of dumping the wicket-contrib-spring-examples in
> favor
> > > of
> > > > > > wicket-phonebook since it demonstrates spring integration. any
> > > developers
> > > > > > reading with us, what do you think?
> > > > > >
> > > > > > also see
> > > > > >
> http://www.wicket-wiki.org.uk/wiki/index.php/Spring
> > > for
> > > > > > explanation of the wicket-contrib-spring project.
> > > > > >
> > > > > > -Igor
> > > > > >
> > > > > >
> > > > > > On 12/1/05, Eduardo Rocha < [EMAIL PROTECTED]> wrote:
> > > > > > > Igor,
> > > > > > >
> > > > > > > I checked out wicket-contrib-spring and I could not find a
> example
> > > > > > > using SpringWebPage. I think it is pretty easy to use, but if
> > > > > > > wicket-contrib-spring-examples was updated it would nice.
> > > > > > >
> > > > > > >
> > > > > > > 2005/12/1, Igor Vaynberg < [EMAIL PROTECTED]>:
> > > > > > >
> > > > > > > > i guess that was the point of redoing wicket-contrib-spring -
> to
> > > have a
> > > > > > > > final solution that the wicket team is willing to support. so
> > > there it
> > > > > > is.
> > > > > > > > check out wicket-contrib-spring. of course suggestions for
> > > improvements
> > > > > > are
> > > > > > > > always welcome.
> > > > > > > >
> > > > > > > > -Igor
> > > > > > > >
> > > > > > > >
> > > > > > > > On 12/1/05, Iman RahmatiZadeh < [EMAIL PROTECTED]>
> > > wrote:
> > > > > > > > > >Why? Igor and a couple of others build some pretty decent
> > > Spring
> > > > > > > > > >support now? It's all in HEAD, and there has to be a proper
> > > build for
> > > > > > > > > >it made, but I think we now have Spring integration that
> most
> > > people
> > > > > > > > > >are happy with.
> > > > > > > > >
> > > > > > > > > I'm looking forward to see a real final solution to the
> spring
> > > > > > integration
> > > > > > > > problem, I've
> > > > > > > > > seen most examples about it, and am currently using my own
> > > solution in
> > > > > > my
> > > > > > > > app,
> > > > > > > > > but just think its time for everybody to agree on the best
> > > solution,
> > > > > > > > integrate it into
> > > > > > > > > the core, and stick to it from now on.
> > > > > > > > >
> > > > > > > > > And BIG thanks for all the good work !
> > > > > > > > >
> > > > > > > > > Iman
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > -------------------------------------------------------
> > > > > > > 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
> > > > > > > Wicket-user@lists.sourceforge.net
> > > > > > >
> > >
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Living a wicket life...
> > > > >
> > > > > Martijn Dashorst -
> http://www.jroller.com/page/dashorst
> > > > >
> > > > > Wicket 1.1 is out:
> > > http://wicket.sourceforge.net/wicket-1.1
> > > > >
> > > > >
> > > > >
> -------------------------------------------------------
> > > > > 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
> > > > > Wicket-user@lists.sourceforge.net
> > > > >
> > >
> 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
> > > > Wicket-user@lists.sourceforge.net
> > > >
> 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
> > Wicket-user@lists.sourceforge.net
> > 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&op=click
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to