• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EPractice Lab review exam 1 about @DeclareRoles

 
Himai Minh
Ranch Hand
Posts: 1359
7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

The @DeclareRoles annotation may only be defined in classes implementing the javax.servlet.Servlet interface or a subclass thereof.
a.true
b.false
Given answer : true


I think @DelcareRoles can be used with EJB and a class that is defined as a web service, not only servlet.
 
Frits Walraven
Creator of Enthuware JWS+ V6
Saloon Keeper
Pie
Posts: 2531
112
Android Chrome Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Correct.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic