This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I am new to JSF jsr168 portlet development, I have created 2 portlets and 2 face managed beans using option (Face Managed Bean in PAGE DATA view in RAD) and made them application scope.
I want to use some methods and variables defined in first bean in 2nd bean ( order of flow of those pages is 1 and then 2 JSF ). I thought to extend first Face managed bean but my 2nd face managed bean is already existing a class,
my doubts :
1) can i use already existing face managed bean in another managed bean, if so how. do i need to create a new instance of first managed bean using new operator (which i feel violates JSF framework).