Though I don't get enough information from this forum for the question which I asked, I write the solution which I got after putting lots of effort.
1. Make a connection with the remote servlet using java.net.* API.
2. Open an InputStream and read the whole servlet like
while(inputStream.readLine()!=null){}
3. Point (2) makes that remote servlet to be run.
4. Maintaining same session:
In order to maintain same session, you need to send your request object to the remote servlet. Normally we do create RequestDispatcher object and forward the request object to our local servlet. I think this technique doesn't work for remote servlets. So, open a OutputStream and send your parameters like this(you can also send directly using URL)
outputStream.write("user=XYZ&password=PQWOSL123&....");
outputStream.close();
Now, in the remote servlet you can read the parameters passed through OutputStream like this.
String user=request.getParameter("user");
String password=request.getParameter("password");
........
Note: All the parameters are being read only in String. Convert these strings accordingly to get in other primitive types. For objects, I didn't try. If someone experiments on this and write to this forum, it will be grateful.
Hope I won't miss anything. Let me correct if I'm wrong somewhere.
Regards,
Narendranath