Re: AW: AW: [appfuse-user] Help with Spring 2.5 annotation

2007-12-28 Thread Le Anh Tuan
nther [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 28. Dezember 2007 06:59 An: users@appfuse.dev.java.net Betreff: AW: AW: [appfuse-user] Help with Spring 2.5 annotation   You probably need another annotation then autowired then. Maybe ask at spring forum (www.springframework.org)?

AW: AW: [appfuse-user] Help with Spring 2.5 annotation

2007-12-28 Thread René Günther
Just thought about it: maybe @Resource(name = "personDao") instead of @Autowired Von: René Günther [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 28. Dezember 2007 06:59 An: users@appfuse.dev.java.net Betreff: AW: AW: [appfuse-user] Help with Spring 2.5 annotation You probably ne

AW: AW: [appfuse-user] Help with Spring 2.5 annotation

2007-12-27 Thread René Günther
quot;> Maybe it is just the name of the service that is missing? René Von: Le Anh Tuan [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 27. Dezember 2007 05:48 An: users@appfuse.dev.java.net Betreff: Re: [appfuse-user] Help with Spring 2.5 annotation Hi Matt, I tri

Re: AW: [appfuse-user] Help with Spring 2.5 annotation

2007-12-27 Thread Le Anh Tuan
uot;com.company.project.service" />   Maybe it is just the name of the service that is missing?   René     Von: Le Anh Tuan [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 27. Dezember 2007 05:48 An: users@appfuse.dev.java.net Betreff: Re: [appfuse-user] Help with Spring 2.5 ann

AW: [appfuse-user] Help with Spring 2.5 annotation

2007-12-27 Thread René Günther
ue"> Maybe it is just the name of the service that is missing? René Von: Le Anh Tuan [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 27. Dezember 2007 05:48 An: users@appfuse.dev.java.net Betreff: Re: [appfuse-user] Help with Spring 2.5 annotation Hi Matt, I tried a

Re: [appfuse-user] Help with Spring 2.5 annotation

2007-12-26 Thread Le Anh Tuan
Hi Matt, I tried as you suggest, but the problem is Spring can not @Autowired property value, such as:   . I read through Spring 2.5 reference docs (Chapter 3 The IoC containner) but could not find example for this case. I know this is not Spring mailling list but any more suggestion should hel

Re: [appfuse-user] Help with Spring 2.5 annotation

2007-12-26 Thread Matt Raible
You might try the following: I believe the first detects @Controller, @Service and @Repository. Matt On 12/26/07, Le Anh Tuan <[EMAIL PROTECTED]> wrote: > Hello, > I have upgraded to AppFuse 2.0.1 with Spring 2.5 and found that Spring > 2.5 annotation feature is great. I w

[appfuse-user] Help with Spring 2.5 annotation

2007-12-26 Thread Le Anh Tuan
Hello, I have upgraded to AppFuse 2.0.1 with Spring 2.5 and found that Spring 2.5 annotation feature is great. I want to change this bean's XML definition below to spring annotation: I configured the class like this: @Service publ