What is the difference between Java projects having pom.xml and web.xml? Can projects have both these configurations at the same time?
What is the difference between Java projects having pom.xml and web.xml? Can projects have
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
They’re completely compatible. As a matter of fact, they perform completely unrelated tasks.
pom.xmlis the configuration file for Maven projects. One of its goals is to provide assistance in the compilation and building of a project when using Maven. You can think of it as an antbuild.xmlfile or amakefileMake file if you’re not familiar to Maven (actually, it can provide a lot more functionality)web.xmlis the Java EE web application deployment descriptor, where you specify for instance servlets, servlet mappings and other aspects of a webapp.