What is the difference between Java projects having pom.xml and web.xml? Can projects have both these configurations at the same time?
The two files have nothing to do with each other.
The POM file really shouldn't be deployed with the application, its just for the build process.