Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to implement "rating system" the best way? JSF + Hibernate  RSS feed

 
janek nowakowski
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I would like to rate some items with score from 1 to 10, but item can be rated only once by one user. I have a user class and an item class. What would be the best solution for this problem? I use hibernate in my application. Do you know any ready to use solutions? I would be grateful for any help.
 
Sridhar Santhanakrishnan
Ranch Hand
Posts: 317
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You might want to check Primefaces which has a Star Rating component
 
janek nowakowski
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Wow! Many useful components! I didn't know about PrimeFaces, thank you very much.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!