This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Five Lines of Code and have Christian Clausen on-line!
See this thread for details.
Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Can I use reflection ?

 
Ranch Hand
Posts: 241
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I�m a little confusied.
At spec pg.495 says that the enterprise beam MUST not attempt to use the Reflection API to access information that the security rules of the java programming language make unavailable.
At pg.498, table 19, it says that java.reflection.ReflectPermission is deny.

But the reason of EJBMetaData is not avaliable in local beans is that you can get the infos by reflection.

if the spec is saying that i just can�t use it for example, get private members that normally i couldn�t access, how is it in the exam ?
Is it some sort statement saying that you can or you can�t use it?

Regards,
 
Author & Gold Digger
Posts: 7617
6
IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please check out the following discussion:
https://coderanch.com/t/159637/java-EJB-SCBCD/certification/Some-Questions-Mock-Exam
    Bookmark Topic Watch Topic
  • New Topic