WebLogic Server 7.0 Code Examples, BEA Systems, Inc.

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
 

Method Detail

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 return
s - String string to return
Returns:
String returnValue
Throws:
java.rmi.RemoteException - if there is a communications or systems failure

Documentation is available at
http://e-docs.bea.com/wls/docs70

Copyright © 2002 BEA Systems, Inc. All Rights Reserved.