Invoke and Execute Hello World Ant Script Programmatically using Java Code

37,700 views
By Abhijit Ghosh on Aug 6, 2012 1:35:28 PM

Apache Ant is an XML-based build tool to automate different tasks like compile, assemble, test source code, building deployment packages and run Java applications. This Hello World example shows how to invoke and run a simple Ant script programmatically using java code.

Tags:

How to traverse a folder or directory recursively using Java File API

30,412 views
By Abhijit Ghosh on Jul 16, 2012 12:34:24 PM

This example shows how we can traverse a folder or directory structure using recursive algorithm by writing a small java program using Java File API.

Tags:

Hello World Example of Simple Logging Facade for Java or SLF4J

203,915 views
By Abhijit Ghosh on Jul 15, 2012 10:02:15 PM

Simple Logging Facade for Java (SLF4J) is an abstraction of different logging frameworks (eg. log4j, java.util.logging, commons logging etc.). This gives the developer an opportunity to plug-in desired logging framework at deployment time without changing the code.

Tags:

How to perform binary search on a java.util.ArrayList

24,451 views
By Abhijit Ghosh on Jul 14, 2012 11:22:17 PM

This example shows how an element of a java.util.ArrayList can be searched using 'binarySearch' method of java.util.Collections class. This method internally applies binary search algorithm to search a particular element.

Tags:

Java Hello World Example using Eclipse IDE

60,899 views
By Abhijit Ghosh on Jul 8, 2012 1:14:44 PM

This article describes how to create a "Hello World" java program using Eclipse IDE. This program will print "Hello World" in the console.

Tags:

About this 'Hello World' site

This site is mainly developed to share coding and technology learning experiences on java / j2ee based technologies.

Simple tutorials / codes have been shared to learn a new technology. Full source code is also available for download.