Home » Core Java » apache

apache

JavaScript vs Java: The Most Important Differences

In this article, we will take a look at the most important differences between Javascript vs Java programming languages. 1. Introduction JavaScript was developed by Netscape. It was initially a scripting language for the client-side and later used as a language for both client-side and server-side scripting. Java was developed by James Gosling form Sun Microsystems. JavaScript is used in ...

Read More »

Apache Ant HTTP Get Example

In this example, we will explain Apache Ant HTTP Get action. 1. Introduction Apache Ant is a Java library and command-line tool whose mission is to drive processes described in build files as targets and extension points dependent upon each other. The main known usage of Ant is the build of Java applications. Ant supplies a number of built-in tasks ...

Read More »

Apache Ant Delete Example

In this article, we will create an Apache Ant Delete Example. 1. Introduction Ant was the first build tool that was created for building Java applications. Ant is implemented in Java, and its build scripts are written in XML. The XML build scripts were easier to understand than the “make” files at that time, so Ant quickly became popular as a ...

Read More »

Apache Ant Command Line Arguments Example

1. Introduction In this example, we will explain Apache Ant Command Line Arguments. In software development, the term building usually means the conversion of source code and other artifacts, like images or configuration files, into another artifact. For example source code might be compiled into a JAR file, or you may create a new standalone application. The build result can be shared ...

Read More »

Apache Ant Java Debug Example

In this example, we will discuss about Apache Ant Java Debug Example. Before we start with this article, it is expected to have knowledge of Java, Apache Ant, and software build and deployment process so that we understand the usage of Apache Ant. For more information about Apache Ant installation and configuration with a basic Java example, please refer to Apache ...

Read More »

Apache Ant Java Task Example

In this example , we will be discussing about using Apache Ant with Java. Before we start with our example, it is expected that we have a basic understanding of how software development works with java.  It would also be good if we have an exposure to software build and deployment process to understand the usage and the working of ...

Read More »

Apache Ant Tutorial for Beginners

This tutorial explains why Apache Ant was created and its advantages over other build tools. It also covers the installation of Ant and what goes into an Ant project. 1. Apache Ant Tutorial – Introduction In this tutorial, a sample project is set up. The Ant build file, for the sample project, is explored along with a discussion of how ...

Read More »

Apache Lucene Hello World Example

 1. Introduction In this example, I would like to show you how to get started with Apache Lucene and write a simple Hello World program. Apache Lucene is an open source tool that provides full text searching and indexing features. Apache Lucene site has excellent details of the features and examples. However, the examples on the site are very detailed. Here, ...

Read More »

DBCP Connection Pooling Example

We will be writing a series of examples demonstrating how to configure Connection Pooling in your Java Application using different libraries like DBCP, C3P0, HikariCP etc. In this example, we shall demonstrate how to achieve connection pooling using the Apache DBCP library. 1. Why use Connection Pooling? To present dynamic data to the users, an application typically connects to a ...

Read More »

org.apache.commons.net.ftp.ftpclient Example

In this example we are going to elaborate the use of the FTPClient class in the package: org.apache.commons.net.ftp, as the package name says, it is a member of the Apache Commons, and deals with the FTP. As like other classes of the Apache Commons This class also provides us with some really helpful methods. The methods of this class as other classes ...

Read More »