Multiple choice technology architecture

Which of the following archive files can be deployed in a Web Server?

  1. jar

  2. war

  3. jar, war

  4. jar, war, ear

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Web servers can deploy JAR files (as libraries or standalone apps) and WAR files (web applications). WAR files are specifically designed for web application deployment with web components. EAR files are for application servers, not basic web servers - they contain multiple modules (WARs, JARs) with deployment descriptors.