According to ReJ: > > Hi, > > please explain what is the purpose of the EJBMetadata class. It is written, > that that class is used to allows a client to obtain the enterprise Bean's > meta-data information. Yes. >Can i retrieve information about methods and properties > of EJB class at run-time? and how? > > Currently i'm trying to use these methods, but result is null. > > EJBMetada.getHomeInterfaceClass > EJBMetada.getRemoteInterfaceClass > String str = EJBMetada.getHomeInterfaceClass.getName(); System.out.println(Home Interface Name: " + str); This should work. It prints the name of the Home Interface class. See the docs on java.lang.reflect. There are a number of classes and methods to retrieve information on classes, methods, method parameters... Matthias David, University of Karlsruhe. =========================================================================== 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".
