Hi,
Maybe I should post this on primefaces forum because I'm using it but I'll try to ask in here. Basically I use p:selectOneMenu tag with converter which just get selected String value and converts it to object. List of objects inside this converter is taken from database. I see that converter is created many times. Unfortunately in @PostConstruct method I have this DAO which returns list of objects from database. I want to decrease number of connection to database. I hope that this is clear enought.
Maybe I should post this on primefaces forum because I'm using it but I'll try to ask in here. Basically I use p:selectOneMenu tag with converter which just get selected String value and converts it to object. List of objects inside this converter is taken from database. I see that converter is created many times. Unfortunately in @PostConstruct method I have this DAO which returns list of objects from database. I want to decrease number of connection to database. I hope that this is clear enought.