Maven + Struts2 + Spring + Hibernate + Struts2-Convention-Plugin + Hibernate Search
This blog is in continuation with one of my previous blog maven+struts2+spring+hibernate+struts2 connvention plugin . So, you must need to open this post in order to get better understanding by sample code. First question raises up in mind that why do we need 'hibernate search' when we have 'hibernate' already in our application. But HibernateSearch is completley different from hibernate. As hibernateSearch is giving a capability of indexing in your application by using Lucene. And instead of adding too many line of code in order to integrate lucene with your application. You can simply integrate hibernatesearch with your application and rest will be taken care by this. In lucene the major problem we face is to merge indexes. But, in HibernateSearch after each transaction indexes get updated automatically. Few things must need to consider before jumping into code. HibernateSearch never replace the existing index, once it created then it will be keep on...