Q: File upload from standalone client Is is applicable to use Apache FileUpload lib to to upload files to Glassfish v2 server using standalone client? If yes, what are the differences for this purpose? 

A: I would use HttpClient. And with HttpClient 4.x, my understanding is that you'll have to use the HttpMime module for  Multi-part POST.  This previous answer provides a code sample.
