Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Container provider or Deployer

 
sonali rao
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which one of the following is a responsibility of the EJB Container with regards to EJB security?
Given Answer:The EJB Container is required to provide a security domain and one or more principal realms to the enterprise bean's.
I think this is the responsibility of the Deployer. Am I Correct?
 
Reid M. Pinchback
Ranch Hand
Posts: 775
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No. The question is talking about providing a functional capability, not specifying how you'll use that capability. EJB spec requires that the server/container have at least one realm. The deployer decides how to use the realm(s) available.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!