Second Level OSCache example in Hibernate

This tutorial will sow how we can configure second level cache using OSCache in Hibernate step by step. We know that there are three types of caching mechanism in Hibernate such as First Level – Session, Second Level – SessionFactory and Query Level – SessionFactory. For more information on First Level, Second Level and Query Level please go through Hibernate…

Drag and Drop Example With jQuery

Drag and Drop This tutorial shows an example on how to drag-and-drop the item to the specific location. Drag-and-Drop can be very useful to interact with the web application. You may often use drag-and-drop features in many areas like     Moving email from inbox to different folders     Ordering of the list items in a web page     Moving objects…

Email address validation example in PHP

Introduction This example will show you how to validate email address using PHP programs. The email validation is an important part of the web application when you deal with email address otherwise invalid or bad email address may be stored in your server system. Email address is an important part of the application because for many situations you need to…

Second level EHCache example in Hibernate 5

Introduction This tutorial will show second level ehcache example in Hibernate 5. EH stands for Easy Hibernate. We know that there are three types of caching mechanism such as First Level – session, Second Level – SessionFactory and Query Level – SessionFactory. Caching mechanism improves the performance of application because the data are loaded from cache instead of hitting the…

Consume jax-ws webservice using wsdl in Mule Project

This tutorial shows how we can consume service when we are given a wsdl file. We have seen how to create webservice and consume webservice in Mule Project but earlier we have not consume webservice from wsdl file rather we had created new mule flow for consuming webservice. Please go through the tutorial create jax-ws webservice before reading below.

Dependent Dropdown Example in PHP, MySQL

Introduction This tutorial shows how to create dependent dropdown in PHP and MYSQL. This is also called cascaded dropdown. This tutorial uses JavaScript to submit the form automatically when the first dropdown value is selected. Sometimes you may need to create such a cascaded dropdown when you need to select some value in the second dropdown based on first dropdown…

Consuming jax-ws webservice in Mule Project

This tutorial shows how to consume jax-ws webservice in Mule ESB step by step. You need to have some idea on SOAP based webservices otherwise it will be a bit difficult to understand. From jdk 6 onwards we don’t need to put any extra jar for jax-ws based webservices as it comes out of the box. You can also implement…

Creating jax-ws webservice in Mule Project

This tutorial shows how to create jax-ws webservice in Mule ESB step by step. You need to have some idea on SOAP based webservice otherwise it will be a bit difficult to understand. From jdk 6 onwards we don’t need to put any extra jar for jax-ws based webservices as it comes out of the box. You can also implement…

Custom annotation example in Java

Introduction This tutorial shows, what is an annotation and how to write a custom annotation. I have taken the below concepts from Oracle documentation from the link http://docs.oracle.com/javase/tutorial/java/annotations/basics.html. Annotations, a form of metadata, provide data about a program that is not part of the program itself. Annotations have no direct effect on the operation of the code they annotate. Annotation…

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 any satisfactory example on REST using Jersey 2.6 with Spring…