BEA Weblogic Question: Download BEA Weblogic PDF

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

Tweet Share WhatsApp

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 PDF Read All 140 BEA Weblogic Questions
Previous QuestionNext Question
What is BEA Weblogic?Can I use a native two-tier driver for a browser applet?