As you’ve get introduced at Spring Data – JPA, about Inquiring entities using all of those benefits that provided by Repository. So, either you are using those default methods such as findOne() and findAll() or you are using those User-Defined ones that depends on the Query Derivation concept, you are almost getting headache, because of those many details that …
Spring Data JPA Tutorial
Persistence API (JPA) provides POJO (Plain Old Java Object) standard and object relational mapping (OR mapping) for data persistence among applications. Persistence, which deals with storing and retrieving of application data, can now be programmed with Java Persistence API starting from EJB 3.0 as a result of JSR 220. This API has borrowed many of …
PrimeFaces Charts – Pie Chart + Ajax Behavior Events Example
ItemSelect is one and only ajax behavior event of charts, this event is triggered when a series of a chart is clicked. In case you have listener defined, it’ll be executed by passing an org.primefaces.event.ItemSelectEvent instance. This tutorial has added a listener on that RegistrationBean that already exposed in the Primefaces Pie tutorial. The listener that being added should list the …
PrimeFaces + EclipseLink / JPA + MongoDB Integration
This tutorial explains the PrimeFaces + JPA + MongoDD integration. We are going to create a Pie Chart application using the PrimeFaces component library with the additional software JPA and MongoDB for the persistence mechanism. Before writing any snippet of code, you should have a proper installation and configuration for both the database (MongoDB) and the …
PrimeFaces ColorPicker Example
ColorPicker is an input component with a color palete, where it’s value should be a hex string. ColorPicker has two modes, default mode is popup and other available option is inline. Inline mode displays the picker directly into the view. 1. ColorPicker Tag Info 2. ColorPicker Tag Attributes 3. The View index.xhtml 4. Managed Bean ColorPicker.java …
PrimeFaces Clock Example
Primefaces provides a time component for taking the time from the user by using the Clock component. Clock displays server or client date time live. When it comes for displaying the server time, the Clock component provides AutoSync feature in server mode that can sync the clock with the server periodically. 1. Clock Tag Info 2. Clock Tag Attributes 3. The View index.xhtml …
PrimeFaces Button Example
One of the component that already extended by the Primefaces is the p:button, which extends the basic functionality of h:button. p:button usage is same as standard h:button, an outcome is necessary to navigate using GET requests, but Primefaces has added some minimal extra features such as skinning. Also, p:button has supported the icon rendering via style …
PrimeFaces AutoComplete + Client Side API
One of the robust things that could consider when you come for adapting the Primefaces implementation is the Client Side API, this API provides you a full functional facility to control the component that you want to use. AutoComplete isn’t an exception of this role, it’s also supported by a rich amount of services that …