This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes JSF and the fly likes managed bean relation to IoC Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "managed bean relation to IoC" Watch "managed bean relation to IoC" New topic
Author

managed bean relation to IoC

Rauhl Roy
Ranch Hand

Joined: Aug 01, 2006
Posts: 401

Hi,

May I know if managed bean in JSF is based on Ioc concept/ pattern in Spring?


rahul
Christian Nicoll
Ranch Hand

Joined: Mar 09, 2008
Posts: 106
Hello Rauhl,

yes, you can compare both approaches, because they grounded on the IoC-pattern.

JSF:

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 SCBCD-Notes - My Hello World Webservice
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: managed bean relation to IoC
 
Similar Threads
JSF and Factory ManagerBean using spring IOC
access another bean information
how can i Pass an object from an Action to jsp page in struts?
Accessing a managed bean from within another managed bean
Referencing a managed bean object inside another class