O'Reilly logo

PrimeFaces Blueprints by Ramkumar Pillai, Sudheer Jonna

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The implementation

In this section, you will learn how to implement the preceding requirements in the JSF 2 web application project using PrimeFaces.

Every shopping cart application consists of the storefront and the administration (also known as the back office). These two areas are intended to perform certain operations in a store in order to sell products. To summarize this, a visitor can browse through the available products, which are added through the back office. Only an internal store user or store admin can access the back office.

The persistence layer

You will be using hibernate as the persistent layer. Here, you will see how the persistent layer is configured and coded in this shopping cart application. The following is the code snippet ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required