• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can I use reflection ?

 
Eusebio Floriano
Ranch Hand
Posts: 237
  • 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,
 
Valentin Crettaz
Gold Digger
Sheriff
Posts: 7610
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please check out the following discussion:
http://www.coderanch.com/t/159637/java-EJB-SCBCD/certification/Some-Questions-Mock-Exam
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic