[webbeans-dev] Re: XML configuration format

Gavin King gavin at hibernate.org
Thu Jan 8 21:12:17 EST 2009


On Fri, Jan 9, 2009 at 7:07 AM, Jim Knutson <knutson at us.ibm.com> wrote:
> When I look at faces-config.xml, I see something
> that looks like the typical DD elements we've seen in the past:
>
> <managed-bean>
>     <managed-bean-name>TestBean</managed-bean-name>
>     <managed-bean-class>test.TestBean</managed-bean-class>
>     <managed-bean-scope>request</managed-bean-scope>
> </managed-bean>
>
> That's not a new style and given that JSPs are defined in the web.xml,
> I'm not sure what "new" style you are talking about.  Note, we're
> talking about metadata syntax, not the JSP/JSF page source.

Right, but Web Beans makes all the managed-bean stuff essentially
obsolete. (Good, because it's kinda awful.)

The other main thing in jsf-config is orchestration, which is not
using class/method names.

-- 
Gavin King
gavin.king at gmail.com
http://in.relation.to/Bloggers/Gavin
http://hibernate.org
http://seamframework.org



More information about the weld-dev mailing list