Appfuse uses annotations for hibernate configuration files, with Spring 2.5
one can use annotations for the managed bean of JSF instead of configure
them in faces-config.xml. It is similar to
http://cagataycivici.wordpress.com/2007/09/10/using-spring-to-manage-jsf-bea
ns/ but uses annotations. But before I start to use those annotations, I
wanted to know wether that’s a good thing to do..? 

-----Ursprüngliche Nachricht-----
Von: Matt Raible [mailto:[EMAIL PROTECTED] 
Gesendet: Freitag, 30. November 2007 01:24
An: [email protected]
Betreff: Re: [appfuse-user] annotations for managed beans

I don't understand your question - can you rephrase it?

Thanks,

Matt

On Nov 29, 2007, at 4:24 PM, René Günther wrote:

> With Spring 2.5, is there a reason why not using annotations for  
> managed
> beans except for the lack of possibility to inject request  
> parameter? I
> tried with something like this:
>
> @Controller
> @Scope("request")
> public class ClientForm extends BasePage implements Serializable {
>
>       /**
>        *
>        */
>       private static final long serialVersionUID = 3157623575918409233L;
>
>       @Resource
>       private GenericManager<Client, Long> clientManager;
>
>
> And used getParameter("id") in the edit method of ClientForm.
>
>
> Rene
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to