Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes EJB and other Java EE Technologies and the fly likes converter problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "converter problem" Watch "converter problem" New topic

converter problem

Marcin Dabrowski

Joined: Apr 24, 2009
Posts: 5


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.
I agree. Here's the link:
subject: converter problem
It's not a secret anymore!