Of course there is no formal definition of a backing bean but this would
be my take:

Backing bean is a managed bean that backs the view. Another term for the
backing bean could be "view bean".

Cheers,
Keyur

-----Original Message-----
From: Simon Kitching [mailto:[EMAIL PROTECTED] 
Sent: Sunday, December 17, 2006 3:06 PM
To: MyFaces Discussion
Subject: Re: Managed-bean vs. Backing-beans

Hmm...actually, the spec *does* use the term "backing bean" - but only 
in 7 places throughout the whole document.

It looks to me like they use it in the sense of "an object that can be 
referenced from an EL expression" - which will usually be a "managed 
bean", though it could be any object that has somehow been placed into 
the request/session scope.

I guess they can't use the term "managed bean" in this case, because the

referenced object doesn't *have* to be something created via a 
<managed-bean> tag, though it usually will be. I'm not sure the term 
"backing bean" is really appropriate though. Still, the meaning is 
pretty clear in context - though the original poster is right that it is

a little bit slack for a spec to use terms that have not been defined.

[BTW, I really dislike top-posting; I'm only doing it here for
consistency]

Regards,

Simon

Simon Kitching wrote:
> Is the term "backing bean" actually used in the spec?
> 
> Simon Lessard wrote:
>> Actually Core Java Server Faces uses backing bean when you use
binding 
>> attribute on tags. The backing bean is then the bean holding the 
>> UIComponent reference.

Reply via email to