Tag Archives: C3P0
This article shows how to integrate JSF2, PrimeFaces3, Spring3 and Hibernate4 Technologies. It provides a general project template for Java developers.
Also if Spring is not used for Business and Data Access layer, JSF – PrimeFaces & Hibernate Integration Project can be offered.
Used Technologies :
MySQL Connector 5.1.17
This article tells Hibernate which is a powerful and high-performance Object Relational Mapping Framework. Hibernate was developed by Gavin King in 2001.
It maps Java classes to database tables and from Java data types to SQL data types. A Java Object shows an record in the table which it is mapped. It is also an implementation of JPA.
Hibernate Advantages :
1) Hibernate is Database Independent so selected database can be used.
2) Easy installation
3) Hibernate has got layered architecture.
4) Development with Hibernate is easier than JDBC.
5) Connection pool APIs(c3p0, dbcp) can be integrated with Hibernate easily.