Interview Questions

Is is possible for an EJB client to marshal an object of class java.lang.Class to an EJB?

EJB Interview Questions and Answers


(Continued from previous question...)

24. Is is possible for an EJB client to marshal an object of class java.lang.Class to an EJB?

Technically yes, spec. compliant NO! - The enterprise bean must not attempt to query a class to obtain information about the declared members that are not otherwise accessible to the enterprise bean because of the security rules of the Java language.

(Continued on next question...)

Other Interview Questions