SCJP 1.4 - 95% [ My Story ] - SCWCD 1.4 - 91% [ My Story ]
Performance is a compulsion, not a option, if my existence is to be justified.
SCJP 1.4 - 95% [ My Story ] - SCWCD 1.4 - 91% [ My Story ]
Performance is a compulsion, not a option, if my existence is to be justified.
Niranjan Deshpande wrote:
How would be the invocation if -
1. the invoked method is 'overloaded'
2. the invoced methos is 'overridden'.
SCJP 1.4 - 95% [ My Story ] - SCWCD 1.4 - 91% [ My Story ]
Performance is a compulsion, not a option, if my existence is to be justified.
...
<xsd:complexType name="around-invokeType">
<xsd:annotation>
<xsd:documentation>
The around-invoke type specifies a method on a
class to be called during the around invoke portion of an
ejb invocation. Note that each class may have only one
around invoke method and that the method may not be
overloaded.
...
Niranjan Deshpande wrote:
....
so we have two scenarios, assuming interceptor class2 extends interceptor class1 :
1. class 1 has @AroundInvoke method1, class 2 has @AroundInvoke method2- here method1 will be executed and then methd2. Correct?
Niranjan Deshpande wrote:
...
1. class 1 has @AroundInvoke method1, class 2 has @AroundInvoke method1- here method1 in class2 overrides the one in class1. What will happen here?
SCJP 1.4 - 95% [ My Story ] - SCWCD 1.4 - 91% [ My Story ]
Performance is a compulsion, not a option, if my existence is to be justified.
Consider Paul's rocket mass heater. |