Hi Aninash,
First recompile the code and rebuild the project. in eclipse. The steps to follow to upload the jar/zip file is explained in this wiki page. This I wrote long ago, but can be helpful to you
Beginners guide to Java mapping using DOM parser in SAP XI - Process Integration - SCN Wiki
Regards
Anupam