Home » Archives for Simranjit Singh

Author Archives: Simranjit Singh

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.

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 »

Apache Camel Routing Tutorial

1.Introduction Data that are exchanged between companies have increased a lot. The number of applications, which must be integrated, is increasing too. The interfaces use different technologies, protocols and data formats. Nevertheless, the integration of these applications shall be modeled in a standardized way, realized efficiently and supported by automatic tests. Such a standard exists with the Enterprise Integration Patterns ...

Read More »

Apache Camel Splitter Example

1. Introduction In this article, we will see an example of Splitter using Apache Camel. We will see an example of how we can use Apache Camel‘s Splitter to split an order into its items and process each item individually. 2. What is Splitter? The Splitter from the EIP patterns allows you to split a message into a number of pieces ...

Read More »

Apache Camel AMQP Example

1. Introduction In this article, we will see an example of AMQP implementation of Apache ActiveMQ using Apache Camel. 2. What is AMQP? AMQP is an open standard application layer protocol for message-oriented middleware. The most important feature is that AMQP is a wire-level protocol and is interoperable by design. Also, the AMQP standard is by design more flexible and powerful (e.g., ...

Read More »

Apache Camel Aggregator Example

1. Introduction In this article, we will see an example of Aggregator using Apache Camel. We will create an order with two different types of items and shall see how these items are processed individually to get the price of each one and calculating the total price of all items of this order by using aggregation strategy. 2. What is Aggregator ? The ...

Read More »