Delaying Jquery Document Ready Execution
“JQUERY 1.9.1” provides ‘HOLD READY’ feature to get delay in Jquery Document ready function execution. This feature is typically helpful when a method has some dependencies like getting some ajax response before executing. The Syntax for the method is :- $.holdReady(boolean value ) : TRUE : Delays teh READY function […]
Tiny Scrollbar Java Integration
Jquery Tiny scroll bar plugin can be used to style the scroll bar of a web page. This plugin can be downloaded from:- http://baijs.nl/tinyscrollbar/ This plugin provides feature for Dynamic data handling. It provides update method for updating the height for scroll bar. In this Demo, “The Servlet send different […]
Measuring Performance Using Perf4j Library
“Perf4j.jar” is a java library for measuring performance of a java file. The Download link:- http://perf4j.codehaus.org/downloads.html In this Demo, “We are using LOG4J library to log in the console.Logger Info will print the numbers in the console. A timer is used to randomly select some Milli seconds to delay”. The […]
Couchdb : Adding Document Using Java Couchdb4j
Couchdb4j is a library for Couch Database for manipulating document in database. The jar file :- http://code.google.com/p/couchdb4j/downloads/list In this Demo ,“A new Student document is created with properties nad added to the student database”. Project structure:- The Java code CouchDBTest.java is , package com.sandeep.couchdb.util;import java.util.HashMap;import java.util.Map;import com.fourspaces.couchdb.Database;import com.fourspaces.couchdb.Document;import com.fourspaces.couchdb.Session;public class […]