AJAX Event Calendar for Java and jQuery
This tutorial shows how to create an AJAX event calendar in a Java web application. It supports drag and drop operations (event creating, moving, resizing).
It uses the open-source DayPilot Lite for Java widget:
The sample J2EE application (available as a .war file and as source) is tested with Tomcat 6 and Tomcat 7 and requires JRE 1.5 or higher.
Features:
The client-side (JavaScript) configuration uses the jQuery plugin and fits in 9 lines:
$(document).ready(function() { var dpc = $("#dpc").daypilotCalendar({ backendUrl : '${pageContext.request.contextPath}/dpc', viewType : "Week", eventMoveHandling : "CallBack", eventResizeHandling: "CallBack", timeRangeSelectedHandling : "CallBack" }); });