why is there no polymorphic-type response from a


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

Ans) The EJB Specification forbids 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 cause the create() and find() methods are not polymorphic is same to the reason constructors are not polymorphic in Java. The derived classes commonly do not know or cannot initialize the base class properly.

 

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: why is there no polymorphic-type response from a
Reference No:- TGS0221545

Expected delivery within 24 Hours