|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BasicCalculator
Remote interface for the BasicCalculator stateless session bean.
Method Summary | |
---|---|
double |
makeDifference(double operand1,
double operand2)
Perform the subtraction operation on the operands and return the result |
double |
makeProduct(double operand1,
double operand2)
Perform the multiplication operation on the operands and return the result |
double |
makeQuotient(double operand1,
double operand2)
Perform the division operation on the operands and return the result |
double |
makeSum(double operand1,
double operand2)
Perform the addition operation on the operands and return the result |
Methods inherited from interface javax.ejb.EJBObject |
---|
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove |
Method Detail |
---|
double makeSum(double operand1, double operand2) throws java.rmi.RemoteException
operand1
- A number to perform this mathematical operation onoperand2
- Another number to perform this mathematical operation on
java.rmi.RemoteException
- If there is a remote communication failuredouble makeDifference(double operand1, double operand2) throws java.rmi.RemoteException
operand1
- A number to perform this mathematical operation onoperand2
- Another number to perform this mathematical operation on
java.rmi.RemoteException
- If there is a remote communication failuredouble makeProduct(double operand1, double operand2) throws java.rmi.RemoteException
operand1
- A number to perform this mathematical operation onoperand2
- Another number to perform this mathematical operation on
java.rmi.RemoteException
- If there is a remote communication failuredouble makeQuotient(double operand1, double operand2) throws java.rmi.RemoteException
operand1
- A number to perform this mathematical operation onoperand2
- Another number to perform this mathematical operation on
java.rmi.RemoteException
- If there is a remote communication failure
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |