JSF 2 Tutorials and Examples

JSF-Thumbnail

JavaServer Faces (JSF) which provides a Component-Based Architecture for developing reusable User Interface Components hides most of the complex stuffs that are happening in the View portion of the MVC-2 Architecture. The framework is not only limited to developing customized User Interface Components but also provides support for various Advanced Features like Event handling Mechanism, Validating User Inputs that are sent by the clients, Easy Page Navigation […]

Spring 4 Tutorials

spring-thumbnail

Spring 3 released on 2009. After a long time, a major release Spring 4 is from Spring community. In this time, there is lot of changes in the spring community. Spring is not just seen as the framework, it is moving beyond that level and seen as a enterprise solution provider. Spring is largest Java […]

Node.js + MongoDB – Performing CRUD Operations

nodejs-thumbnail

In this post we will look at how we can implement CRUD operations using Node.js and MongoDB as the database. CRUD stands for Create Read Update Delete. The programming language we would use for this is Javascript based Node.js (Read : Introduction to Node.js) framework and MongoDB as the NoSQL database. And this example is going to […]

Hibernate / JPA – Detached entity passed to persist exception

hibernate-thumbnail

You are here because you have just thrown out by your application with this annoying exception : javax.persistence.PersistenceException: org.hibernate.PersistentObjectException: detached entity passed to persist. There are multiple reasons that could cause this exception. But, basic idea behind this exception is that the object which you are trying to persist is not in the persistant state. […]

Introduction to Hibernate Envers

hibernate-thumbnail

Hibernate Envers is a library that helps us to easily achieve audit functionality. It aims to enable easy auditing/versioning of persistent classes/entities. It provides a built in mechanism to maintain history of tables in Hibernate. Hibernate Envers has been created by Adam Warski. From Hibernate 3.5, Envers is part of core module. Envers works in a similar fashion to Version […]

AngularJS – Difference between ng-model and ng-bind

angularjs-thumbnail

Data binding is the most sought feature in AngularJS. There are two directives ng-model and ng-bind are frequently used for data binding. It is often confusing to the programmers to differentiate between these two directives. Obviously, both has distinct advantages and used for different purposes altogether. This tutorial makes you understand better on when to […]

Introduction to AngularJS

angularjs-thumbnail

AngularJS is one of the most widely used JavaScript MVC framework in the programming world. In the recent times it become more popular because of the mobile applications demand and HTML5 adoption by most of the companies in the IT industry. AngularJS framework is released by Google. AngularJS reinvents the JS framework paradigm into next […]

Java 8 Date Time API – DateTimeFormatterBuilder Example

java8

Along with lambda expression, virtual methods, streams and many other nice features, Java 8 has also updated a new Date and Time API which is maintained under the JSR-310. One of the greatest on this new API is that all the date and time related APIs are unified under the same package java.time. In my […]

Java 8 Date Time API – DateTimeFormatter Example

java8

Along with lambda expression, virtual methods, streams and many other nice features, Java 8 has also updated a new Date and Time API which is maintained under the JSR-310. One of the greatest on this new API is that all the date and time related APIs are unified under the same package java.time. In my […]

Java 8 Date Time API – LocalDateTime Example

java8

Along with lambda expression, virtual methods, streams and many other nice features, Java 8 has also updated a new Date and Time API which is maintained under the JSR-310. One of the greatest on this new API is that all the date and time related APIs are unified under the same package java.time. In my […]

Difference Between java.time.Period and java.time.Duration

java8

Along with lambda expression, virtual methods, streams and many other nice features, Java 8 has also updated a new Date and Time API which is maintained under the JSR-310. In my previous articles I have explained about the LocalDate and LocalTime . These new API has added very useful Period and Duration classes to ease […]

How To Convert From java.util.Date to Java 8 Date Time API?

java8

Along with lambda expression, virtual methods, streams and many other nice features, Java 8 has also updated a new Date and Time API which is maintained under the JSR-310. One of the greatest on this new API is that all the date and time related APIs are unified under the same package java.time. In my […]