|
|
| WebLogic Server 7.0 Code Examples, BEA Systems, Inc. |
|
SUMMARY: INNER | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD |
examples.webservices.basic.statelessSession
Interface HelloWorld
- All Superinterfaces:
- javax.ejb.EJBObject, java.rmi.Remote
- public interface HelloWorld
- extends javax.ejb.EJBObject
The methods in this interface are the public face of HelloWorld.
The signatures of the methods are identical to those of the EJBean, except
that these methods throw a java.rmi.RemoteException.
- Author:
- Copyright (c) 2002 by BEA Systems. All Rights Reserved.
|
Method Summary |
java.lang.String |
sayHello(int num,
java.lang.String s)
Simply says hello from the EJB |
| Methods inherited from interface javax.ejb.EJBObject |
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove |
sayHello
public java.lang.String sayHello(int num,
java.lang.String s)
throws java.rmi.RemoteException
- Simply says hello from the EJB
- Parameters:
num - int number to returns - String string to return- Returns:
- String returnValue
- Throws:
java.rmi.RemoteException - if there is
a communications or systems failure
Copyright © 2002 BEA Systems, Inc. All Rights Reserved.