Home » Archives for Mahboob Hussain

Author Archives: Mahboob Hussain

Mahboob Hussain graduated in Engineering from NIT Nagpur, India and has an MBA from Webster University, USA. He has executed roles in various aspects of software development and technical governance. He started with FORTRAN and has programmed in a variety of languages in his career, the mainstay of which has been Java. He is an associate editor in our team and has his personal homepage at http://bit.ly/mahboob

Python Classes and Objects

In this article, we will explain classes and objects in Python. Python supports code construction using the object-oriented paradigm. It is a procedural language that does not enforce that all code should be written using classes and objects. In that sense, it can be called an object-based language. In this article, we discuss the concepts of classes and objects in ...

Read More »

How to Use Python

This article gives an introduction to Python; starting with a brief history, it discusses the factors driving Python’s adoption growth. We discuss how to install and run programs. We then discuss and run a small example program that fetches stock prices from the web and processes them. 1. A brief history of Python Guido van Rossum created Python, an interpreted ...

Read More »

SQL Count Function

In this article, we will discuss the COUNT function in SQL, different ways of using it, and how to combine it with other keywords like GROUP BY and HAVING. 1. Introduction Many times, the information we want from a database table is not available in a single row but in a group of rows or in the result of a ...

Read More »

SQL Join Tutorial

In this article, we will discuss JOINs in SQL (Structured Query Language), various types of JOINs, and their syntax. We will also run SELECT queries using different types of JOINs on data in sample tables and view the result sets. You can also check this tutorial in the following video: SQL Join Tutorial – video 1. Introduction In real-world applications, ...

Read More »

Spring Integration Custom Transformer with RabbitMQ Example

RabbitMQ is an open source message broker which implements many protocols. It can be used for point to point, request/ reply or publish-subscribe messaging patterns and is cluster deployable for high availability and throughput. The key point to remember about RabbitMQ‘s messaging model is this: The producer sends messages to an exchange, which pushes them to queues. The two important ...

Read More »

MongoDB Elasticsearch Tutorial

1. Introduction NoSQL, as Techopedia explains, “is a class of database management systems (DBMS) that do not follow all of the rules of a relational DBMS and cannot use traditional SQL to query data. A NoSQL database does not necessarily follow the strict rules that govern transactions in relational databases. These violated rules are known by the acronym ACID (Atomicity, ...

Read More »

Hibernate with Gradle Example

1. Introduction Hibernate is an Object-Relational Mapping (ORM) framework which acts as the transformational layer between the object-oriented programming model of Java and the table-oriented model of relational databases. In the application code, programmers deal with classes and variables, inheritance, composition, aggregates, identity, and getters/setters. On the database side, there are tables and columns, primary keys, foreign keys, join tables, ...

Read More »

Spring Integration Http Gateway Example

1. Introduction In this post, we feature a comprehensive Example on Spring Integration Http Gateway. Messaging Gateway is an Enterprise Integration pattern that encapsulates the messaging code enabling the application to have only business logic code. In Spring Integration, the Messaging Gateway pattern is implemented in the gateway component, which is used to provide an entry / exit system between ...

Read More »

Spring Integration FTP Gateway Example

1. Introduction Spring Integration provides gateways and adapters as a means to connect to external endpoints. In his blog, Josh Long explained the difference between adapters and gateways as: An adapter receives messages from an external messaging system (JMS, e-mail, SFTP, whatever) and “adapts” it to the messaging system (as a Spring Integration Message). Once a message comes in, via ...

Read More »

Spring Integration Database Polling Example

1. Introduction Spring Integration provides JDBC channel adapters that connect a channel to a database. In the case of the inbound adapter, a database is the source on which an SQL query can be run and the complete result set is available as a message with a Java List payload. You can map the rows to a custom POJO which will ...

Read More »