I would like to get the filename of uploaded file to alfresco repository through my java code. Could anyone suggest me some solution how to get it ASAP.
If I am understanding correctly then you have uploaded a file in alfresco and now you want to get the file name of that file through its noderef. In that case, you can simply use nodeservice to get the name of the file. nodeService.getProperty(noderef, ContentModel.PROP_NAME) you can use it this way in your java code.