This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Basically I am trying to do a search of the users on my social network project using autocomplete of primefaces. The problem that I am facing is that whenever a new user signs up, the autocomplete is sometimes showing the new user in the suggestion and sometimes its not showing. Normally during first time a user signs up the autocomplete showing the user's name in the suggestion but the second when another user signs up ,his name is not showing in the suggestion. I think userDB is not getting updated. But whenever I redeploy the project everything is working fine. The name of the user is showing in the autocomplete.