Hi Pavan,
web script is the easiest way through which you can upload a document to alfresco from external application. I did the same in my previous project. You will need to create a POST web script which will accept file as form-field parameter. Also you can send metadata(custom properties related to file) in request. In web script implementation class, you will need to get file object from request with as form-field data, get its <java>InputStream</java>, create a node, write the file <java>InputStream</java> to this node with the help of <java>ContentWriter</java> which you will get from <java>ContentService</java>. As you are adding something into alfresco, you will need to provide authentication. This can be done by attaching ticket with request.