I have two jsf pages (page1 and page2) and appropriate backing beans (bean1 and bean2).
Both beans are request scoped.
I need to access properties of bean2 in bean1 but i need bean2 to be instantiated at application start.
I want to use instantiated bean2 when user go to page1 but i don't want to set application scope to bean2.
For example let say we have two jsf pages, one displaying list of cities and other displaying list of persons.
When user navigates to page to add new person i need to show list of cities to choose from for person city.
If we go to list of all cities first and then get back to add new person everything works fine because cities backing bean is instantiated.
But if we go to add new user first cities backing bean is not instantiated.