Polymorphic-type response -create or find method

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

E

Expert

Verified

The EJB Specification disallow this behaviour, and the weblogic.ejbc compiler checks for this behaviour and ban any polymorphic type response from a create() or find() method. Generally the derived classes do not know or cannot initialize the base class properly.

 

   Related Questions in Science

©TutorsGlobe All rights reserved 2022-2023.