With the new code restrictions in EJB 1.1, its it legal to use the
following methods in a bean?
Class.forName(String str); // dynamically load a class
System.getProperty(String str);// get a system property
Class.getMethods( );// use reflection to list public methods on a class
I'm not sure about the first two, but the Class.getMethods( ) does not
under go a security check in the java.lang.SecurityManager if its
executed on a class with a default package (no-package) name. This seems
to imply that its legal if the target class has no package.
--
Richard Monson-Haefel
EJB Expert for jGuru.com
( http://www.jguru.com )
Author of Enterprise JavaBeans
Published by O'Reilly & Associates
( http://www.ejbnow.com )
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".