Home » Archives for Simranjit Singh

Author Archives: Simranjit Singh

Simranjit Singh has graduated from Computer Science Department of the Guru Nanak Dev University of Amritsar, Punjab, India. He also holds a Master degree in Software Engineering from the Birla Institute of Technology & Science of Pilani, Rajasthan, India. He works as a Senior Consultant in the e-commerce sector where he is mainly involved with projects based on Java and Big Data technologies.

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 »

Introduction to Hibernate Framework

In this article, we will make an introduction to Hibernate Framework. Hibernate was started in 2001 by Gavin King as an alternative to using EJB2-style entity beans. Its mission back then was to simply offer better persistence capabilities than offered by EJB2 by simplifying the complexities and allowing for missing features. Hibernate used its mapping files and configuration files to ...

Read More »

Anonymous Class Java Example

In this article, we will see examples of the anonymous class in Java language, which is a very important aspect of Programming. 1. Introduction In java, it is possible to define a class within another class, such classes are known as nested classes. They enable you to logically group classes that are only used in one place, thus this increases the ...

Read More »

Binary Search Java Example

A popular searching algorithm in Java is the Binary Search algorithm. In this article, I will show you all about its implementation through examples. 1. Introduction Algorithms like Searching and Sorting are the most popular algorithms in any programming language. They are the basis to understand the fundamentals of programming. Binary Search in Java is a search algorithm that finds ...

Read More »

Java Composition Example

In this article, we will see examples of the composition in Java, which is a very important aspect of Programming. 1. Introduction Association is the relation between two separate classes that establish through their Objects. Association can be one-to-one, one-to-many, many-to-one, many-to-many. In Object-Oriented programming, an Object communicates to other Objects to use functionality and services provided by that object. Composition and Aggregation are the ...

Read More »

Java Long Class Example

In this article, we will see examples of the Long class in the java programming language. 1. Introduction The Long class is simply a wrapper class for the primitive type long. It wraps the long primitive value to an object. An object of type Long contains a single field whose type is long. So what would be the benefit if wraps around the primitive data ...

Read More »

Java Identifier Explained

In this article, we will see examples of the identifier in the java programming language, which is a very important aspect of Programming. 1. Introduction In C, C++, C#, Java, and other programming languages, an identifier is a name that is assigned by the user for a program element such as variable type, template, class, function, or namespace. It is usually limited to letters, digits, and ...

Read More »

Java Bean Example

In this example, we are going to demonstrate how to use and configure the Java Bean. 1. Introduction In computing based on the Java Platform, JavaBeans are classes that encapsulate many objects into a single object (the bean). They are serializable, have a zero-argument constructor, and allow access to properties using getter and setter methods. The name “Bean” was given ...

Read More »