• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Type-level annotation can all be overriden by the deployment descriptor?

 
Bartender
Posts: 2442
13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In ePractice Lab, mock exam 1,


Which two are true about specifying Java EE environment annotation metadata for session bean classes?
....
Choice E: type-level, method-level and field level annotations can all be overridden by the deployment descriptor.




EPractice Lab suggest this is the correct choice.
But @TransactionManagment, @ConcurrencyManagment are type-level annotation, but they cannot be overridden.
Also, according to Enthuware, we cannot override a session bean type by a dd. If we specify @Stateless for a bean, we cannot put <session-type>Singleton</session-type> to override the type of bean.

Any comments from EPractice Lab?
 
MyExamCloud Software Support
Posts: 755
3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can find answer from this thread.
 
I am going to test your electrical conductivity with this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic