File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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
I agree. Here's the link:
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-2014