PrepAway - Latest Free Exam Questions & Answers

Which two methods can be used to create an initial set of servlets for the project?

A development team is starting a new web application project and building a set of servlets for the
first time. Which two methods can be used to create an initial set of servlets for the project?
(Choose two.)

PrepAway - Latest Free Exam Questions & Answers

A.
take an existing Java class and select the Refactor to servlet option and follow the wizard screens
to configure the project and servlet parameters

B.
create a new class that extends java.com.servlet in a Java project and add the project to the web
project as a Java utility project

C.
create a new class that extends java.com.servlet and add a “servlet” entry to the web application
deployment descriptor

D.
create a new class that extends java.com.servlet and add a “servlet” annotation


Leave a Reply