You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by İzlem Gözükeleş <iz...@gmail.com> on 2011/06/01 19:02:46 UTC

Re: Wicket with Spring AOP

Furthermore, I changed the source code of spring framework and added serial
interface for the class raising exception (
org.springframework.aop.aspectj.annotation.InstantiationModelAwarePointcutAdvisorImp).
and built it again.

Application passed this exception, yet raised another
NotSerializableException for another class from the same package (
org.springframework.aop.aspectj.annotation).

Is it possible to use spring's aspect annotations with wicket?

Secondly, there are third party libraries containg classes which
aren't Serializable.
How can we inject these type of classes?

Thanks,

Re: Wicket with Spring AOP

Posted by İzlem Gözükeleş <iz...@gmail.com>.
Merhaba,
I found the problem. My problem was mixing the Wicket and Spring
configurations. I had used both SpringBean and Spring's Autowire mechanisms
in some places...
Now, I modified the code and used only @SpringBean. Everything is working
properly.

2011/6/2 Altuğ Bilgin Altıntaş <al...@gmail.com>

> Merhaba izlem;
>
> I think you should look at Proxy-based Approach. Spring and Wicket
> integration type is important.
>
> Please visit :  https://cwiki.apache.org/WICKET/spring.html.
>
> A.
>
> 01 Haziran 2011 20:02 tarihinde İzlem Gözükeleş <iz...@gmail.com> yazdı:
>
> > Furthermore, I changed the source code of spring framework and added
> serial
> > interface for the class raising exception (
> >
> >
> org.springframework.aop.aspectj.annotation.InstantiationModelAwarePointcutAdvisorImp).
> > and built it again.
> >
> > Application passed this exception, yet raised another
> > NotSerializableException for another class from the same package (
> > org.springframework.aop.aspectj.annotation).
> >
> > Is it possible to use spring's aspect annotations with wicket?
> >
> > Secondly, there are third party libraries containg classes which
> > aren't Serializable.
> > How can we inject these type of classes?
> >
> > Thanks,
> >
>
>
>
> --
> *Altuğ*
> *www.kodcu.com* <http://www.kodcu.com>**
>

Re: Wicket with Spring AOP

Posted by Altuğ Bilgin Altıntaş <al...@gmail.com>.
Merhaba izlem;

I think you should look at Proxy-based Approach. Spring and Wicket
integration type is important.

Please visit :  https://cwiki.apache.org/WICKET/spring.html.

A.

01 Haziran 2011 20:02 tarihinde İzlem Gözükeleş <iz...@gmail.com> yazdı:

> Furthermore, I changed the source code of spring framework and added serial
> interface for the class raising exception (
>
> org.springframework.aop.aspectj.annotation.InstantiationModelAwarePointcutAdvisorImp).
> and built it again.
>
> Application passed this exception, yet raised another
> NotSerializableException for another class from the same package (
> org.springframework.aop.aspectj.annotation).
>
> Is it possible to use spring's aspect annotations with wicket?
>
> Secondly, there are third party libraries containg classes which
> aren't Serializable.
> How can we inject these type of classes?
>
> Thanks,
>



-- 
*Altuğ*
*www.kodcu.com* <http://www.kodcu.com>**