I just took the jguru EJB quizz on SUN website and I wonder if anyone else has problems with a couple of the answers they provide.
7. What interface must the enterprise bean implement so that an application can invoke its operations? A is incorrect Answer (C): javax.ejb.EJBObject Hmmm, I thought the only interfaces IMPLEMENTED by the enterprise beans were javax.ejb.EnterpriseBean type interfaces. I thought EJBObject was SPECIFIED by the enterprise bean and implemented in an EJB container specific glue class. I think I answered javax.ejb.SessionBean since it is implemented by the bean and without it, the container cannot forward calls to the bean i.e. applications cannot invoke its operations. 10. What is a deployment descriptor? C is incorrect Answer (A): An XML file format used by the container to learn about the attributes of a bean, such as transactional characteristics and access control Hmm, I chose A that said "An XML file used by the container to learn about the attributes of a bean, such as transactional characteristics and access control" As far as I know deployment descriptors exists as actual XML files, whose structure is specified by the DTD in the EJB specification. I would ahe thought that the DTD, if anything, would be the format. I think this answer is plain wrong. And, when I tried to submit my seedback to the Sun website, I got this error: Server Error This server has encountered an internal error which prevents it from fulfilling your request. The most likely cause is a misconfiguration. Please ask the administrator to look for messages in the server's error log. generated from http://java.sun.com/servlet/jdc.survey.TabulationServlet I think that pretty much speaks for itself. -- ==================================================== Rod Davison Critical Knowledge Systems Inc. Email: [EMAIL PROTECTED] ==================================================== =========================================================================== 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".
