I made an application in extjs, and it was rejected by my technical architect, project manager, and team leader because it was a big JavaScript file. It feels very bad when you develop an application and it is rejected by your seniors.I don't want to feel bad and I want to concentrate on my work. I would like to restructure the code, as the coding structure in my company is very bad and I want to improve that.I want to work better and grow - how should I proceed?
How should you proceed when somebody rejected a good thing you made?
teamwork
You should never have reached the point where you consider yourself finished, before your seniors see it.  The rejection should have happened at design-time.Then comes the question if it can be refactored into something acceptable or not.  If the first, then just do it.  If the latter, you need to discuss with your boss how this situation can be avoided in the future.