Home » Author Archives: Arpit Gautam

Author Archives: Arpit Gautam

Arpit Gautam
Arpit has graduated from Computer Science and Engineering Department from the Institute of Technology and Management Gurgaon. He is working in enterprise product development since a decade and worked on desktop, mobile and server side applications using java. During his studies, he participated in various coding contests and technical paper presentations. He is working as a lead Software Engineer in Workforce Management domain where he is mainly involved with projects based on Java application and C++ system programming. He is curious about writing agile code which can adapt as business changes. He likes to experiment with open source technologies and java tech stack in his spare time.

SLF4J markers example

In this example, we shall show you how to use Markers with SLF4J. SLF4J is a simple facade over various logging frameworks. It gives abstraction and therefore makes it easier to change logging implementations later on in a software project. It is a very stable library and is actively used by various open source software like Apache Camel, ActiveMQ, Solr ...

Read More »

Maven SLF4J integration example

In this example, we shall show you how to integrate Apache Maven with SLF4J. Apache Maven is a software project management and comprehension tool. It provides powerful features like superior dependency management including automatic updating and transitive dependencies. It follows the principle of convention over configuration, due to which one can start with a minimal configuration and sensible defaults will ...

Read More »

Maven Jetty Plugin Example

In this example, we shall show you how to integrate Apache Maven with Jetty. Apache Maven is a software project management and comprehension tool. It provides powerful features like superior dependency management including automatic updating and transitive dependencies. It follows the principle of convention over configuration, due to which one can start with a minimal configuration and sensible defaults will ...

Read More »

org.apache.commons.dbcp2.PoolingConnection Example

In this example, we shall show you how to use PoolingConnection of Apache commons dbcp2 library. DBCP is a part of Apache common components and intended for database connection pooling. PoolingConnection is a delegating connection that pools java.sql.PreparedStatement. The prepared statement will be either created or returned from the pool by PoolingConnection as shown in example below. Clients of this class needs ...

Read More »

org.apache.commons.dbcp.BasicDataSource Example

In this example, we shall show you how to use BasicDataSource of Apache commons dbcp library. DBCP is a part of apache common components and intended for database connection pooling. BasicDataSource is a basic implementation of javax.sql.DataSource Using BasicDataSource, one can easily connect to a Relational Database as we will show in following example. For this example, we will be using ...

Read More »

Properties File Java Example

In this example, we shall show you how to use property files in java. Java property files are an easy and effective way to organize key value pairs in plain text files. Property files support two formats Text file format – In this  format, different key, value pairs are separated by newline character XML format – This is standard XML format. ...

Read More »