Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

managed bean relation to IoC  RSS feed

 
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: 132
  • 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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!