Spring Security Concurrency Control Example

In this example, we will see how to use Spring Security to add support for concurrent session control to limit the number of active sessions a user can have.   1. Technologies used Spring Security 3.2.5.RELEASE JSF 2.2.8 MySQL 5 Maven 3.0.5 Eclipse 4.4…

JSF 2 RichFaces 4 Example

RichFaces is an UI component framework for integrating Ajax capabilities into JSF web applications. In this tutorial, we are going to use some of RichFaces features in a JSF 2 web application to build a registration form.   1. Technologies used JSF…

Monitoring Java application with AspectJ and JAMon

JAMon (Java Application Monitor) is a Java API used to monitor the performance of Java applications. Aspect-oriented programming (AOP) is a way of modularizing crosscutting concerns, such as monitoring, logging, error handling, ..etc. AspectJ is an implementation of aspect-oriented programming for…

JSF 2 Hello World using Maven

JavaServer Faces (JSF) is a standard Java framework for building user interfaces for Java Web applications. It combines an MVC design approach with a standard component based UI development framework. In this tutorial, we will create our first JSF 2 application using…