Spring 3, REST using Jersey 2.6 and Grizzly integration example

In this tutorial I will show you how to integrate REST using Jersey 2.6, Spring 3 and Grizzly web server. So I will use here Grizzly web server so we don’t need to use any other external webserver. I had been googling for many times but I did not get Continue Reading…

Sort table data in ascending or descending order in Codeigniter

This tutorial shows how to sort table data either in ascending or descending order by clicking on the table column header in Codeigniter 2.1.x. There are no. of client side ajax based jquery or javascript table sorter plugins are available in the market. But here I will show you how Continue Reading…

Setup HMVC with Codeigniter 2.1.4

HMVC stands for Hierarchical Model View Controller. Modular Extensions make the Codeigniter PHP framework modular. Modules are groups of independent components, typically model, controller and view, arranged in an application modules sub-directory that can be dropped into other Codeigniter applications. This allows easy distribution of independent components (MVC) in a Continue Reading…

How to disable browser cache easily in Codeigniter

This tutorial shows how to prevent browser caching easily in Codeigniter. We face some kind of problems in real life when browser caches the data particularly when there are session data. Though we destroy session but still using back button users are able to view some data on browser. For Continue Reading…

Important properties in hibernate configuration file

There are mainly six important tags for hibernate configuration file. Hibernate configuration file naming convension is generally hibernate.cfg.xml and it is generally placed in the classpath. This can also be configured in the hibernate.properties file. If both hibernate.cfg.xml and hibernate.properties are found in the classpath then hibernate.cfg.xml overrides hibernate.properties file. Continue Reading…