Girish Gaurav Agarwal

Author's posts

Configuring multiple Tomcat application servers with Apache HTTP server/ Load Balancing with Apache Web Server

In this article, I am going to explain how we can configure multiple Tomcat instances with single Apache Web Server. There are many solutions posted on the web, but it is the simplest and easiest way to do this. Prerequisite: Apache HTTP Server 2.x Tomcat 6.x module for Apache Web server Any text editor, …

Continue reading

Accessing Private Members of a Java class using Reflection

Somebody asked me that, “Is there any way of accessing private members of a Java Class?” Then I got the idea to write this article, because Java Reflection API provides a feature for accessing private members of a Java Class. java.lang.reflect package provides the AccessibleObject class that is parent class of Constructor, Method, and Field …

Continue reading

Introduction to Nonblocking Sockets

Here, I am going to explain what non-blocking sockets are, how it works, and where it can be useful, everything in details. Preface: Non-blocking sockets are introduced in Java 2 Standard Edition 1.4. It allows network communication between applications without blocking processes using the sockets. A nonblocking socket allows input/output operation on a channel without …

Continue reading

Load more

%d bloggers like this: