public class ServerBean extends SessionBase
Constructor and Description |
---|
ServerBean() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
calculate(ICalculator calculator) |
java.lang.Object |
calculateWithoutTransaction(ICalculator calculator) |
void |
ejbCreate() |
IRemoteAction |
execute(IRemoteAction action) |
ejbActivate, ejbPassivate, ejbRemove, getSessionContext, setSessionContext
getCallerPrincipal, getConnection, getConnection, getContext, getPortableContext, getProperty, isCallerInRole, isTrue, setDefaultDataSource, setEJBContext
public void ejbCreate() throws javax.ejb.CreateException
javax.ejb.CreateException
public java.lang.Object calculate(ICalculator calculator) throws java.lang.Exception
java.lang.Exception
public java.lang.Object calculateWithoutTransaction(ICalculator calculator) throws java.lang.Exception
java.lang.Exception
public IRemoteAction execute(IRemoteAction action) throws java.lang.Exception
java.lang.Exception