• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

managed bean relation to IoC

 
Rauhl Roy
Ranch Hand
Posts: 401
Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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


rahul
 
Christian Nicoll
Ranch Hand
Posts: 106
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic