|
WebLogic Server 7.0 Code Examples, BEA Systems, Inc. | |||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
java.lang.Object | +--examples.webservices.basic.statelessSession.HelloWorldBean
HelloWorldBean is a stateless session EJB. It has a single method, sayHello(), that takes an integer and a String and returns a String.
The sayHello() method is the public operation of the Web service based on this EJB.
| Constructor Summary | |
HelloWorldBean()
|
|
| Method Summary | |
void |
ejbActivate()
This method is required by the EJB Specification, but is not used by this example. |
void |
ejbCreate()
This method is required by the EJB Specification, but is not used by this example. |
void |
ejbPassivate()
This method is required by the EJB Specification, but is not used by this example. |
void |
ejbRemove()
This method is required by the EJB Specification, but is not used by this example. |
java.lang.String |
sayHello(int num,
java.lang.String s)
|
void |
setSessionContext(javax.ejb.SessionContext ctx)
Sets the session context. |
| Methods inherited from class java.lang.Object |
|
| Constructor Detail |
public HelloWorldBean()
| Method Detail |
public void ejbActivate()
ejbActivate in interface javax.ejb.SessionBean
public void ejbCreate()
throws javax.ejb.CreateException
public void ejbPassivate()
ejbPassivate in interface javax.ejb.SessionBeanpublic void ejbRemove()
ejbRemove in interface javax.ejb.SessionBean
public java.lang.String sayHello(int num,
java.lang.String s)
public void setSessionContext(javax.ejb.SessionContext ctx)
setSessionContext in interface javax.ejb.SessionBeanctx - SessionContext Context for session
|
Documentation is available at http://e-docs.bea.com/wls/docs70 |
|||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||