I want to create a simple web application using servlet and jsp with the help of youtube tutorials in vscode. I need to install and apache tomcat for this purpose. So, I have downloaded tomcat extension in my vscode and connected it with its directory that has tomcat in it in my pc. Tomcat server is working fine on my browser and I am also able to login in manager app with my credentials.
But I am little confused here. I already have liveserver extension on my vscode than why I need to install tomcat? and Should I create my project using maven-archetype-webapp or maven-archetype-j2ee-simple or with any other type? Please help with these doubts. I love vscode ide so, please come with a solution in vscode only.