application scope session scope weight

Hi,

i'm trying to create an application with jsf - spring - hibenate.

this application should have a lot of dropdown populated from hibernate tables. Every dropdown could be used in more than a page, so i want to create a converter for every dropdown and not for page. To do this i think i have to put managedbeans to populate dropdown in session or application and not request. Is it correct ? Doing so would my application be very heavy and slow. Can sameone help me and tell me the best way to solve this problem.

thanks.

mick

[561 byte] By [mickgiu2a] at [2007-10-2 19:41:08]
# 1
Use request.You can use a factory to create the combos.
pringia at 2007-7-13 22:19:10 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
could you tell me more or give me an example ? or where i can find itthanks
mickgiu2a at 2007-7-13 22:19:10 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3

Well, having in consideration that Hibernate makes caching, you don't need the factory at all.

You only have to call the same methods in the combos. Each combo in diferent pages calls it's managed bean. Each Bean calls a Business function that is the same for all combos that needs the same functionalities.

You create a converter for all the application (if you need it).

pringia at 2007-7-13 22:19:10 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 4
i will try.thanks very much
mickgiu2a at 2007-7-13 22:19:10 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...