JSF 2 Tutorials and Examples


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

Express.js + Bootstrap : Web Application Development Tutorial


In the last few posts we saw about created REST API, Authenticating with Twitter using Express.js. In this post lets see how we can create Web Applications by making use of Bootstrap CSS Framework with Express.js. If you are interested in learning Bootstrap framework, please read our extensive tutorials on bootstrap CSS framework. Also read […]

Bootstrap Tutorials and Examples


Bootstrap is popular Javascript framework for building the rich web applications with minimal effort. This framework is developed by Mark Otto and Jacob Thornton at Twitter. It was released as an open source product in August 2011 on GitHub. This framework puts mobile first approach for giving importance on building the mobile web applications. Also […]

HOW TO : SignIn with Twitter using Node.js and Express.js


In my previous posts, I have explained about few of the topics on NodeJS web application framework ExpressJS. Please read the topics: REST using ExpressJS, Working with MongooseJS and CRUD operations using MongoDB and NodeJS. This post uses various combination on frameworks and shows you how to SignIn with Twitter using Node.js and Express.js frameworks. Accessing the social […]

RESTful Example using ExpressJS + Node.js + MongooseJS


RESTful Web Services Example : ExpressJS + Node.js + MongooseJS In my previous articles I have explaines about CRUD operations Node.js + MongoDB – Performing CRUD Operations and Mongoose – Node.js + MongoDB with Mongoose Tutorial. In this post I will show you how to create CRUD operations using RESTful Web Services and ExpressJS with […]

Mongoose – Node.js + MongoDB with Mongoose Tutorial


Develope Node.js + MongoDB Application with Mongoose In my previous post, I demonstrated how to perform CRUD (Create, Read, Update, Delete) operations using Node.js and MongoDB API. This tutorial explains how to easily develop Node.js and MongoDB application with Mongoose application by using the Mongoose API. This tutorial assumes that reader has the knowledge on Node.js and […]

Spring : Method Injection using lookup-method property


Method Injection using lookup-method property Before start jumping into the topic, let me brief about the two important scopes in Spring and how that is working inside the spring container. Singleton scoped beans instances are created only once per container and they are re-used for the multiple requested. Prototype scoped beans instances are created for […]

Node.js + MongoDB – Performing CRUD Operations


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


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


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