|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.superbiz.calculator.CalculatorImpl
public class CalculatorImpl
This is an EJB 3 style pojo stateless session bean Every stateless session bean implementation must be annotated using the annotation @Stateless This EJB has 2 business interfaces: CalculatorRemote, a remote business interface, and CalculatorLocal, a local business interface
Constructor Summary | |
---|---|
CalculatorImpl()
|
Method Summary | |
---|---|
int |
multiply(int mul1,
int mul2)
|
int |
sum(int add1,
int add2)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CalculatorImpl()
Method Detail |
---|
public int sum(int add1, int add2)
sum
in interface CalculatorLocal
sum
in interface CalculatorRemote
public int multiply(int mul1, int mul2)
multiply
in interface CalculatorLocal
multiply
in interface CalculatorRemote
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |