Can you please tell me how to deploy the project in JBoss
You have to just place your application under the %JBOSS_HOME%/server/default/deploy folder and start the server using the run.bat (or run.sh for non-windows machine) present in %JBOSS_HOME%/bin folder. That's it, your application will be deployed.
As far as Hibernate is concerned, it is a ORM tool used to map database tables with
Java objects. Hibernate is very vast but if you are looking for a quick start guide, you can find it at:
Quick Start Guide for Hibernate More about hibernate can be found at its
official site.