This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
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

Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
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.
wood burning stoves
subject: converter problem