Posted on May 14, 2008 by sharat
1. Install CVSNT from http://www.march-hare.com/cvspro/#free and Select Complete Install and Install it on your Windows XP box.
2. Create CVS directories Create two directories on the target machine, c:\cvsrepos and c:\cvsrepos\cvstemp. If you have a separate disk partition to spare for CVS then use that instead. The important point here is that the [...]
Filed under: CVS | 1 Comment »
Posted on May 12, 2008 by sharat
1.GenericsAllows programmers to specify the types allowed for CollectionsAllows the compiler to enforce the type specifications//BeforeList stringList //In JDK 1.5List<String> stringList;2.Enhanced for loopA new language constuct for the Iterator pattern//Beforefor(Iterator i = line.iterator();i.hasNext(); ) { String word = (String)i.next(); …}//In JDK 1.5for(String word: line){ …}3.AutoboxingEssentially bridges between the “primitive” types (such as int, boolean) and [...]
Filed under: Interview Questions, JDK 1.5 features | Leave a Comment »
Posted on May 9, 2008 by sharat
What is Spring?
Spring is a lightweight inversion of control and aspect-oriented container framework.
Explain Spring?
Lightweight – spring is lightweight when it comes to size and transparency. The basic version of spring framework is around 1MB. And the processing overhead is also very negligible.
Inversion of control (IoC) – Loose coupling is achieved in spring [...]
Filed under: Interview Questions, Spring | 2 Comments »
Posted on May 7, 2008 by sharat
1. Getting Data
Create one sample file to load in and name it as sample.txt with below textI am a <em>remote</em> file.We used Dojo(Ajax) to put textin our page
<!DOCTYPE html PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN” “http://www.w3.org/TR/html4/loose.dtd”><html><head><meta http-equiv=”Content-Type” content=”text/html; charset=ISO-8859-1″><title>Getting data with Dojo</title><!– load the dojo toolkit base –><script type=”text/javascript” src=”dojo/dojo.js”djConfig=”parseOnLoad:true, isDebug:true”></script><script type=”text/javascript”>var init = function(){var contentNode [...]
Filed under: Dojo | Leave a Comment »
Posted on May 7, 2008 by sharat
<html><head><title>Dojo Toolkit Working Examples</title> <!– load the dojo toolkit base –><script type=”text/javascript” src=”dojo/dojo.js”djConfig=”parseOnLoad:true, isDebug:true”></script><script type=”text/javascript”>/* our JavaScript will go here */dojo.require(“dijit.form.Button”);dojo.require(“dijit.TitlePane”);dojo.require(“dojo.NodeList-fx”);//——Example – 1————-dojo.addOnLoad(function(){dojo.byId(“testHeading”).innerHTML = “We’re on our way!”console.log(“onLoad fires after require() is done”);dojo.query(“#testHeading”)// add “testClass” to its class=”” attribute.addClass(“testClass”)// and fade it out after 500 ms.fadeOut({ delay:2000 }).play();dojo.query(“.para”).addClass(“testClass”).fadeOut({ delay: 1000 }).play();var node = dojo.byId(“testHeading”);dojo.connect(node,”onclick”,function(){node.innerHTML = [...]
Filed under: Dojo | Leave a Comment »
Posted on May 7, 2008 by sharat
1. What is JavaScript? JavaScript is a platform-independent, event-driven, interpreted client-side scripting and programming language developed by Netscape Communications Corp. and Sun Microsystems. 2. How is JavaScript different from Java? Java is an entire programming language developed by Sun Microsystems, while JavaScript is a scripting language that was introduced by Netscape.3.What’s relationship between JavaScript and [...]
Filed under: Interview Questions, JavaScript | Leave a Comment »
Posted on May 7, 2008 by sharat
1. What is HTML? HTML, or HyperText Markup Language, is a Universal language which allows an individual using special code to create web pages to be viewed on the Internet. HTML Code is the code that tells the browser what to do.2. What is a tag? In HTML, a tag tells the browser what to [...]
Filed under: HTML, Interview Questions | 6 Comments »
Posted on May 7, 2008 by sharat
What is CSS?
What are Cascading Style Sheets?
How do I center block-elements with CSS1?
If background and color should always be set together, why do they exist as separate properties?
What is class?
What is grouping
What is external Style Sheet? How to link?
Is CSS case sensitive?
Three selectors: h1, .warning and #footer, what they do ?
What are Style [...]
Filed under: CSS, Interview Questions | Leave a Comment »