Image Image Image Image Image Image Image Image Image Image

Mudassir Shahzad | November 16, 2018

Scroll to top

Top

Mudassir Shahzad

How To Send HTTP Request GET/POST In Java Using Apache Client

December 25, 2013 |

Apache provides an HttpClient library using which we can send get and post requests to a server. Another method for http requests is provided by the Standard HttpUrlConnection API provided java but in this article we will use the Apache HttpClient library for GET and POST requests.

Read More

SOAP Vs RESTFul for Mobile Services – Which one to use ?

November 7, 2013 | | 2 Comments

Overview

Many enterprises are creating mobile applications for their internal staff, for their customers, or both.  These applications need access to data, business rules, and business processes.  For architectural and security reasons these applications are typically built to access remotes services that provide the data and functionality that are required by the users. Read More

Why main method is static in Java

June 21, 2013 |

This is one of the basic question asked in interviews or in gatherings of professionals.

So here we go,

Main method is static in java because

 

This is just a convention. In fact, even the name main(), and the arguments passed in are purely convention. Read More

How To Send HTTP Request GET/POST In Java

June 18, 2013 | | 3 Comments

A brief Introduction

 

Client server architecture requires two parts as main resources:

  1. Client and
  2. Server Read More

Deadlocks in Java – How to avoid

April 18, 2013 | | 16 Comments

Deadlocks in Java is one of the tough categories in which interview questions are asked about multithreading, asked more at a senior level and with lots of follow up questions, though question looks very basic but most of developer get stuck once you start going deep.

The question might start with “What is deadlock ?” Read More

Why use NHibernate ? Advantages of NHibernate

April 12, 2013 |

An Object relational mapping (ORM), as shown from the name, is used to map the objects to a relational database. Now, to clarify, by relational database we mean a database with relations(tables) and mapping an object means doing the necessary configuration so that we can automatically save the object as a whole(in the db). Read More

Pass-by-Value Please (Cup Size continued)

April 5, 2013 | | One Comment

Reblogged

If you haven’t read the Cup Size story, this one won’t make sense. Or it will make sense, but you’ll think its really stupid. Or you won’t think it’s stupid but you’ll find yourself… never mind, just go read it now and then come back. Read More

Two service methods in HttpServlet class

February 15, 2013 | | 2 Comments

Whenever we write a servlet, we inherit our class from HttpServlet which contains two service methods. Let’s have a look at the difference between both.

This article assumes that you have a basic knowledge of method overriding and overloading.

Read More

Cup Size – A story about variables

February 5, 2013 | | 4 Comments

 

The Coffee Corral coffeehouse at the Ranch is famous around these parts for its unique cup collection. If you really need to understand the way values and objects are used in Java, you gotta start here. Read More

Abstract Classes Vs Interfaces – When to use which

February 2, 2013 | | 3 Comments

This is one of the mostly asked question in job interviews or other professional gatherings.

Most of the candidates are able to tell the difference but they get stuck in the second part, WHEN TO USE WHICH ? Read More

Object moved

Object moved to here.