This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

converter problem

 
Marcin Dabrowski
Greenhorn
Posts: 5
Fedora Firefox Browser
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic