A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
video training course this week in the
managed bean relation to IoC
Joined: Aug 01, 2006
Dec 12, 2009 23:09:03
May I know if managed bean in
is based on Ioc concept/
Joined: Mar 09, 2008
Dec 13, 2009 03:19:25
yes, you can compare both approaches, because they grounded on the IoC-pattern.
<managed-bean> <managed-bean-name>myBeanName</managed-bean-name> <managed-bean-class>my.fully.qualified.BeanClass</managed-bean-class> <managed-bean-scope>[request, session, application, none]</managed-bean-scope> <managed-bean-property>[Reference other beans]</managed-bean-property> </managed-bean>
In Spring you can use the bean-tag with the similar attributes id, class, scope, and further you can use the property-tag to reference other beans.
SCJP 5, SCJD 5, SCWCD 5, SCBCD 5, SCJDWS 5
My Hello World Webservice
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: managed bean relation to IoC
Accessing a managed bean from within another managed bean
how can i Pass an object from an Action to jsp page in struts?
access another bean information
Referencing a managed bean object inside another class
JSF and Factory ManagerBean using spring IOC
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015