Spring Data MongoDB Tutorial

spring-thumbnail

Spring Data for MongoDB is part of the umbrella Spring Data project which aims to provide a familiar and consistent Spring-based programming model for new data stores while retaining store-specific features and capabilities. The Spring Data MongoDB project provides integration with the MongoDB document database. Key functional areas of Spring Data MongoDB are a POJO centric model […]

Spring Data JPA Tutorial

spring-thumbnail

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

primefaces-thumbnail

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

primefaces-thumbnail

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 […]

How To Install MongoDB On Windows

mongodb_main-150x150

MongoDB, is an open source document database and the leading NO SQL database written in C++. MongoDB is used as a persistence store and it get adapted by different latest libraries and implementations, so Eclipse JPA/NoSQL has provided a library for get your application integrated with MongoDB as Spring Data. In this tutorial, we are going […]

PrimeFaces Collector Example

primefaces-thumbnail

Collector is a simple utility to manage collections declaratively, collector requires a collection and a value to work with. It’s important to override equals and hashCode methods of the value object to make collector work. Even you would be adding a certain object into list of the same type of that object, however, you have […]

PrimeFaces ColorPicker Example

primefaces-thumbnail

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-thumbnail

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 Captcha Example

primefaces-thumbnail

Captcha (Completely Automated Public Turing test to tell Computers and Humans Apart)  is a type of challenge response test used in computing to determine whether or not the user is a human. PrimeFaces had provided such a component when the first version released. The component tag is <p:captcha/>. Captcha is implemented as an input component with a built-in validator that […]

PrimeFaces Button Example

primefaces-thumbnail

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 […]