Originally posted by Ram Dixit: Thanks Rene, But how could it possible. If someone has by mistake undeployed a web appl., Then we java programmers don't have any way to recover it, Quite strange,
I hope that a programmer don't program directly to a Application Servers webapp folder.
A developer/web-programmer have an IDE e.g. Eclipse, from where he/she build a web application (WAR, EAR, etc.), and when this 'package' is ready for deploy, it will be deployed to the Application Server of choice. If somthing went wrong in the deploy or the application doesn't work, you can fix it and then redeploy.
On a production machine, the manager web app should be disabled. On a developer machine, there shouldn't be anything that can't be recreated from version control.
As Ben said, if you're not using a version control system for source code, you're making a big mistake. Using any kind of backup (which is not optional if what you do has any value at all) also helps.
Joined: Feb 21, 2008
Thank you, Rene and Ulf Dittmer, I will show your posts to my team's PM and TL. May be,they will now take precaution and will use Version Control System. But the point is that I am not able to recover my lost files, means a lot of rework.
That's why I posetd this topic on the forum. It's really a setback for me.