Find jobs | Company-wise jobs
Jobseekers | Employer login
About us Sitemap of www.CareerRide.com Sitemap FAQ related with www.CareerRide.com FAQ Click here to Contact us Contact
       
Submit Resume Free ! | Access Resume Free !
Home Interview Q&A Tutorials Oracle Sql server .NET Java Soft skills CV GD Work from home Online practice test FAQs in PDF Books Jobs FAQs
Interview questions                                 
Java interview questions
Java frequently asked questions
Test your Java skills!
Test your JDBC skills!
Test your EJB skills!
 
Java objects, classes & methods
Java operator  Java variables
Java overloading and overriding
Java abstract classes
Java data types  Java arrays
Java exception  Java events
Java virtual machine
Java input and output
Java URL connections
Java sockets  JNDI
Java applets  Java AWT
Java drawing AWT components
Core java  JDBC  JSP  EJB
J2EE  JNI  Servlets  Struts
Java threading  J2ME  JMS
Java web services  RMI
Internationalization  JavaScript
EJB Architecture  Spring
Java Transaction API – JTA  JBOSS
Java transaction services, JTS
Java GUI Framework interview
SWT/JFace interview
MVC and Jface  JavaServer Faces
Hibernate interview  JAAS
JavaMail interview  Tomcat
MIDP interview
Weblogic interview
Ant interview
Websphere interview
Ruby interview
jQuery interview
Aspect Oriented Programming, AOP
Java design patterns
Java localization
More links
JavaServer Faces 
OpenCms Application Overview 
EJB 3 Entities 
Oracle Web RowSet 
 

Ant

Ant interview questions

Explain the concepts and capabilities of ANT. 

Latest answer: Capabilities of ANT: ANT tool is extended by using java classes. The configuration files are XML-based. Each task of building directory tree is executed by using the object that implements the Task interface.............
Read answer

Explain how to start to use Ant and provide a "Hello World" ant script.

Latest answer: Before start using ant, we should be clear about the project name and the .java files and most importantly, the path where the .class files are to be placed...............
Read answer

Explain how to set classpath in ant.

Latest answer: The following is the code snippet to set the classpath in ant:

<path id=”build.classpath”>
       <fileset dir=”${build.lib}” includes=”**/*.jar/>
       <fileset dir=”${build.class”}/>
</path>.................
Read answer

How does ant read properties? How to set my property system?

Latest answer: Properties in ant are set in an order. Once a property is set, later the same property can not overwrite the previous one. This process provides a good leverage of presetting all properties in one location, and overwriting only the needed properties.................
Read answer

Explain how to modify properties in ant.

Latest answer: We can not modify the properties in ant. The properties in ant are immutable in nature.................
Read answer

Explain how to use Runtime in ant.

Latest answer: There is no need to use Runtime in ant. Because ant has Runtime counterpart by name ExecTask. ExecTask is in the package org.apache.tools.ant.taskdefs..............
Read answer

How can I use ant to run a Java application?

Latest answer: The following is an example to run a java application in using ant:

<target name=”run” depends=”some.target”,some.other.target”>
<java classname=”${run.class}” fork=”yes”>
<classpath>.....................
Read answer

Explain how to debug my ant script.

Latest answer: Ant script can be debugged in the following ways: By echoing at the place to debug. The problem is easily known. This is similar to printf () function in C and System.out.println() in Java............
Read answer

How can I write my own ant task?

Latest answer: Define the user defined custom script and use taskdef to define in the custom script..............
Read answer

Explain how to use ant-contrib tasks.

Latest answer: 1. Copy the ant-contrib.jar to the directory ant*/lib. Copy ant-contrib.jar to your ant*/lib directory.
2. Append the following code snippet to avail all the ant-contrib tasks...............
Read answer

Explain how to make ant user interactive.  

Latest answer: The org.apache.tools.ant.input.InputHandler interface is used to implement the user input. To perform the user input, the application creates InputRequest object and this object will be passed to InputHandler..................
Read answer

Also read

Structuring content in Plone
Java methods are virtual by default. Comment.

Java methods are virtual by default. The virtual methods are the methods of subclasses.................

Concrete class vs. Abstract class vs. Interface.

A concrete class has concrete methods, i.e., with code and other functionality. This class a may extend an abstract class or implements an interface..................

How can we handle SQL exception in Java?

SQL Exception is associated with a failure of a SQL statement. This exception can be handled like an ordinary exception in a catch block..................

What is a task's priority and how is it used in scheduling?

A task’s priority is an integer value. This value is used to identify the relative order of execution with respect to other tasks..................

What is the purpose of the enableEvents() method?

An event-listener interface allows describing the methods which must be implemented by one of the event handler for a specific event..................

 

 
Want to be hunted by potential employers? Just submit your key skills!

Popular FAQs

.NET .Net Architecture ADO.NET Java Oracle C#.NET
VB.NET DOT.NET AJAX ASP.NET NET Framework OOPS in .NET
C++ Sql Server Data warehousing EJB MySQL Linux
PHP UML Networking Testing XML  
 
Copyright © 2008 - 2010 CareerRide.com. All rights reserved.