I am a newbie to Hibernate.

I have a school project using MySQL, JDBC, JSP/Servlet, Tomcat technologies. 

The way that I do the database connection in EVERY Servlet is:

1. establish database connection in JDBC.
2. create Query statement and execute it.
3. close database connection.

That is very very tedious, so I want to use JPA with Hibernate to handle it.

I looked some tutorials and saw that there's a JPA Project option in Eclipse, so went ahead and used it.

Now I am confused about how to add JSP/Servlet into this project. It seems like this type project is not meant for handling any front-end technologies.

Could anyone please help me clear this out? What type of eclipse project should I use in my case?

Thanks a lot.