tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "siegfried" <>
Subject Why two interfaces for
Date Tue, 26 May 2009 07:48:32 GMT
I'm studying
(1) Why does CalculatorImpl need to implement two identical interfaces? Is
this necessary? Is this because we might want to expose additional
functionallity to other server side functions that are not available to
(2) In c++ one would have to implement function sum twice: one for
    each interface. Does the single implementation of function "add"
    satisfy both ancestor interfaces?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message