Posts

Showing posts from 2011

IP Address Fetching for the Client Machine

Image
We had a legal requirement to fetch the IP address of the client machine sending the SMS from the website. There are multiple approaches and I was using the following methods to fetch the IP. We have public IP exposed to internet which is fetched by getip.com. The goal was to fetch this and also router IP. We had some challenges to get this information. I have written a simple JSP to test the IP address fetch from the server. There are some checks we need to ensure for this to work. If you have a Load Balancer than it should have the rules set to passthrough the client IP if not you would only get LB IP Address instead. Code Snippet - IPAddress.jsp ************************************* <br /><%@ page import="java.net.InetAddress" %><br /><HTML><br /><HEAD><br /><Title Fetch The Client IP><br /></HEAD><br /><BODY><br /><form method="post" action="" name="myform">&

Interview Questions - How To Be Prepared

Image
  When you have to compete in an economy that is tough and with more skilled people than jobs you need more than just technical skills to get through an interview. That means you need to be prepared for every curved ball that the interviewer is going to throw at you as well as create an experience unique that he/she remembers.  First think of some personal stories that help the job. Stories are vitally important they are memorable. Good stories fit many molds, which means you can use your stories even if the interviewer asks a question that you aren't prepared to answer. Good stories help because there are often many lessons hidden within one story. The pieces that stick with the interviewer will make an impact on them even if we didn't plan it that way. Take some time to think through the past and develop some solid stories that shed light on your abilities, accomplishments, and values. With that in mind, here are seven difficult interview questions and a few tips on how to