BEA Weblogic Question:
Download Questions PDF

Why is there no polymorphic-type response from a create() or find() method?

Answer:

The EJB Specification prohibits this behavior, and the weblogic.ejbc compiler checks for this behavior and prohibits any polymorphic type of response from a create() or find() method.
The reason the create() and find() methods are not polymorphic is similar to the reason constructors are not polymorphic in Java. The derived classes generally do not know or cannot initialize the base class properly.

Download BEA Weblogic Interview Questions And Answers PDF

Previous QuestionNext Question
What is BEA Weblogic?Can I use a native two-tier driver for a browser applet?