There no polymorphic-type response, Computer Engineering

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.

 

Posted Date: 4/2/2013 3:24:15 AM | Location : United States







Related Discussions:- There no polymorphic-type response, Assignment Help, Ask Question on There no polymorphic-type response, Get Answer, Expert's Help, There no polymorphic-type response Discussions

Write discussion on There no polymorphic-type response
Your posts are moderated
Related Questions
The following are just a few return types of a controller action process. In common an action process can return an instance of an any class that derives from Action Result class.

What is meant by bitwise operations? C has distinction of supporting special operators known as bit wise operators for manipulation of data at bit level. These operators are us

Q. How to copy several files in one stroke? The COPY command can also be used to copy several files in one stroke by using wildcards. For example, consider the following comman

The Storage Class register The Storage Class register : The storage class 'register' tells the compiler that the associated variable  should  be stored  in  high-speed  memor

Identifying Constraints between Objects In a system, there are few boundaries to work on. Boundaries or Constraints are functional dependencies among objects which are not con

The three main elements of LDB are:- Structure Selections and Database Program.

Define the term Grade of Service. Grade of Service: In loss systems, the traffic carried through the network is usually lower than the actual traffic offered to the network t

Now that the user's command has been parsed into an array of char*, we can pass this to the OS to execute the command. To execute the command, use the execvp() function from unis

Write a script that will read from a file x and y data points in the following format: x   0    y  1 x  1.3  y  2.2 x  2.2  y  6 x  3.4  y  7.4 The format of each line in the

Broad Band ISDN handles data rate of about (A) 64 kbps                                      (B) 100 mbps (C) 5.4 mbps                                    (D) 2.048 mbps