• Post Reply Bookmark Topic Watch Topic
  • New Topic

EPractice Lab review exam 1 about @DeclareRoles  RSS feed

 
Himai Minh
Ranch Hand
Posts: 1574
10
  • 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
Posts: 3015
236
Android Chrome Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Correct.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!