JPA 2.0 introduced criteria queries, which are typesafe and more object oriented than JPQL queries.
More articles by Nitin KL
Get a cheat sheet for the five most important Java annotations introduced in the JPA 2.0 release, compete with code examples.
JPA version 2 and Hibernate both support pessimistic locking for Java concurrency control, but not in the same way.
Learn how Hibernate Validator handles Bean validation, and how you can implement it in Hibernate and JPA 2.
Developer-friendly query languages and API sets are the heart of criteria queries features in JPA 2.0 and Hibernate.
Learn the differences between the caching approaches and capabilities of JPA 2.0 and Hibernate.
Find out how the bean validation and dependency injection support in JavaServer Faces (JSF) 2.0 simplifies Java web application development.
JavaServer Faces (JSF) 2.0 supports HTTP GET requests and full Ajax integration, making it easier than ever to build truly dynamic web pages.
With the new composite components feature in JavaServer Faces (JSF) 2.0, you can create simple, reusable JSF UI components without touching any Java code or XML configuration files.
The introduction of annotations and the new navigation convention in JavaServer Faces 2.0 essentially make the faces-config.xml file optional.
In JavaServer Faces (JSF) 2.0, Facelets replace JavaServer Pages (JSP) as the view technology for pages. Find out why that's a very good thing.