samples.ejb
Class NiceThingsBeanEJB

java.lang.Object
samples.ejb.NiceThingsBeanEJB
- All Implemented Interfaces:
- javax.ejb.EnterpriseBean, java.io.Serializable, javax.ejb.SessionBean
- public class NiceThingsBeanEJB
- extends java.lang.Object
- implements javax.ejb.SessionBean
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NiceThingsBeanEJB
public NiceThingsBeanEJB()
ejbCreate
public void ejbCreate()
ejbActivate
public void ejbActivate()
- Specified by:
ejbActivate in interface javax.ejb.SessionBean
ejbPassivate
public void ejbPassivate()
- Specified by:
ejbPassivate in interface javax.ejb.SessionBean
ejbRemove
public void ejbRemove()
- Specified by:
ejbRemove in interface javax.ejb.SessionBean
setSessionContext
public void setSessionContext(javax.ejb.SessionContext sc)
- Specified by:
setSessionContext in interface javax.ejb.SessionBean
sayHello
public java.lang.String sayHello(java.lang.String name)
findNiceThingsFor
public NiceThings findNiceThingsFor(java.lang.String name)
updateNiceThingsFor
public boolean updateNiceThingsFor(java.lang.String name,
NiceThings niceThings)